Lines Matching refs:new_cfg

6925 				  struct i40e_dcbx_config *new_cfg)  in i40e_hw_set_dcb_config()  argument
6931 if (!memcmp(&new_cfg, &old_cfg, sizeof(new_cfg))) { in i40e_hw_set_dcb_config()
6940 *old_cfg = *new_cfg; in i40e_hw_set_dcb_config()
6975 int i40e_hw_dcb_config(struct i40e_pf *pf, struct i40e_dcbx_config *new_cfg) in i40e_hw_dcb_config() argument
7008 new_numtc = i40e_dcb_get_num_tc(new_cfg); in i40e_hw_dcb_config()
7013 switch (new_cfg->etscfg.tsatable[i]) { in i40e_hw_dcb_config()
7017 new_cfg->etscfg.tcbwtable[i]; in i40e_hw_dcb_config()
7034 need_reconfig = i40e_dcb_need_reconfig(pf, old_cfg, new_cfg); in i40e_hw_dcb_config()
7076 i40e_dcb_hw_rx_ets_bw_config(hw, new_cfg->etscfg.tcbwtable, mode, in i40e_hw_dcb_config()
7078 i40e_dcb_hw_pfc_config(hw, new_cfg->pfc.pfcenable, in i40e_hw_dcb_config()
7079 new_cfg->etscfg.prioritytable); in i40e_hw_dcb_config()
7080 i40e_dcb_hw_rx_up2tc_config(hw, new_cfg->etscfg.prioritytable); in i40e_hw_dcb_config()
7091 false, new_cfg->pfc.pfcenable, in i40e_hw_dcb_config()
7109 *old_cfg = *new_cfg; in i40e_hw_dcb_config()
7137 ret = i40e_hw_set_dcb_config(pf, new_cfg); in i40e_hw_dcb_config()
9411 struct i40e_dcbx_config *new_cfg) in i40e_dcb_need_reconfig() argument
9416 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig()
9418 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig()
9420 if (memcmp(&new_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig()
9422 sizeof(new_cfg->etscfg.prioritytable))) { in i40e_dcb_need_reconfig()
9427 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
9429 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig()
9432 if (memcmp(&new_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig()
9434 sizeof(new_cfg->etscfg.tsatable))) in i40e_dcb_need_reconfig()
9439 if (memcmp(&new_cfg->pfc, in i40e_dcb_need_reconfig()
9441 sizeof(new_cfg->pfc))) { in i40e_dcb_need_reconfig()
9447 if (memcmp(&new_cfg->app, in i40e_dcb_need_reconfig()
9449 sizeof(new_cfg->app))) { in i40e_dcb_need_reconfig()