Home
last modified time | relevance | path

Searched refs:reta (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c978 u32 reta, n; in fm10k_write_reta() local
991 reta = table[0] | in fm10k_write_reta()
996 if (interface->reta[i] == reta) in fm10k_write_reta()
999 interface->reta[i] = reta; in fm10k_write_reta()
1000 fm10k_write_reg(hw, FM10K_RETA(0, i), reta); in fm10k_write_reta()
1013 u32 reta = interface->reta[i]; in fm10k_get_reta() local
1015 indir[0] = (reta << 24) >> 24; in fm10k_get_reta()
1016 indir[1] = (reta << 16) >> 24; in fm10k_get_reta()
1017 indir[2] = (reta << 8) >> 24; in fm10k_get_reta()
1018 indir[3] = (reta) >> 24; in fm10k_get_reta()
Dfm10k_main.c1930 u32 reta; in fm10k_init_reta() local
1937 reta = interface->reta[i]; in fm10k_init_reta()
1938 if ((((reta << 24) >> 24) < rss_i) && in fm10k_init_reta()
1939 (((reta << 16) >> 24) < rss_i) && in fm10k_init_reta()
1940 (((reta << 8) >> 24) < rss_i) && in fm10k_init_reta()
1941 (((reta) >> 24) < rss_i)) in fm10k_init_reta()
Dfm10k.h363 u32 reta[FM10K_RETA_SIZE]; member
Dfm10k_pci.c1104 fm10k_write_reg(hw, FM10K_RETA(0, i), interface->reta[i]); in fm10k_configure_dglort()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dvf.h193 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues);
Dvf.c293 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues) in ixgbevf_get_reta_locked() argument
353 reta[i * 16 + j] = (hw_reta[i] >> (2 * j)) & mask; in ixgbevf_get_reta_locked()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1104 const u8 *reta = adapter->rss_indir_tbl; in ixgbe_get_vf_reta() local
1129 out_buf[i] |= (u32)(reta[16 * i + j] & 0x3) << (2 * j); in ixgbe_get_vf_reta()
Dixgbe_main.c3814 u32 reta = 0; in ixgbe_store_reta() local
3831 reta |= indices_multi * indir_tbl[i] << (i & 0x3) * 8; in ixgbe_store_reta()
3834 IXGBE_WRITE_REG(hw, IXGBE_RETA(i >> 2), reta); in ixgbe_store_reta()
3837 reta); in ixgbe_store_reta()
3838 reta = 0; in ixgbe_store_reta()