| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb.c | 551 u8 pfc_en; in ixgbe_dcb_config_pfc_cee() local 555 ixgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in ixgbe_dcb_config_pfc_cee() 559 ret = ixgbe_dcb_config_pfc_82598(hw, pfc_en); in ixgbe_dcb_config_pfc_cee() 566 ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); in ixgbe_dcb_config_pfc_cee() 612 u8 pfc_en; in ixgbe_dcb_hw_config_cee() local 648 ixgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in ixgbe_dcb_hw_config_cee() 649 ret = ixgbe_dcb_config_pfc(hw, pfc_en, map); in ixgbe_dcb_hw_config_cee() 656 s32 ixgbe_dcb_config_pfc(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) in ixgbe_dcb_config_pfc() argument 662 ret = ixgbe_dcb_config_pfc_82598(hw, pfc_en); in ixgbe_dcb_config_pfc() 669 ret = ixgbe_dcb_config_pfc_82599(hw, pfc_en, map); in ixgbe_dcb_config_pfc()
|
| H A D | ixgbe_dcb_82599.c | 264 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) in ixgbe_dcb_config_pfc_82599() argument 284 reg |= pfc_en << IXGBE_MFLCN_RPFCE_SHIFT; in ixgbe_dcb_config_pfc_82599() 286 if (pfc_en) in ixgbe_dcb_config_pfc_82599() 302 if ((map[j] == i) && (pfc_en & (1 << j))) { in ixgbe_dcb_config_pfc_82599()
|
| H A D | ixgbe_dcb_82598.c | 232 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598() argument 247 if (pfc_en) in ixgbe_dcb_config_pfc_82598() 254 if (!(pfc_en & (1 << i))) { in ixgbe_dcb_config_pfc_82598()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 1330 hns3_dcb_undrop_tc_map(struct hns3_hw *hw, uint8_t pfc_en) in hns3_dcb_undrop_tc_map() argument 1339 if (prio_tc[j] == i && pfc_en & BIT(j)) { in hns3_dcb_undrop_tc_map() 1357 uint8_t pfc_en; in hns3_dcb_cfg_validate() local 1379 if (hw->dcb_info.pfc_en != pfc_en) in hns3_dcb_cfg_validate() 1507 hw->dcb_info.pfc_en = 1; /* tc0 only */ in hns3_dcb_hw_configure() 1509 hw->dcb_info.pfc_en = in hns3_dcb_hw_configure() 1513 hns3_dcb_undrop_tc_map(hw, hw->dcb_info.pfc_en); in hns3_dcb_hw_configure() 1723 uint8_t pfc_en = hw->dcb_info.pfc_en; in hns3_dcb_pfc_enable() local 1731 hw->dcb_info.pfc_en |= BIT(priority); in hns3_dcb_pfc_enable() 1733 hns3_dcb_undrop_tc_map(hw, hw->dcb_info.pfc_en); in hns3_dcb_pfc_enable() [all …]
|
| H A D | hns3_ethdev.h | 130 uint8_t pfc_en; /* Pfc enabled or not for user priority */ member
|
| H A D | hns3_ethdev.c | 5200 if (hw->dcb_info.pfc_en & BIT(priority) && in hns3_priority_flow_ctrl_set()
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb_hw.c | 191 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc_raptor() argument 201 pfc_en ? TXGBE_RXFCCFG_PFC : 0); in txgbe_dcb_config_pfc_raptor() 213 if (map[j] == i && (pfc_en & (1 << j))) { in txgbe_dcb_config_pfc_raptor()
|
| H A D | txgbe_dcb_hw.h | 9 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
|
| H A D | txgbe_dcb.c | 354 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc() argument 357 ret = txgbe_dcb_config_pfc_raptor(hw, pfc_en, map); in txgbe_dcb_config_pfc()
|
| H A D | txgbe_dcb.h | 103 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.c | 3583 uint8_t pfc_en) in get_eth_dcb_conf() argument 3650 if (pfc_en) in get_eth_dcb_conf() 3663 uint8_t pfc_en) in init_port_dcb_config() argument 3680 retval = get_eth_dcb_conf(pid, &port_conf, dcb_mode, num_tcs, pfc_en); in init_port_dcb_config()
|
| H A D | testpmd.h | 923 uint8_t pfc_en);
|
| H A D | cmdline.c | 3148 cmdline_fixed_string_t pfc_en; member 3159 uint8_t pfc_en; in cmd_config_dcb_parsed() local 3179 if (!strncmp(res->pfc_en, "on", 2)) in cmd_config_dcb_parsed() 3180 pfc_en = 1; in cmd_config_dcb_parsed() 3182 pfc_en = 0; in cmd_config_dcb_parsed() 3188 pfc_en); in cmd_config_dcb_parsed() 3192 pfc_en); in cmd_config_dcb_parsed() 3220 TOKEN_STRING_INITIALIZER(struct cmd_config_dcb, pfc_en, "on#off");
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 3318 uint8_t i, pfc_en, nb_tcs; in txgbe_dcb_hw_configure() local 3506 txgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in txgbe_dcb_hw_configure() 3508 pfc_en &= 0x0F; in txgbe_dcb_hw_configure() 3509 ret = txgbe_dcb_config_pfc(hw, pfc_en, map); in txgbe_dcb_hw_configure()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx.c | 4088 uint8_t i, pfc_en, nb_tcs; in ixgbe_dcb_hw_configure() local 4283 ixgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in ixgbe_dcb_hw_configure() 4285 pfc_en &= 0x0F; in ixgbe_dcb_hw_configure() 4286 ret = ixgbe_dcb_config_pfc(hw, pfc_en, map); in ixgbe_dcb_hw_configure()
|