Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_ethdev.c856 ifr.ifr_data = (void *)&ethpause; in mlx4_flow_ctrl_get()
864 fc_conf->autoneg = ethpause.autoneg; in mlx4_flow_ctrl_get()
865 if (ethpause.rx_pause && ethpause.tx_pause) in mlx4_flow_ctrl_get()
867 else if (ethpause.rx_pause) in mlx4_flow_ctrl_get()
869 else if (ethpause.tx_pause) in mlx4_flow_ctrl_get()
900 ifr.ifr_data = (void *)&ethpause; in mlx4_flow_ctrl_set()
901 ethpause.autoneg = fc_conf->autoneg; in mlx4_flow_ctrl_set()
904 ethpause.rx_pause = 1; in mlx4_flow_ctrl_set()
906 ethpause.rx_pause = 0; in mlx4_flow_ctrl_set()
909 ethpause.tx_pause = 1; in mlx4_flow_ctrl_set()
[all …]
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_ethdev_os.c640 ifr.ifr_data = (void *)&ethpause; in mlx5_dev_get_flow_ctrl()
649 fc_conf->autoneg = ethpause.autoneg; in mlx5_dev_get_flow_ctrl()
650 if (ethpause.rx_pause && ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
652 else if (ethpause.rx_pause) in mlx5_dev_get_flow_ctrl()
654 else if (ethpause.tx_pause) in mlx5_dev_get_flow_ctrl()
681 ifr.ifr_data = (void *)&ethpause; in mlx5_dev_set_flow_ctrl()
682 ethpause.autoneg = fc_conf->autoneg; in mlx5_dev_set_flow_ctrl()
685 ethpause.rx_pause = 1; in mlx5_dev_set_flow_ctrl()
687 ethpause.rx_pause = 0; in mlx5_dev_set_flow_ctrl()
691 ethpause.tx_pause = 1; in mlx5_dev_set_flow_ctrl()
[all …]