Lines Matching refs:prof

105 	memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));  in mlx4_en_alloc_tx_queue_per_tc()
1774 priv->prof->tx_pause, in mlx4_en_start_port()
1775 priv->prof->tx_ppp, in mlx4_en_start_port()
1776 priv->prof->rx_pause, in mlx4_en_start_port()
1777 priv->prof->rx_ppp); in mlx4_en_start_port()
2145 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2154 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2163 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2167 prof->tx_ring_size, in mlx4_en_alloc_resources()
2177 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
2181 prof->rx_ring_size, priv->stride, in mlx4_en_alloc_resources()
2198 prof->rx_ring_size, in mlx4_en_alloc_resources()
2218 struct mlx4_en_port_profile *prof) in mlx4_en_copy_priv() argument
2222 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2224 dst->num_tx_rings_p_up = prof->num_tx_rings_p_up; in mlx4_en_copy_priv()
2225 dst->rx_ring_num = prof->rx_ring_num; in mlx4_en_copy_priv()
2226 dst->flags = prof->flags; in mlx4_en_copy_priv()
2230 dst->prof = prof; in mlx4_en_copy_priv()
2235 dst->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_copy_priv()
2281 memcpy(dst->prof, src->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_update_priv()
2286 struct mlx4_en_port_profile *prof, in mlx4_en_try_alloc_resources() argument
2292 ret = mlx4_en_copy_priv(tmp, priv, prof); in mlx4_en_try_alloc_resources()
2773 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_xdp_set()
2779 MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); in mlx4_xdp_set()
3101 struct mlx4_en_port_profile *prof) in mlx4_en_init_netdev() argument
3113 netif_set_real_num_tx_queues(dev, prof->tx_ring_num[TX]); in mlx4_en_init_netdev()
3114 netif_set_real_num_rx_queues(dev, prof->rx_ring_num); in mlx4_en_init_netdev()
3140 priv->prof = prof; in mlx4_en_init_netdev()
3143 priv->flags = prof->flags; in mlx4_en_init_netdev()
3152 priv->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_init_netdev()
3171 priv->rx_ring_num = prof->rx_ring_num; in mlx4_en_init_netdev()
3374 en_warn(priv, "Using %d TX rings\n", prof->tx_ring_num[TX]); in mlx4_en_init_netdev()
3375 en_warn(priv, "Using %d RX rings\n", prof->rx_ring_num); in mlx4_en_init_netdev()
3383 prof->tx_pause, prof->tx_ppp, in mlx4_en_init_netdev()
3384 prof->rx_pause, prof->rx_ppp); in mlx4_en_init_netdev()
3417 mdev->profile.prof[priv->port].rx_ppp, in mlx4_en_init_netdev()
3418 mdev->profile.prof[priv->port].rx_pause, in mlx4_en_init_netdev()
3419 mdev->profile.prof[priv->port].tx_ppp, in mlx4_en_init_netdev()
3420 mdev->profile.prof[priv->port].tx_pause); in mlx4_en_init_netdev()
3469 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_reset_config()