OSDN Git Service

net/mlx5: E-switch, Introduce flag to indicate if fdb table is created
authorChris Mi <cmi@nvidia.com>
Thu, 5 May 2022 06:23:39 +0000 (09:23 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 2 Jul 2022 18:58:25 +0000 (11:58 -0700)
commitfbd43b7259bc699e540ef8e7eb81631d57618a2e
treed8c4cc30b83ccb13d275509773ef3d40b69ff226
parentea5872dd6b052dc0dcb4974b314ffac739c535c4
net/mlx5: E-switch, Introduce flag to indicate if fdb table is created

Introduce flag to indicate if fdb table is created as a pre-step
to prepare for removing dependency between sriov and eswitch mode
in the downstream patches.

Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h