diff options
author | 2023-10-02 16:44:42 +0100 | |
---|---|---|
committer | 2023-10-06 11:05:44 +0100 | |
commit | 937a0feab42ea76ae2dc6a8b1921ca167b8f9baa (patch) | |
tree | a579c25f32603a7ad43ab54f91a9d806b3590950 /drivers/char/ipmi | |
parent | sfc: support TC left-hand-side rules on foreign netdevs (diff) | |
download | linux-937a0feab42ea76ae2dc6a8b1921ca167b8f9baa.tar.gz linux-937a0feab42ea76ae2dc6a8b1921ca167b8f9baa.tar.bz2 linux-937a0feab42ea76ae2dc6a8b1921ca167b8f9baa.zip |
sfc: offload foreign RHS rules without an encap match
Normally, if a TC filter on a tunnel netdev does not match on any
encap fields, we decline to offload it, as it cannot meet our
requirement for a <sip,dip,dport> tuple for the encap match.
However, if the rule has a nonzero chain_index, then for a packet to
reach the rule, it must already have matched a LHS rule which will
have included an encap match and determined the tunnel type, so in
that case we can offload the right-hand-side rule.
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/ipmi')
0 files changed, 0 insertions, 0 deletions