Lines Matching refs:pfc_conf
83 struct rte_eth_pfc_conf *pfc_conf);
1334 struct rte_eth_pfc_conf *pfc_conf) in axgbe_priority_flow_ctrl_set() argument
1340 tc_num = pdata->pfc_map[pfc_conf->priority]; in axgbe_priority_flow_ctrl_set()
1342 if (pfc_conf->priority >= pdata->hw_feat.tc_cnt) { in axgbe_priority_flow_ctrl_set()
1348 pdata->pause_autoneg = pfc_conf->fc.autoneg; in axgbe_priority_flow_ctrl_set()
1350 fc.send_xon = pfc_conf->fc.send_xon; in axgbe_priority_flow_ctrl_set()
1352 AXGMAC_FLOW_CONTROL_VALUE(1024 * pfc_conf->fc.high_water)); in axgbe_priority_flow_ctrl_set()
1354 AXGMAC_FLOW_CONTROL_VALUE(1024 * pfc_conf->fc.low_water)); in axgbe_priority_flow_ctrl_set()
1359 PSTC0, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1363 PSTC1, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1367 PSTC2, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1371 PSTC3, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1375 PSTC4, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1379 PSTC5, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1383 PSTC6, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1387 PSTC7, pfc_conf->fc.pause_time); in axgbe_priority_flow_ctrl_set()
1391 fc.mode = pfc_conf->fc.mode; in axgbe_priority_flow_ctrl_set()