summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2_cfp.c
diff options
context:
space:
mode:
authorOr Gerlitz2017-05-10 12:59:54 +0200
committerSaeed Mahameed2017-05-23 15:23:31 +0200
commit26c02749936f064abf771a0f5f49b280fcfd8b66 (patch)
treeb0a59eef832471044846a30f9a6d00f7c42ca668 /drivers/net/dsa/bcm_sf2_cfp.c
parentnet/sched: act_csum: Add accessors for offloading drivers (diff)
downloadkernel-qcow2-linux-26c02749936f064abf771a0f5f49b280fcfd8b66.tar.gz
kernel-qcow2-linux-26c02749936f064abf771a0f5f49b280fcfd8b66.tar.xz
kernel-qcow2-linux-26c02749936f064abf771a0f5f49b280fcfd8b66.zip
net/mlx5e: Allow TC csum offload if applied together with pedit action
When offloading header re-writes, the HW re-calculates the relevant L3/L4 checksums. Hence, when upper layers (as done by OVS) ask for TC checksum action offload together with pedit offload, don't err. This command now works: tc filter add dev ens1f0 protocol ip parent ffff: prio 20 flower skip_sw ip_proto tcp dst_port 9001 action pedit ex munge tcp dport set 0x1234 pipe action csum tcp Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reported-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2_cfp.c')
0 files changed, 0 insertions, 0 deletions