Searched refs:vtctl (Results 1 – 4 of 4) sorted by relevance
| /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()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_pf.c | 136 uint32_t vtctl, fcrth; in ngbe_pf_host_configure() local 152 vtctl = rd32(hw, NGBE_POOLCTL); in ngbe_pf_host_configure() 153 vtctl &= ~NGBE_POOLCTL_DEFPL_MASK; in ngbe_pf_host_configure() 154 vtctl |= NGBE_POOLCTL_DEFPL(vf_num); in ngbe_pf_host_configure() 155 vtctl |= NGBE_POOLCTL_RPLEN; in ngbe_pf_host_configure() 156 wr32(hw, NGBE_POOLCTL, vtctl); in ngbe_pf_host_configure()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 210 uint32_t vtctl, fcrth; in ixgbe_pf_host_configure() local 225 vtctl = IXGBE_READ_REG(hw, IXGBE_VT_CTL); in ixgbe_pf_host_configure() 226 vtctl |= IXGBE_VMD_CTL_VMDQ_EN; in ixgbe_pf_host_configure() 227 vtctl &= ~IXGBE_VT_CTL_POOL_MASK; in ixgbe_pf_host_configure() 228 vtctl |= RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx in ixgbe_pf_host_configure() 230 vtctl |= IXGBE_VT_CTL_REPLEN; in ixgbe_pf_host_configure() 231 IXGBE_WRITE_REG(hw, IXGBE_VT_CTL, vtctl); in ixgbe_pf_host_configure()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 206 uint32_t vtctl, fcrth; in txgbe_pf_host_configure() local 222 vtctl = rd32(hw, TXGBE_POOLCTL); in txgbe_pf_host_configure() 223 vtctl &= ~TXGBE_POOLCTL_DEFPL_MASK; in txgbe_pf_host_configure() 224 vtctl |= TXGBE_POOLCTL_DEFPL(RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx); in txgbe_pf_host_configure() 225 vtctl |= TXGBE_POOLCTL_RPLEN; in txgbe_pf_host_configure() 226 wr32(hw, TXGBE_POOLCTL, vtctl); in txgbe_pf_host_configure()
|