From: Dave Ertman Currently, in SW DCB mode, if a new DCB configuration comes in that only changes the TCBW table or the TSA table, the driver does not treat that as enough of a change to reconfigure the FW settings. Change the check for reconfiguration needed to include these singular changes as significant. Fixes: a17a5ff6812c ("ice: Refactor the LLDP MIB change event handling") Cc: stable@vger.kernel.org Signed-off-by: Dave Ertman Signed-off-by: Aleksandr Loktionov --- drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c index 0b194c8..43978d8 100644 --- a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c @@ -481,13 +481,17 @@ ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, if (memcmp(&new_cfg->etscfg.tcbwtable, &old_cfg->etscfg.tcbwtable, - sizeof(new_cfg->etscfg.tcbwtable))) + sizeof(new_cfg->etscfg.tcbwtable))) { + need_reconfig = true; dev_dbg(dev, "ETS TC BW Table changed.\n"); + } if (memcmp(&new_cfg->etscfg.tsatable, &old_cfg->etscfg.tsatable, - sizeof(new_cfg->etscfg.tsatable))) + sizeof(new_cfg->etscfg.tsatable))) { + need_reconfig = true; dev_dbg(dev, "ETS TSA Table changed.\n"); + } } /* Check if PFC configuration has changed */ -- 2.52.0