Lines Matching refs:rss_i

151 	int tc, offset, rss_i, i;  in ixgbe_cache_ring_dcb()  local
157 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
159 for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) { in ixgbe_cache_ring_dcb()
161 for (i = 0; i < rss_i; i++, tx_idx++, rx_idx++) { in ixgbe_cache_ring_dcb()
425 int rss_i, rss_m, i; in ixgbe_set_dcb_queues() local
436 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
439 rss_i = min_t(u16, rss_i, 4); in ixgbe_set_dcb_queues()
443 rss_i = min_t(u16, rss_i, 8); in ixgbe_set_dcb_queues()
447 rss_i = min_t(u16, rss_i, 16); in ixgbe_set_dcb_queues()
453 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues()
454 f->indices = rss_i; in ixgbe_set_dcb_queues()
470 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues()
471 f->offset = rss_i * tc; in ixgbe_set_dcb_queues()
476 netdev_set_tc_queue(dev, i, rss_i, rss_i * i); in ixgbe_set_dcb_queues()
478 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
480 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
499 u16 rss_i = adapter->ring_feature[RING_F_RSS].limit; in ixgbe_set_sriov_queues() local
510 rss_i = min_t(u16, rss_i, MAX_TX_QUEUES / vmdq_i); in ixgbe_set_sriov_queues()
522 rss_i = min_t(u16, rss_i, 2); in ixgbe_set_sriov_queues()
528 rss_i = (rss_i > 3) ? 4 : (rss_i > 1) ? 2 : 1; in ixgbe_set_sriov_queues()
544 adapter->ring_feature[RING_F_RSS].indices = rss_i; in ixgbe_set_sriov_queues()
548 adapter->num_rx_queues_per_pool = rss_i; in ixgbe_set_sriov_queues()
550 adapter->num_rx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
551 adapter->num_tx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
574 fcoe->offset = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
577 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
581 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
587 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
623 u16 rss_i; in ixgbe_set_rss_queues() local
627 rss_i = f->limit; in ixgbe_set_rss_queues()
629 f->indices = rss_i; in ixgbe_set_rss_queues()
644 if (rss_i > 1 && adapter->atr_sample_rate) { in ixgbe_set_rss_queues()
647 rss_i = f->indices = f->limit; in ixgbe_set_rss_queues()
669 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
674 fcoe_i = rss_i; in ixgbe_set_rss_queues()
679 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()
683 adapter->num_rx_queues = rss_i; in ixgbe_set_rss_queues()
684 adapter->num_tx_queues = rss_i; in ixgbe_set_rss_queues()
848 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_alloc_q_vector() local
849 if (rss_i > 1 && adapter->atr_sample_rate) { in ixgbe_alloc_q_vector()