]> git.baikalelectronics.ru Git - kernel.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)
commit9a0f32c7b2e889a145c3e1fd395b29dd0de3c5f3
tree1dc2d66337a3e826ae94baa552573eb39612af5d
parent84e32e51e923bb9d38b0d9c3728e543d06be7944
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: 23a203f85241 ("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