Home
last modified time | relevance | path

Searched refs:new_prof (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1141 struct mlx4_en_port_profile new_prof; in mlx4_en_set_ringparam() local
1176 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_set_ringparam()
1177 new_prof.tx_ring_size = tx_size; in mlx4_en_set_ringparam()
1178 new_prof.rx_ring_size = rx_size; in mlx4_en_set_ringparam()
1179 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); in mlx4_en_set_ringparam()
1829 struct mlx4_en_port_profile new_prof; in mlx4_en_set_channels() local
1855 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_set_channels()
1856 new_prof.num_tx_rings_p_up = channel->tx_count; in mlx4_en_set_channels()
1857 new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up; in mlx4_en_set_channels()
1858 new_prof in mlx4_en_set_channels()
[all...]
H A Den_netdev.c93 struct mlx4_en_port_profile new_prof; in mlx4_en_alloc_tx_queue_per_tc() local
104 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc()
105 new_prof.num_up = (tc == 0) ? MLX4_EN_NUM_UP_LOW : in mlx4_en_alloc_tx_queue_per_tc()
107 new_prof.tx_ring_num[TX] = new_prof.num_tx_rings_p_up * in mlx4_en_alloc_tx_queue_per_tc()
108 new_prof.num_up; in mlx4_en_alloc_tx_queue_per_tc()
109 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
117 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); in mlx4_en_alloc_tx_queue_per_tc()
2727 struct mlx4_en_port_profile new_prof; in mlx4_xdp_set() local
3494 struct mlx4_en_port_profile new_prof; mlx4_en_reset_config() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1150 struct mlx4_en_port_profile new_prof; in mlx4_en_set_ringparam() local
1185 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_set_ringparam()
1186 new_prof.tx_ring_size = tx_size; in mlx4_en_set_ringparam()
1187 new_prof.rx_ring_size = rx_size; in mlx4_en_set_ringparam()
1188 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); in mlx4_en_set_ringparam()
1840 struct mlx4_en_port_profile new_prof; in mlx4_en_set_channels() local
1866 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_set_channels()
1867 new_prof.num_tx_rings_p_up = channel->tx_count; in mlx4_en_set_channels()
1868 new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up; in mlx4_en_set_channels()
1869 new_prof in mlx4_en_set_channels()
[all...]
H A Den_netdev.c94 struct mlx4_en_port_profile new_prof; in mlx4_en_alloc_tx_queue_per_tc() local
105 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc()
106 new_prof.num_up = (tc == 0) ? MLX4_EN_NUM_UP_LOW : in mlx4_en_alloc_tx_queue_per_tc()
108 new_prof.tx_ring_num[TX] = new_prof.num_tx_rings_p_up * in mlx4_en_alloc_tx_queue_per_tc()
109 new_prof.num_up; in mlx4_en_alloc_tx_queue_per_tc()
110 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
118 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); in mlx4_en_alloc_tx_queue_per_tc()
2731 struct mlx4_en_port_profile new_prof; in mlx4_xdp_set() local
3445 struct mlx4_en_port_profile new_prof; mlx4_en_reset_config() local
[all...]

Completed in 12 milliseconds