aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.c
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2025-02-06 23:53:34 +0000
committerJakub Kicinski <[email protected]>2025-02-10 16:26:51 +0000
commit5797d3c62db81fd03ba7aeb36a83b44fb0ac2ecc (patch)
tree20c4253da7d6fb739bcdc8af624538c218293ce5 /drivers/net/ethernet/intel/ice/ice_common.c
parentselftests: drv-net: rss_ctx: skip tests which need multiple contexts cleanly (diff)
downloadkernel-5797d3c62db81fd03ba7aeb36a83b44fb0ac2ecc.tar.gz
kernel-5797d3c62db81fd03ba7aeb36a83b44fb0ac2ecc.zip
eth: fbnic: support listing tcam content via debugfs
The device has a handful of relatively small TCAM tables, support dumping the driver state via debugfs. # ethtool -N eth0 flow-type tcp6 \ dst-ip 1111::2222 dst-port $((0x1122)) \ src-ip 3333::4444 src-port $((0x3344)) \ action 2 Added rule with ID 47 # cd $dbgfs # cat ip_src Idx S TCAM Bitmap V Addr/Mask ------------------------------------ 00 1 00020000,00000000 6 33330000000000000000000000004444 00000000000000000000000000000000 ... # cat ip_dst Idx S TCAM Bitmap V Addr/Mask ------------------------------------ 00 1 00020000,00000000 6 11110000000000000000000000002222 00000000000000000000000000000000 ... # cat act_tcam Idx S Value/Mask RSS Dest ------------------------------------------------------------------------ ... 49 1 0000 0000 0000 0000 0000 0000 1122 3344 0000 9c00 0088 000f 00000212 ffff ffff ffff ffff ffff ffff 0000 0000 ffff 23ff ff00 ... The ipo_* tables are for outer IP addresses. The tce_* table is for directing/stealing traffic to NC-SI. Signed-off-by: Alexander Duyck <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
0 files changed, 0 insertions, 0 deletions