net/mlx5: Accept flow rules without match
authorMark Bloch <markb@mellanox.com>
Fri, 17 Jan 2020 18:30:32 +0000 (18:30 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Mar 2020 23:26:17 +0000 (16:26 -0700)
commit5c2aa8ae3a2ccb383647e3ade369b32e0710ef0b
treed6050025dedf029d6341bfb52337e66eb3a7639f
parent4110fc59eafb4fcb462ea847f00ff8c83774672e
net/mlx5: Accept flow rules without match

Allow passing NULL spec when creating a flow rule. Such rules will act
as "catch all" flow rules.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_chains.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c