net/mlx5e: Get the required HW match level while parsing TC flow matches
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 5 Apr 2018 12:42:06 +0000 (15:42 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 14 May 2018 22:10:21 +0000 (15:10 -0700)
commitd708f902989b844907c5f7720abe67812a256c33
tree38c88038ca1fac70bc1be6274ce30075c6d0dc65
parent547829004c98941f73d010c87c2111e29a6c03ae
net/mlx5e: Get the required HW match level while parsing TC flow matches

Introduce levels of matching on headers of offloaded flows
(none, L2, L3, L4) that follow the inline mode levels.

This is pre-step for us to offload flows without any
matches on headers.

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