Searched refs:vfre_slot (Results 1 – 2 of 2) sorted by relevance
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 208 uint32_t vfre_slot, vfre_offset; in txgbe_pf_host_configure() local 230 vfre_slot = (vf_num >> VFRE_SHIFT) > 0 ? 1 : 0; in txgbe_pf_host_configure() 233 wr32(hw, TXGBE_POOLRXENA(vfre_slot), (~0U) << vfre_offset); in txgbe_pf_host_configure() 234 wr32(hw, TXGBE_POOLRXENA(vfre_slot ^ 1), vfre_slot - 1); in txgbe_pf_host_configure() 235 wr32(hw, TXGBE_POOLTXENA(vfre_slot), (~0U) << vfre_offset); in txgbe_pf_host_configure() 236 wr32(hw, TXGBE_POOLTXENA(vfre_slot ^ 1), vfre_slot - 1); in txgbe_pf_host_configure()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 214 uint32_t vfre_slot, vfre_offset; in ixgbe_pf_host_configure() local 237 vfre_slot = (vf_num >> VFRE_SHIFT) > 0 ? 1 : 0; in ixgbe_pf_host_configure() 240 IXGBE_WRITE_REG(hw, IXGBE_VFRE(vfre_slot), (~0U) << vfre_offset); in ixgbe_pf_host_configure() 241 IXGBE_WRITE_REG(hw, IXGBE_VFRE(vfre_slot ^ 1), vfre_slot - 1); in ixgbe_pf_host_configure() 242 IXGBE_WRITE_REG(hw, IXGBE_VFTE(vfre_slot), (~0U) << vfre_offset); in ixgbe_pf_host_configure() 243 IXGBE_WRITE_REG(hw, IXGBE_VFTE(vfre_slot ^ 1), vfre_slot - 1); in ixgbe_pf_host_configure()
|