net/mlx5: Add ability to insert to specific flow group
authorMark Bloch <mbloch@nvidia.com>
Mon, 29 Nov 2021 14:24:28 +0000 (16:24 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 23 Feb 2022 23:21:58 +0000 (15:21 -0800)
commitc2c922dae77f36e24d246c6e310cee0c61afc6fb
tree743421becf7d95e0e060bc75395262b7073d13bd
parent43c075959de3c45608636d9d80ff9e61d166fb21
net/mlx5: Add ability to insert to specific flow group

If the flow table isn't an autogroup the upper driver has to create the
flow groups explicitly. This information can't later be used when
creating rules to insert into a specific flow group. Allow such use case.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h