]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Add support for offloading rules with no in_port
authorPaul Blakey <paulb@mellanox.com>
Thu, 12 Mar 2020 10:23:11 +0000 (12:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 22:00:39 +0000 (15:00 -0700)
commitc41ef6f5d9a33dc191dadc29b7a9cb476f3a563b
tree2b8de4e8c579d59503985af6682d8988aa6521ae
parentabe981a7f9dda6abf822cfda9aa1f6b1eb64a822
net/mlx5: E-Switch, Add support for offloading rules with no in_port

FTEs in global tables may match on packets from multiple in_ports.
Provide the capability to omit the in_port match condition.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c