]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Err if asked to offload TC match on frag being first
authorRoi Dayan <roid@mellanox.com>
Thu, 22 Mar 2018 16:51:37 +0000 (18:51 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 10 May 2018 23:10:13 +0000 (16:10 -0700)
commitf85900c3e13fdb61f040c9feecbcda601e0cdcfb
tree1dc2d66337a3e826ae94baa552573eb39612af5d
parent88d725bbb43cd63a40c8ef70dd373f1d38ead2e3
net/mlx5e: Err if asked to offload TC match on frag being first

The HW doesn't support matching on frag first/later, return error if we are
asked to offload that.

Fixes: 3f7d0eb42d59 ("net/mlx5e: Offload TC matching on packets being IP fragments")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c