Home
last modified time | relevance | path

Searched refs:dcbx_set (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1352 struct qed_dcbx_set dcbx_set; in qed_dcbnl_setstate() local
1358 memset(&dcbx_set, 0, sizeof(dcbx_set)); in qed_dcbnl_setstate()
1359 rc = qed_dcbx_get_config_params(hwfn, &dcbx_set); in qed_dcbnl_setstate()
1363 dcbx_set.enabled = !!state; in qed_dcbnl_setstate()
1369 rc = qed_dcbx_config_params(hwfn, ptt, &dcbx_set, 0); in qed_dcbnl_setstate()
1456 struct qed_dcbx_set dcbx_set; in qed_dcbnl_setpfccfg() local
1467 memset(&dcbx_set, 0, sizeof(dcbx_set)); in qed_dcbnl_setpfccfg()
1468 rc = qed_dcbx_get_config_params(hwfn, &dcbx_set); in qed_dcbnl_setpfccfg()
1472 dcbx_set.override_flags |= QED_DCBX_OVERRIDE_PFC_CFG; in qed_dcbnl_setpfccfg()
1473 dcbx_set.config.params.pfc.prio[priority] = !!setting; in qed_dcbnl_setpfccfg()
[all …]