Home
last modified time | relevance | path

Searched refs:vtctl (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/e1000/
H A Digb_pf.c129 uint32_t vtctl; in igb_pf_host_configure() local
141 vtctl = E1000_READ_REG(hw, E1000_VT_CTL); in igb_pf_host_configure()
142 vtctl &= ~E1000_VT_CTL_DEFAULT_POOL_MASK; in igb_pf_host_configure()
143 vtctl |= RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx in igb_pf_host_configure()
145 vtctl |= E1000_VT_CTL_VM_REPL_EN; in igb_pf_host_configure()
146 E1000_WRITE_REG(hw, E1000_VT_CTL, vtctl); in igb_pf_host_configure()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c213 uint32_t vtctl, fcrth; in ixgbe_pf_host_configure() local
228 vtctl = IXGBE_READ_REG(hw, IXGBE_VT_CTL); in ixgbe_pf_host_configure()
229 vtctl |= IXGBE_VMD_CTL_VMDQ_EN; in ixgbe_pf_host_configure()
230 vtctl &= ~IXGBE_VT_CTL_POOL_MASK; in ixgbe_pf_host_configure()
231 vtctl |= RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx in ixgbe_pf_host_configure()
233 vtctl |= IXGBE_VT_CTL_REPLEN; in ixgbe_pf_host_configure()
234 IXGBE_WRITE_REG(hw, IXGBE_VT_CTL, vtctl); in ixgbe_pf_host_configure()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c207 uint32_t vtctl, fcrth; in txgbe_pf_host_configure() local
223 vtctl = rd32(hw, TXGBE_POOLCTL); in txgbe_pf_host_configure()
224 vtctl &= ~TXGBE_POOLCTL_DEFPL_MASK; in txgbe_pf_host_configure()
225 vtctl |= TXGBE_POOLCTL_DEFPL(RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx); in txgbe_pf_host_configure()
226 vtctl |= TXGBE_POOLCTL_RPLEN; in txgbe_pf_host_configure()
227 wr32(hw, TXGBE_POOLCTL, vtctl); in txgbe_pf_host_configure()