Lines Matching refs:ethpause
851 struct ethtool_pauseparam ethpause = { in mlx4_flow_ctrl_get() local
856 ifr.ifr_data = (void *)ðpause; 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()
895 struct ethtool_pauseparam ethpause = { in mlx4_flow_ctrl_set() local
900 ifr.ifr_data = (void *)ðpause; 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()
911 ethpause.tx_pause = 0; in mlx4_flow_ctrl_set()