| /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()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 1383 if (prio_tc[j] == i && pfc_en & BIT(j)) { in hns3_dcb_undrop_tc_map() 1516 uint8_t pfc_en = hw->dcb_info.pfc_en; in hns3_dcb_hw_configure() local 1532 hw->dcb_info.pfc_en = 1; /* tc0 only */ in hns3_dcb_hw_configure() 1534 hw->dcb_info.pfc_en = in hns3_dcb_hw_configure() 1538 hns3_dcb_undrop_tc_map(hw, hw->dcb_info.pfc_en); in hns3_dcb_hw_configure() 1545 hw->dcb_info.pfc_en = 0; in hns3_dcb_hw_configure() 1564 hw->dcb_info.pfc_en = pfc_en; in hns3_dcb_hw_configure() 1740 uint8_t pfc_en = hw->dcb_info.pfc_en; in hns3_dcb_pfc_enable() local 1745 hw->dcb_info.pfc_en |= BIT(priority); in hns3_dcb_pfc_enable() 1747 hns3_dcb_undrop_tc_map(hw, hw->dcb_info.pfc_en); in hns3_dcb_pfc_enable() [all …]
|
| H A D | hns3_ethdev.h | 140 uint8_t pfc_en; /* Pfc enabled or not for user priority */ member
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb_hw.c | 192 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc_raptor() argument 202 pfc_en ? TXGBE_RXFCCFG_PFC : 0); in txgbe_dcb_config_pfc_raptor() 214 if (map[j] == i && (pfc_en & (1 << j))) { in txgbe_dcb_config_pfc_raptor()
|
| H A D | txgbe_dcb_hw.h | 10 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
|
| H A D | txgbe_dcb.c | 355 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc() argument 358 ret = txgbe_dcb_config_pfc_raptor(hw, pfc_en, map); in txgbe_dcb_config_pfc()
|
| H A D | txgbe_dcb.h | 104 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_fc.c | 436 req->pfc_en = pfc_cfg->tc; in roc_nix_pfc_mode_set()
|
| H A D | roc_mbox.h | 564 uint16_t __io pfc_en; /* bitmap indicating enabled traffic classes */ member
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 3873 uint8_t pfc_en) in get_eth_dcb_conf() argument 3940 if (pfc_en) in get_eth_dcb_conf() 3953 uint8_t pfc_en) in init_port_dcb_config() argument 3970 retval = get_eth_dcb_conf(pid, &port_conf, dcb_mode, num_tcs, pfc_en); in init_port_dcb_config()
|
| H A D | testpmd.h | 1048 uint8_t pfc_en);
|
| H A D | cmdline.c | 3264 cmdline_fixed_string_t pfc_en; member 3276 uint8_t pfc_en; in cmd_config_dcb_parsed() local 3305 if (!strncmp(res->pfc_en, "on", 2)) in cmd_config_dcb_parsed() 3306 pfc_en = 1; in cmd_config_dcb_parsed() 3308 pfc_en = 0; in cmd_config_dcb_parsed() 3314 pfc_en); in cmd_config_dcb_parsed() 3318 pfc_en); in cmd_config_dcb_parsed() 3346 TOKEN_STRING_INITIALIZER(struct cmd_config_dcb, pfc_en, "on#off");
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 3462 uint8_t i, pfc_en, nb_tcs; in txgbe_dcb_hw_configure() local 3650 txgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in txgbe_dcb_hw_configure() 3652 pfc_en &= 0x0F; in txgbe_dcb_hw_configure() 3653 ret = txgbe_dcb_config_pfc(hw, pfc_en, map); in txgbe_dcb_hw_configure()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx.c | 4127 uint8_t i, pfc_en, nb_tcs; in ixgbe_dcb_hw_configure() local 4321 ixgbe_dcb_unpack_pfc_cee(dcb_config, map, &pfc_en); in ixgbe_dcb_hw_configure() 4323 pfc_en &= 0x0F; in ixgbe_dcb_hw_configure() 4324 ret = ixgbe_dcb_config_pfc(hw, pfc_en, map); in ixgbe_dcb_hw_configure()
|