]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7677ce6eb75088149309d0fa4b5cf04e52bf04f
tree38c88038ca1fac70bc1be6274ce30075c6d0dc65
parent6edeb192c3ee4753b7dc9a9629202ecd5d8b88cd
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