]> 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)
commit4b40e2e93d590c7aadd7bf6e0dcad6458e557f61
tree2b8de4e8c579d59503985af6682d8988aa6521ae
parent993227074990acb228722d74d6e7b709e9fda671
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