summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2017-06-11 21:13:25 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-09-28 07:23:09 +0300
commitbdd66ac0aeed971d1cb42b3aa0d11b0ea3842e09 (patch)
tree67b68ab87f47c28e659d4ae9bba34c48a6d4d4d5 /net
parentace743214ea205c7d433562c5fa24e33bdfda7ab (diff)
net/mlx5e: Disallow TC offloading of unsupported match/action combinations
When offloading header re-write, the HW may need to adjust checksums along the packet. For IP traffic, and a case where we are asked to modify fields in the IP header, current HW supports that only for TCP and UDP. Enforce it, in this case fail the offloading attempt for non TCP/UDP packets. Fixes: d7e75a325cb2 ('net/mlx5e: Add offloading of E-Switch TC pedit (header re-write) actions') Fixes: 2f4fe4cab073 ('net/mlx5e: Add offloading of NIC TC pedit (header re-write) actions') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions