new_prof 1123 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_en_port_profile new_prof; new_prof 1158 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); new_prof 1159 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.tx_ring_size = tx_size; new_prof 1160 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.rx_ring_size = rx_size; new_prof 1161 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); new_prof 1813 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_en_port_profile new_prof; new_prof 1839 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); new_prof 1840 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.num_tx_rings_p_up = channel->tx_count; new_prof 1841 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up; new_prof 1842 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.tx_ring_num[TX_XDP] = xdp_count; new_prof 1843 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.rx_ring_num = channel->rx_count; new_prof 1845 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); new_prof 92 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_port_profile new_prof; new_prof 103 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); new_prof 104 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_prof.num_up = (tc == 0) ? MLX4_EN_NUM_UP_LOW : new_prof 106 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_prof.tx_ring_num[TX] = new_prof.num_tx_rings_p_up * new_prof 107 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_prof.num_up; new_prof 108 drivers/net/ethernet/mellanox/mlx4/en_netdev.c total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; new_prof 116 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); new_prof 2779 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_port_profile new_prof; new_prof 2828 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); new_prof 2829 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_prof.tx_ring_num[TX_XDP] = xdp_ring_num; new_prof 2833 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_prof.tx_ring_num[TX] = new_prof 2838 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, false); new_prof 3577 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_port_profile new_prof; new_prof 3601 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); new_prof 3602 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(&new_prof.hwtstamp_config, &ts_config, sizeof(ts_config)); new_prof 3604 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true);