Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c331 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_setpfc() local
342 pfc_map = 0; in hclge_ieee_setpfc()
347 pfc_map |= BIT(i); in hclge_ieee_setpfc()
353 hdev->tm_info.hw_pfc_map = pfc_map; in hclge_ieee_setpfc()
358 pfc->pfc_en, pfc_map, hdev->tm_info.num_tc); in hclge_ieee_setpfc()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dcbx.c524 u8 pfc_map; in qed_dcbx_get_pfc_data() local
529 pfc_map = QED_MFW_GET_FIELD(pfc, DCBX_PFC_PRI_EN_BITMAP); in qed_dcbx_get_pfc_data()
530 p_params->pfc.prio[0] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_0); in qed_dcbx_get_pfc_data()
531 p_params->pfc.prio[1] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_1); in qed_dcbx_get_pfc_data()
532 p_params->pfc.prio[2] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_2); in qed_dcbx_get_pfc_data()
533 p_params->pfc.prio[3] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_3); in qed_dcbx_get_pfc_data()
534 p_params->pfc.prio[4] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_4); in qed_dcbx_get_pfc_data()
535 p_params->pfc.prio[5] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_5); in qed_dcbx_get_pfc_data()
536 p_params->pfc.prio[6] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_6); in qed_dcbx_get_pfc_data()
537 p_params->pfc.prio[7] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_7); in qed_dcbx_get_pfc_data()
[all …]