Lines Matching refs:new_cfg
350 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() argument
366 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg()
380 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
385 if (ice_dcb_bwchk(pf, new_cfg)) in ice_pf_dcb_cfg()
421 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
423 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
486 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument
492 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg()
493 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg()
495 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
497 sizeof(new_cfg->etscfg.prio_table))) { in ice_dcb_need_recfg()
502 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
504 sizeof(new_cfg->etscfg.tcbwtable))) in ice_dcb_need_recfg()
507 if (memcmp(&new_cfg->etscfg.tsatable, in ice_dcb_need_recfg()
509 sizeof(new_cfg->etscfg.tsatable))) in ice_dcb_need_recfg()
514 if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) { in ice_dcb_need_recfg()
520 if (memcmp(&new_cfg->app, &old_cfg->app, sizeof(new_cfg->app))) { in ice_dcb_need_recfg()