ice: enforce no DCB config changing when in bond
authorDave Ertman <david.m.ertman@intel.com>
Tue, 20 Jun 2023 22:18:53 +0000 (15:18 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 27 Jul 2023 17:56:32 +0000 (10:56 -0700)
commitab2ed5d77ab9c438d1ca8ebb230cf8eb699c163f
tree6fddca290ba1b263e69a2d064ee86b1d63c5efe5
parentbf65da2eb279f27d6933e11a713a55fe49e71671
ice: enforce no DCB config changing when in bond

To support SRIOV LAG, the driver cannot allow changes to an interface's DCB
configuration when in a bond.  This would break the ability to modify
interfaces Tx scheduling for fail-over interfaces.

Block kernel generated DCB config events when in a bond.

Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_dcb_nl.c