Lines Matching refs:rss_i
152 int tc, offset, rss_i, i; in ixgbe_cache_ring_dcb() local
158 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
160 for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) { in ixgbe_cache_ring_dcb()
162 for (i = 0; i < rss_i; i++, tx_idx++, rx_idx++) { in ixgbe_cache_ring_dcb()
429 int rss_i, rss_m, i; in ixgbe_set_dcb_queues() local
440 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
443 rss_i = min_t(u16, rss_i, 4); in ixgbe_set_dcb_queues()
447 rss_i = min_t(u16, rss_i, 8); in ixgbe_set_dcb_queues()
451 rss_i = min_t(u16, rss_i, 16); in ixgbe_set_dcb_queues()
457 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues()
458 f->indices = rss_i; in ixgbe_set_dcb_queues()
474 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues()
475 f->offset = rss_i * tc; in ixgbe_set_dcb_queues()
480 netdev_set_tc_queue(dev, i, rss_i, rss_i * i); in ixgbe_set_dcb_queues()
482 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
484 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
503 u16 rss_i = adapter->ring_feature[RING_F_RSS].limit; in ixgbe_set_sriov_queues() local
514 rss_i = min_t(u16, rss_i, MAX_TX_QUEUES / vmdq_i); in ixgbe_set_sriov_queues()
526 rss_i = min_t(u16, rss_i, 2); in ixgbe_set_sriov_queues()
532 rss_i = (rss_i > 3) ? 4 : (rss_i > 1) ? 2 : 1; in ixgbe_set_sriov_queues()
548 adapter->ring_feature[RING_F_RSS].indices = rss_i; in ixgbe_set_sriov_queues()
552 adapter->num_rx_queues_per_pool = rss_i; in ixgbe_set_sriov_queues()
554 adapter->num_rx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
555 adapter->num_tx_queues = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
578 fcoe->offset = vmdq_i * rss_i; in ixgbe_set_sriov_queues()
581 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
585 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
591 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
627 u16 rss_i; in ixgbe_set_rss_queues() local
631 rss_i = f->limit; in ixgbe_set_rss_queues()
633 f->indices = rss_i; in ixgbe_set_rss_queues()
648 if (rss_i > 1 && adapter->atr_sample_rate) { in ixgbe_set_rss_queues()
651 rss_i = f->indices = f->limit; in ixgbe_set_rss_queues()
673 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
678 fcoe_i = rss_i; in ixgbe_set_rss_queues()
683 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()
687 adapter->num_rx_queues = rss_i; in ixgbe_set_rss_queues()
688 adapter->num_tx_queues = rss_i; in ixgbe_set_rss_queues()
850 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_alloc_q_vector() local
851 if (rss_i > 1 && adapter->atr_sample_rate) { in ixgbe_alloc_q_vector()