Home
last modified time | relevance | path

Searched refs:num_up (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
Den_main.c172 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW; in mlx4_en_get_profile()
175 params->prof[i].num_up; in mlx4_en_get_profile()
Den_ethtool.c1804 priv->prof->num_up; in mlx4_en_get_channels()
1828 if (channel->tx_count * priv->prof->num_up + xdp_count > in mlx4_en_set_channels()
1829 priv->mdev->profile.max_num_tx_rings_p_up * priv->prof->num_up) { in mlx4_en_set_channels()
1833 channel->tx_count * priv->prof->num_up + xdp_count, in mlx4_en_set_channels()
1840 new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up; in mlx4_en_set_channels()
1857 up = (priv->prof->num_up == MLX4_EN_NUM_UP_LOW) ? in mlx4_en_set_channels()
1858 0 : priv->prof->num_up; in mlx4_en_set_channels()
Dmlx4_en.h398 u8 num_up; member
Den_netdev.c104 new_prof.num_up = (tc == 0) ? MLX4_EN_NUM_UP_LOW : in mlx4_en_alloc_tx_queue_per_tc()
107 new_prof.num_up; in mlx4_en_alloc_tx_queue_per_tc()
2842 MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); in mlx4_xdp_set()