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)
commit6fb0701a9cfa248f1c1e5dfde15c4d79bb1bdc69
tree2b8de4e8c579d59503985af6682d8988aa6521ae
parentd18296ffd9ccde82c82c220263fca2e76d5258be
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