Searched refs:vtctl (Results 1 – 3 of 3) sorted by relevance
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | igb_pf.c | 129 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 D | ixgbe_pf.c | 213 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 D | txgbe_pf.c | 207 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()
|