Lines Matching refs:new_cfg
349 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() argument
365 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg()
373 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
378 if (ice_dcb_bwchk(pf, new_cfg)) in ice_pf_dcb_cfg()
414 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
416 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
479 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument
485 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg()
486 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg()
488 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
490 sizeof(new_cfg->etscfg.prio_table))) { in ice_dcb_need_recfg()
495 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
497 sizeof(new_cfg->etscfg.tcbwtable))) in ice_dcb_need_recfg()
500 if (memcmp(&new_cfg->etscfg.tsatable, in ice_dcb_need_recfg()
502 sizeof(new_cfg->etscfg.tsatable))) in ice_dcb_need_recfg()
507 if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) { in ice_dcb_need_recfg()
513 if (memcmp(&new_cfg->app, &old_cfg->app, sizeof(new_cfg->app))) { in ice_dcb_need_recfg()