Lines Matching refs:prof

107 	memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));  in mlx4_en_alloc_tx_queue_per_tc()
1777 priv->prof->tx_pause, in mlx4_en_start_port()
1778 priv->prof->tx_ppp, in mlx4_en_start_port()
1779 priv->prof->rx_pause, in mlx4_en_start_port()
1780 priv->prof->rx_ppp); in mlx4_en_start_port()
2149 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2158 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2167 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2171 prof->tx_ring_size, in mlx4_en_alloc_resources()
2181 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
2185 prof->rx_ring_size, priv->stride, in mlx4_en_alloc_resources()
2202 prof->rx_ring_size, in mlx4_en_alloc_resources()
2222 struct mlx4_en_port_profile *prof) in mlx4_en_copy_priv() argument
2226 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2228 dst->num_tx_rings_p_up = prof->num_tx_rings_p_up; in mlx4_en_copy_priv()
2229 dst->rx_ring_num = prof->rx_ring_num; in mlx4_en_copy_priv()
2230 dst->flags = prof->flags; in mlx4_en_copy_priv()
2234 dst->prof = prof; in mlx4_en_copy_priv()
2239 dst->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_copy_priv()
2285 memcpy(dst->prof, src->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_update_priv()
2290 struct mlx4_en_port_profile *prof, in mlx4_en_try_alloc_resources() argument
2296 ret = mlx4_en_copy_priv(tmp, priv, prof); in mlx4_en_try_alloc_resources()
2777 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_xdp_set()
2783 MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); in mlx4_xdp_set()
3176 struct mlx4_en_port_profile *prof) in mlx4_en_init_netdev() argument
3188 netif_set_real_num_tx_queues(dev, prof->tx_ring_num[TX]); in mlx4_en_init_netdev()
3189 netif_set_real_num_rx_queues(dev, prof->rx_ring_num); in mlx4_en_init_netdev()
3215 priv->prof = prof; in mlx4_en_init_netdev()
3218 priv->flags = prof->flags; in mlx4_en_init_netdev()
3227 priv->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_init_netdev()
3246 priv->rx_ring_num = prof->rx_ring_num; in mlx4_en_init_netdev()
3450 en_warn(priv, "Using %d TX rings\n", prof->tx_ring_num[TX]); in mlx4_en_init_netdev()
3451 en_warn(priv, "Using %d RX rings\n", prof->rx_ring_num); in mlx4_en_init_netdev()
3459 prof->tx_pause, prof->tx_ppp, in mlx4_en_init_netdev()
3460 prof->rx_pause, prof->rx_ppp); in mlx4_en_init_netdev()
3493 mdev->profile.prof[priv->port].rx_ppp, in mlx4_en_init_netdev()
3494 mdev->profile.prof[priv->port].rx_pause, in mlx4_en_init_netdev()
3495 mdev->profile.prof[priv->port].tx_ppp, in mlx4_en_init_netdev()
3496 mdev->profile.prof[priv->port].tx_pause); in mlx4_en_init_netdev()
3545 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_reset_config()