Home
last modified time | relevance | path

Searched refs:rss_i (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c151 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()
[all …]
Dixgbe_main.c3873 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_reta() local
3879 if ((adapter->flags & IXGBE_FLAG_SRIOV_ENABLED) && (rss_i < 4)) in ixgbe_setup_reta()
3880 rss_i = 4; in ixgbe_setup_reta()
3889 if (j == rss_i) in ixgbe_setup_reta()
3901 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_vfreta() local
3916 if (j == rss_i) in ixgbe_setup_vfreta()
4158 int rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_psrtype() local
4171 if (rss_i > 3) in ixgbe_setup_psrtype()
4173 else if (rss_i > 1) in ixgbe_setup_psrtype()
5084 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_configure_dcb() local
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1487 int rss_i, i; in fm10k_set_qos_queues() local
1502 rss_i = interface->hw.mac.max_queues / pcs; in fm10k_set_qos_queues()
1503 rss_i = BIT(fls(rss_i) - 1); in fm10k_set_qos_queues()
1507 rss_i = min_t(u16, rss_i, f->limit); in fm10k_set_qos_queues()
1508 f->indices = rss_i; in fm10k_set_qos_queues()
1509 f->mask = BIT(fls(rss_i - 1)) - 1; in fm10k_set_qos_queues()
1513 netdev_set_tc_queue(dev, i, rss_i, rss_i * i); in fm10k_set_qos_queues()
1515 interface->num_rx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1516 interface->num_tx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1532 u16 rss_i; in fm10k_set_rss_queues() local
[all …]
Dfm10k_ethtool.c971 u16 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_write_reta() local
986 rss_i); in fm10k_write_reta()
1028 u16 rss_i; in fm10k_set_reta() local
1034 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_set_reta()
1036 if (indir[i] < rss_i) in fm10k_set_reta()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1882 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc() local
1890 if (j == rss_i) in ixgbevf_setup_vfmrqc()