Lines Matching refs:rss_i
1492 int rss_i, i; in fm10k_set_qos_queues() local
1507 rss_i = interface->hw.mac.max_queues / pcs; in fm10k_set_qos_queues()
1508 rss_i = BIT(fls(rss_i) - 1); in fm10k_set_qos_queues()
1512 rss_i = min_t(u16, rss_i, f->limit); in fm10k_set_qos_queues()
1513 f->indices = rss_i; in fm10k_set_qos_queues()
1514 f->mask = BIT(fls(rss_i - 1)) - 1; in fm10k_set_qos_queues()
1518 netdev_set_tc_queue(dev, i, rss_i, rss_i * i); in fm10k_set_qos_queues()
1520 interface->num_rx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1521 interface->num_tx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1537 u16 rss_i; in fm10k_set_rss_queues() local
1540 rss_i = min_t(u16, interface->hw.mac.max_queues, f->limit); in fm10k_set_rss_queues()
1543 f->indices = rss_i; in fm10k_set_rss_queues()
1544 f->mask = BIT(fls(rss_i - 1)) - 1; in fm10k_set_rss_queues()
1546 interface->num_rx_queues = rss_i; in fm10k_set_rss_queues()
1547 interface->num_tx_queues = rss_i; in fm10k_set_rss_queues()
1877 int pc, offset, rss_i, i, q_idx; in fm10k_cache_ring_qos() local
1884 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_cache_ring_qos()
1886 for (pc = 0, offset = 0; pc < num_pcs; pc++, offset += rss_i) { in fm10k_cache_ring_qos()
1888 for (i = 0; i < rss_i; i++) { in fm10k_cache_ring_qos()
1935 u16 i, rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_init_reta() local
1944 if ((((reta << 24) >> 24) < rss_i) && in fm10k_init_reta()
1945 (((reta << 16) >> 24) < rss_i) && in fm10k_init_reta()
1946 (((reta << 8) >> 24) < rss_i) && in fm10k_init_reta()
1947 (((reta) >> 24) < rss_i)) in fm10k_init_reta()