rx_ring_num 128 drivers/net/ethernet/mellanox/mlx4/en_cq.c cq_idx = cq_idx % priv->rx_ring_num; rx_ring_num 71 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 352 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c (priv->rx_ring_num * (3 + NUM_XDP_STATS)); rx_ring_num 426 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 513 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1202 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c return rounddown_pow_of_two(priv->rx_ring_num); rx_ring_num 1611 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.ring_cookie >= priv->rx_ring_num) { rx_ring_num 1739 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c cmd->data = priv->rx_ring_num; rx_ring_num 1803 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c channel->rx_count = priv->rx_ring_num; rx_ring_num 1843 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c new_prof.rx_ring_num = channel->rx_count; rx_ring_num 1856 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c netif_set_real_num_rx_queues(dev, priv->rx_ring_num); rx_ring_num 1863 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c en_warn(priv, "Using %d RX rings\n", priv->rx_ring_num); rx_ring_num 135 drivers/net/ethernet/mellanox/mlx4/en_main.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1421 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1469 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (ring = 0; ring < priv->rx_ring_num; ring++) { rx_ring_num 1481 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (rate > (MLX4_EN_RX_RATE_THRESH / priv->rx_ring_num) && rx_ring_num 1650 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1831 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1866 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) rx_ring_num 1993 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2057 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2129 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2161 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2182 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2212 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst->rx_ring_num = prof->rx_ring_num; rx_ring_num 2256 drivers/net/ethernet/mellanox/mlx4/en_netdev.c sizeof(struct mlx4_en_rx_ring *) * src->rx_ring_num); rx_ring_num 2258 drivers/net/ethernet/mellanox/mlx4/en_netdev.c sizeof(struct mlx4_en_cq *) * src->rx_ring_num); rx_ring_num 2267 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst->rx_ring_num = src->rx_ring_num; rx_ring_num 2298 drivers/net/ethernet/mellanox/mlx4/en_netdev.c xdp_prog = bpf_prog_add(xdp_prog, tmp->rx_ring_num); rx_ring_num 2303 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < tmp->rx_ring_num; i++) rx_ring_num 2788 drivers/net/ethernet/mellanox/mlx4/en_netdev.c xdp_ring_num = prog ? priv->rx_ring_num : 0; rx_ring_num 2795 drivers/net/ethernet/mellanox/mlx4/en_netdev.c prog = bpf_prog_add(prog, priv->rx_ring_num - 1); rx_ring_num 2800 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 2820 drivers/net/ethernet/mellanox/mlx4/en_netdev.c prog = bpf_prog_add(prog, priv->rx_ring_num - 1); rx_ring_num 2841 drivers/net/ethernet/mellanox/mlx4/en_netdev.c bpf_prog_sub(prog, priv->rx_ring_num - 1); rx_ring_num 2854 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 3252 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netif_set_real_num_rx_queues(dev, prof->rx_ring_num); rx_ring_num 3311 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->rx_ring_num = prof->rx_ring_num; rx_ring_num 3400 drivers/net/ethernet/mellanox/mlx4/en_netdev.c netif_set_real_num_rx_queues(dev, priv->rx_ring_num); rx_ring_num 3507 drivers/net/ethernet/mellanox/mlx4/en_netdev.c en_warn(priv, "Using %d RX rings\n", prof->rx_ring_num); rx_ring_num 162 drivers/net/ethernet/mellanox/mlx4/en_port.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 249 drivers/net/ethernet/mellanox/mlx4/en_port.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 191 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { rx_ring_num 214 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { rx_ring_num 258 drivers/net/ethernet/mellanox/mlx4/en_rx.c mdev->profile.prof[i].rx_ring_num = rx_ring_num 335 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { rx_ring_num 367 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { rx_ring_num 377 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) rx_ring_num 380 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring_ind = priv->rx_ring_num - 1; rx_ring_num 400 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (ring = 0; ring < priv->rx_ring_num; ring++) { rx_ring_num 1152 drivers/net/ethernet/mellanox/mlx4/en_rx.c flags = priv->rx_ring_num == 1 ? MLX4_RESERVE_A0_QP : 0; rx_ring_num 1153 drivers/net/ethernet/mellanox/mlx4/en_rx.c err = mlx4_qp_reserve_range(mdev->dev, priv->rx_ring_num, rx_ring_num 1154 drivers/net/ethernet/mellanox/mlx4/en_rx.c priv->rx_ring_num, rx_ring_num 1158 drivers/net/ethernet/mellanox/mlx4/en_rx.c en_err(priv, "Failed reserving %d qps\n", priv->rx_ring_num); rx_ring_num 1162 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1173 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (priv->rx_ring_num == 1) { rx_ring_num 1197 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) rx_ring_num 1198 drivers/net/ethernet/mellanox/mlx4/en_rx.c rss_rings = priv->rx_ring_num; rx_ring_num 1254 drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); rx_ring_num 1264 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (priv->rx_ring_num > 1) { rx_ring_num 1274 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 1280 drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); rx_ring_num 130 drivers/net/ethernet/mellanox/mlx4/en_selftest.c for (i = 0; i < priv->rx_ring_num; i++) { rx_ring_num 389 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h u32 rx_ring_num; rx_ring_num 584 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h u32 rx_ring_num; rx_ring_num 423 drivers/net/ethernet/neterion/s2io.c S2IO_PARM_INT(rx_ring_num, 1); rx_ring_num 696 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 716 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 788 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 933 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 953 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 1339 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 1356 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 1359 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num + rx_ring_num 1360 drivers/net/ethernet/neterion/s2io.c mem_size % config->rx_ring_num); rx_ring_num 1364 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1368 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1372 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1376 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1380 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1384 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1388 drivers/net/ethernet/neterion/s2io.c mem_share = (mem_size / config->rx_ring_num); rx_ring_num 1494 drivers/net/ethernet/neterion/s2io.c switch (config->rx_ring_num) { rx_ring_num 1611 drivers/net/ethernet/neterion/s2io.c for (i = 0 ; i < config->rx_ring_num ; i++) rx_ring_num 1617 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 1692 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 2212 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 2716 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 2796 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 2850 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 2856 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 3763 drivers/net/ethernet/neterion/s2io.c for (j = 0; j < nic->config.rx_ring_num; j++) { rx_ring_num 4705 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 4730 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 5468 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < sp->config.rx_ring_num; i++) rx_ring_num 6877 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 7032 drivers/net/ethernet/neterion/s2io.c for (; off < sp->config.rx_ring_num; off++) rx_ring_num 7116 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 7136 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < sp->config.rx_ring_num; i++) rx_ring_num 7549 drivers/net/ethernet/neterion/s2io.c if (rx_ring_num > MAX_RX_RINGS) { rx_ring_num 7554 drivers/net/ethernet/neterion/s2io.c rx_ring_num = MAX_RX_RINGS; rx_ring_num 7805 drivers/net/ethernet/neterion/s2io.c config->rx_ring_num = rx_ring_num; rx_ring_num 7806 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num; i++) { rx_ring_num 7819 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < rx_ring_num; i++) { rx_ring_num 7896 drivers/net/ethernet/neterion/s2io.c sp->num_entries = config->rx_ring_num + 1; rx_ring_num 7913 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < config->rx_ring_num ; i++) { rx_ring_num 7979 drivers/net/ethernet/neterion/s2io.c sp->num_entries = config->rx_ring_num + 1; rx_ring_num 8060 drivers/net/ethernet/neterion/s2io.c sp->config.rx_ring_num); rx_ring_num 447 drivers/net/ethernet/neterion/s2io.h u32 rx_ring_num; /*Number of receive rings */