Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c987 u32 reta, n; in fm10k_write_reta() local
1000 reta = table[0] | in fm10k_write_reta()
1005 if (interface->reta[i] == reta) in fm10k_write_reta()
1008 interface->reta[i] = reta; in fm10k_write_reta()
1009 fm10k_write_reg(hw, FM10K_RETA(0, i), reta); in fm10k_write_reta()
1022 u32 reta = interface->reta[i]; in fm10k_get_reta() local
1024 indir[0] = (reta << 24) >> 24; in fm10k_get_reta()
1025 indir[1] = (reta << 16) >> 24; in fm10k_get_reta()
1026 indir[2] = (reta << 8) >> 24; in fm10k_get_reta()
1027 indir[3] = (reta) >> 24; in fm10k_get_reta()
H A Dfm10k_main.c1923 u32 reta; in fm10k_init_reta() local
1930 reta = interface->reta[i]; in fm10k_init_reta()
1931 if ((((reta << 24) >> 24) < rss_i) && in fm10k_init_reta()
1932 (((reta << 16) >> 24) < rss_i) && in fm10k_init_reta()
1933 (((reta << 8) >> 24) < rss_i) && in fm10k_init_reta()
1934 (((reta) >> 24) < rss_i)) in fm10k_init_reta()
H A Dfm10k.h363 u32 reta[FM10K_RETA_SIZE]; member
H A Dfm10k_pci.c1103 fm10k_write_reg(hw, FM10K_RETA(0, i), interface->reta[i]); in fm10k_configure_dglort()
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h189 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues);
H A Dvf.c297 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues) in ixgbevf_get_reta_locked() argument
358 reta[i * 16 + j] = (hw_reta[i] >> (2 * j)) & mask; in ixgbevf_get_reta_locked()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c1619 u32 reta = 0; in wx_store_reta() local
1626 reta |= indir_tbl[i] << (i & 0x3) * 8; in wx_store_reta()
1628 wr32(wx, WX_RDB_RSSTBL(i >> 2), reta); in wx_store_reta()
1629 reta = 0; in wx_store_reta()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c1101 const u8 *reta = adapter->rss_indir_tbl; in ixgbe_get_vf_reta() local
1126 out_buf[i] |= (u32)(reta[16 * i + j] & 0x3) << (2 * j); in ixgbe_get_vf_reta()
H A Dixgbe_main.c3831 u32 reta = 0; in ixgbe_store_reta() local
3848 reta |= indices_multi * indir_tbl[i] << (i & 0x3) * 8; in ixgbe_store_reta()
3851 IXGBE_WRITE_REG(hw, IXGBE_RETA(i >> 2), reta); in ixgbe_store_reta()
3854 reta); in ixgbe_store_reta()
3855 reta = 0; in ixgbe_store_reta()