Home
last modified time | relevance | path

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

/Linux-v4.19/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.c3847 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_reta() local
3853 if ((adapter->flags & IXGBE_FLAG_SRIOV_ENABLED) && (rss_i < 4)) in ixgbe_setup_reta()
3854 rss_i = 4; in ixgbe_setup_reta()
3863 if (j == rss_i) in ixgbe_setup_reta()
3875 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_vfreta() local
3890 if (j == rss_i) in ixgbe_setup_vfreta()
4104 int rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_psrtype() local
4117 if (rss_i > 3) in ixgbe_setup_psrtype()
4119 else if (rss_i > 1) in ixgbe_setup_psrtype()
5014 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_configure_dcb() local
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1492 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
[all …]
Dfm10k_ethtool.c974 u16 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_write_reta() local
989 rss_i); in fm10k_write_reta()
1031 u16 rss_i; in fm10k_set_reta() local
1037 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_set_reta()
1039 if (indir[i] < rss_i) in fm10k_set_reta()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1851 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc() local
1859 if (j == rss_i) in ixgbevf_setup_vfmrqc()