net/mlx5e: Enforce min inline mode when offloading flows
authorRoi Dayan <roid@mellanox.com>
Tue, 22 Nov 2016 21:10:00 +0000 (23:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 21:01:14 +0000 (16:01 -0500)
commitde0af0bf64fc11fab253f63424bd3aba12e5f614
tree38a16bc5ebb219b31233c2f61cb9109590a8210f
parentbffaa916588ebb065cfa0287195d9ad35612eecf
net/mlx5e: Enforce min inline mode when offloading flows

A flow should be offloaded only if the matches are
allowed according to min inline mode.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c