| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_fc.c | 250 else if (nix->rx_pause) in roc_nix_fc_mode_get() 269 else if (rsp->rx_pause) in roc_nix_fc_mode_get() 276 nix->rx_pause = rsp->rx_pause; in roc_nix_fc_mode_get() 290 uint8_t tx_pause, rx_pause; in roc_nix_fc_mode_set() local 298 nix->rx_pause = rx_pause; in roc_nix_fc_mode_set() 307 req->rx_pause = rx_pause; in roc_nix_fc_mode_set() 314 nix->rx_pause = rx_pause; in roc_nix_fc_mode_set() 419 uint8_t tx_pause, rx_pause; in roc_nix_pfc_mode_set() local 437 req->rx_pause = rx_pause; in roc_nix_pfc_mode_set() 444 nix->rx_pause = rsp->rx_pause; in roc_nix_pfc_mode_set() [all …]
|
| H A D | roc_nix.c | 420 nix->rx_pause = 1; in roc_nix_dev_init()
|
| H A D | roc_nix_priv.h | 156 uint8_t rx_pause; member
|
| H A D | roc_nix_tm_utils.c | 607 if (nix->rx_pause && node->bp_capa) in nix_tm_topology_reg_prep() 630 if (nix->rx_pause && node->bp_capa) in nix_tm_topology_reg_prep()
|
| H A D | roc_mbox.h | 556 uint8_t __io rx_pause; member 562 uint8_t __io rx_pause; member 569 uint8_t __io rx_pause; member
|
| /dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev_ops.c | 220 if (conf.rx_pause && conf.tx_pause) in octeontx_dev_flow_ctrl_get() 222 else if (conf.rx_pause) in octeontx_dev_flow_ctrl_get() 243 uint8_t tx_pause, rx_pause; in octeontx_dev_flow_ctrl_set() local 274 rx_pause = (fc_conf->mode == RTE_ETH_FC_FULL) || in octeontx_dev_flow_ctrl_set() 282 conf.rx_pause = rx_pause; in octeontx_dev_flow_ctrl_set()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_ops.c | 255 uint8_t rx_pause, tx_pause; in cnxk_nix_flow_ctrl_set() local 272 rx_pause = (fc_conf->mode == RTE_ETH_FC_FULL) || in cnxk_nix_flow_ctrl_set() 301 if (fc->rx_pause ^ rx_pause) { in cnxk_nix_flow_ctrl_set() 310 fc_cfg.tm_cfg.enable = !!rx_pause; in cnxk_nix_flow_ctrl_set() 321 fc->rx_pause = rx_pause; in cnxk_nix_flow_ctrl_set() 354 conf.tx_tc = pfc_conf->rx_pause.tc; in cnxk_nix_priority_flow_ctrl_queue_config() 355 conf.tx_qid = pfc_conf->rx_pause.tx_qid; in cnxk_nix_priority_flow_ctrl_queue_config() 1042 uint8_t rx_pause, tx_pause; in nix_priority_flow_ctrl_configure() local 1091 if (pfc->fc_cfg.rx_pause ^ rx_pause) { in nix_priority_flow_ctrl_configure() 1122 fc_cfg.tm_cfg.enable = !!rx_pause; in nix_priority_flow_ctrl_configure() [all …]
|
| /dpdk/examples/ethtool/lib/ |
| H A D | rte_ethtool.c | 234 pause_param->rx_pause = 0; in rte_ethtool_get_pauseparam() 237 pause_param->rx_pause = 1; in rte_ethtool_get_pauseparam() 243 pause_param->rx_pause = 1; in rte_ethtool_get_pauseparam() 279 if (pause_param->rx_pause) in rte_ethtool_set_pauseparam() 284 if (pause_param->rx_pause) in rte_ethtool_set_pauseparam()
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 1307 pdata->rx_pause = 1; in axgbe_flow_ctrl_set() 1310 pdata->rx_pause = 1; in axgbe_flow_ctrl_set() 1313 pdata->rx_pause = 0; in axgbe_flow_ctrl_set() 1316 pdata->rx_pause = 0; in axgbe_flow_ctrl_set() 1322 if (pdata->rx_pause != (unsigned int)pdata->phy.rx_pause) in axgbe_flow_ctrl_set() 1327 pdata->phy.rx_pause = pdata->rx_pause; in axgbe_flow_ctrl_set() 1395 pdata->rx_pause = 1; in axgbe_priority_flow_ctrl_set() 1399 pdata->rx_pause = 1; in axgbe_priority_flow_ctrl_set() 1414 if (pdata->rx_pause != (unsigned int)pdata->phy.rx_pause) in axgbe_priority_flow_ctrl_set() 1418 pdata->phy.rx_pause = pdata->rx_pause; in axgbe_priority_flow_ctrl_set() [all …]
|
| H A D | axgbe_mdio.c | 833 if (pdata->rx_pause != (unsigned int)pdata->phy.rx_pause) { in axgbe_phy_adjust_link() 835 pdata->rx_pause = pdata->phy.rx_pause; in axgbe_phy_adjust_link() 1229 pdata->phy.rx_pause = pdata->rx_pause; in axgbe_phy_init() 1235 if (pdata->rx_pause) { in axgbe_phy_init()
|
| H A D | axgbe_ethdev.h | 248 int rx_pause; member 612 unsigned int rx_pause; member
|
| H A D | axgbe_phy_impl.c | 861 pdata->phy.rx_pause = 0; in axgbe_phy_phydev_flowctrl() 954 pdata->phy.rx_pause = 0; in axgbe_phy_an73_outcome() 958 pdata->phy.rx_pause = 1; in axgbe_phy_an73_outcome() 961 pdata->phy.rx_pause = 1; in axgbe_phy_an73_outcome()
|
| /dpdk/examples/ethtool/ethtool-app/ |
| H A D | ethapp.c | 371 info.rx_pause = 1; in pcmd_pause_callback() 374 info.rx_pause = 0; in pcmd_pause_callback() 377 info.rx_pause = 1; in pcmd_pause_callback() 380 info.rx_pause = 0; in pcmd_pause_callback() 387 if (info.rx_pause && info.tx_pause) in pcmd_pause_callback() 389 else if (info.rx_pause) in pcmd_pause_callback()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_dump.c | 790 hns3_fc_mode_to_rxtx_pause(enum hns3_fc_mode fc_mode, bool *rx_pause, in hns3_fc_mode_to_rxtx_pause() argument 796 *rx_pause = false; in hns3_fc_mode_to_rxtx_pause() 799 *rx_pause = true; in hns3_fc_mode_to_rxtx_pause() 803 *rx_pause = false; in hns3_fc_mode_to_rxtx_pause() 807 *rx_pause = true; in hns3_fc_mode_to_rxtx_pause() 811 *rx_pause = false; in hns3_fc_mode_to_rxtx_pause()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_ethdev.c | 865 if (ethpause.rx_pause && ethpause.tx_pause) in mlx4_flow_ctrl_get() 867 else if (ethpause.rx_pause) in mlx4_flow_ctrl_get() 904 ethpause.rx_pause = 1; in mlx4_flow_ctrl_set() 906 ethpause.rx_pause = 0; in mlx4_flow_ctrl_set()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_ethdev.c | 837 {"rx_pause_packets", offsetof(struct port_stats, rx_pause)}, 1072 u8 rx_pause = 0, tx_pause = 0; in cxgbe_flow_ctrl_get() local 1082 rx_pause = 1; in cxgbe_flow_ctrl_get() 1084 if (rx_pause && tx_pause) in cxgbe_flow_ctrl_get() 1086 else if (rx_pause) in cxgbe_flow_ctrl_get() 1101 u8 tx_pause = 0, rx_pause = 0; in cxgbe_flow_ctrl_set() local 1106 rx_pause = 1; in cxgbe_flow_ctrl_set() 1110 rx_pause = 1; in cxgbe_flow_ctrl_set() 1114 rx_pause, &new_caps); in cxgbe_flow_ctrl_set()
|
| /dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_ethdev.c | 1857 nic_pause.rx_pause = nic_dev->nic_pause.rx_pause; in hinic_flow_ctrl_get() 1863 if (nic_pause.tx_pause && nic_pause.rx_pause) in hinic_flow_ctrl_get() 1867 else if (nic_pause.rx_pause) in hinic_flow_ctrl_get() 1892 nic_pause.rx_pause = true; in hinic_flow_ctrl_set() 1894 nic_pause.rx_pause = false; in hinic_flow_ctrl_set() 1902 nic_dev->nic_pause.rx_pause = nic_pause.rx_pause; in hinic_flow_ctrl_set() 1907 nic_pause.rx_pause ? "on" : "off", in hinic_flow_ctrl_set() 2510 pause_config.rx_pause = HINIC_DEFAUT_PAUSE_CONFIG; in hinic_set_default_pause_feature() 2519 nic_dev->nic_pause.rx_pause = pause_config.rx_pause; in hinic_set_default_pause_feature()
|
| /dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_bgx.c | 371 cfg->rx_pause = conf.rx_pause; in octeontx_bgx_port_flow_ctrl_cfg()
|
| H A D | octeontx_bgx.h | 141 uint8_t rx_pause; /* rx_pause = 1/0 to enable/disable fc on Tx */ member
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_ethdev_os.c | 680 if (ethpause.rx_pause && ethpause.tx_pause) in mlx5_dev_get_flow_ctrl() 682 else if (ethpause.rx_pause) in mlx5_dev_get_flow_ctrl() 715 ethpause.rx_pause = 1; in mlx5_dev_set_flow_ctrl() 717 ethpause.rx_pause = 0; in mlx5_dev_set_flow_ctrl()
|
| /dpdk/drivers/net/e1000/ |
| H A D | em_ethdev.c | 1658 int rx_pause; in eth_em_flow_ctrl_get() local 1678 rx_pause = 1; in eth_em_flow_ctrl_get() 1680 rx_pause = 0; in eth_em_flow_ctrl_get() 1682 if (rx_pause && tx_pause) in eth_em_flow_ctrl_get() 1684 else if (rx_pause) in eth_em_flow_ctrl_get()
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_niccfg.h | 77 u32 rx_pause; member 412 u32 rx_pause; member
|
| H A D | hinic_pmd_niccfg.c | 654 pause_info.rx_pause = nic_pause.rx_pause; in hinic_set_pause_config() 692 nic_pause->rx_pause = pause_info.rx_pause; in hinic_get_pause_info()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 2126 int rx_pause; in eth_igc_flow_ctrl_get() local 2145 rx_pause = 1; in eth_igc_flow_ctrl_get() 2147 rx_pause = 0; in eth_igc_flow_ctrl_get() 2149 if (rx_pause && tx_pause) in eth_igc_flow_ctrl_get() 2151 else if (rx_pause) in eth_igc_flow_ctrl_get()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ethdev.c | 2246 int rx_pause; in ngbe_flow_ctrl_get() local 2261 rx_pause = 1; in ngbe_flow_ctrl_get() 2263 rx_pause = 0; in ngbe_flow_ctrl_get() 2275 if (rx_pause && tx_pause) in ngbe_flow_ctrl_get() 2277 else if (rx_pause) in ngbe_flow_ctrl_get()
|