diff options
| author | Naveen Mamindlapalli <naveenm@marvell.com> | 2021-03-18 13:02:12 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-18 21:37:22 +0300 |
| commit | 2b9cef6679020938666a81f3b6e743cdfcb8b32d (patch) | |
| tree | d473e0d9479437bf8c77be41dd1f2015696b6fd6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | a04be4b6b539cfce52181f6f8f15a823d99f520c (diff) | |
| download | linux-2b9cef6679020938666a81f3b6e743cdfcb8b32d.tar.xz | |
octeontx2-pf: Add ip tos and ip proto icmp/icmpv6 flow offload support
Add support for programming the HW MCAM match key with IP tos, IP(v6)
proto icmp/icmpv6, allowing flow offload rules to be installed using
those fields. The NPC HW extracts layer type, which will be used as a
matching criteria for different IP protocols.
The ethtool n-tuple filter logic has been updated to parse the IP tos
and l4proto for HW offloading. l4proto tcp/udp/sctp/ah/esp/icmp are
supported. See example usage below.
Ex: Redirect l4proto icmp to vf 0 queue 0
ethtool -U eth0 flow-type ip4 l4proto 1 action vf 0 queue 0
Ex: Redirect flow with ip tos 8 to vf 0 queue 0
ethtool -U eth0 flow-type ip4 tos 8 vf 0 queue 0
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
