Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c152 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()
[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()
4160 int rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_psrtype() local
4173 if (rss_i > 3) in ixgbe_setup_psrtype()
4175 else if (rss_i > 1) in ixgbe_setup_psrtype()
5086 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_configure_dcb() local
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1482 int rss_i, i; in fm10k_set_qos_queues() local
1497 rss_i = interface->hw.mac.max_queues / pcs; in fm10k_set_qos_queues()
1498 rss_i = BIT(fls(rss_i) - 1); in fm10k_set_qos_queues()
1502 rss_i = min_t(u16, rss_i, f->limit); in fm10k_set_qos_queues()
1503 f->indices = rss_i; in fm10k_set_qos_queues()
1504 f->mask = BIT(fls(rss_i - 1)) - 1; in fm10k_set_qos_queues()
1508 netdev_set_tc_queue(dev, i, rss_i, rss_i * i); in fm10k_set_qos_queues()
1510 interface->num_rx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1511 interface->num_tx_queues = rss_i * pcs; in fm10k_set_qos_queues()
1527 u16 rss_i; in fm10k_set_rss_queues() local
[all …]
Dfm10k_ethtool.c980 u16 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_write_reta() local
995 rss_i); in fm10k_write_reta()
1037 u16 rss_i; in fm10k_set_reta() local
1043 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_set_reta()
1045 if (indir[i] < rss_i) in fm10k_set_reta()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1874 u16 rss_i = adapter->num_rx_queues; in ixgbevf_setup_vfmrqc() local
1882 if (j == rss_i) in ixgbevf_setup_vfmrqc()