Hello, To be more specific, what I am trying to do it to setup an environment where I have a physical NIC that has some Virtual Functions configured, then all the incoming traffic to the NIC should be forwarded to a specific Virtual Function.
I was able to modify the "VMDQ and DCB Forwarding Sample Application" in order to forward all the traffic that does not match the filters to a specific rx queue, unfortunately when I try it with SR-IOV all the traffic goes the the physical function. My big question is: Is it possible to forward all the traffic to a specific Virtual Function? At least, is it supported by any NIC? Thank you very much for your help. PD: I CC'ed the ixgbe and i40e maintainers because those are the drivers that I am using. On Mon, Jul 4, 2016 at 11:03 AM, Mauricio V?squez < mauricio.vasquezbernal at studenti.polito.it> wrote: > Hello, > > I have a setup with SR-IOV where I want to forward all the packets to a > specific VM pool. I found that in some Intel NICs it is possible to set a > field called default pool. (Flag DEF_PL within the PFVTCTL register). In > order to setup this using DPDK, I used the default_pool field in the > rte_eth_vmdq_rx_conf structure, something like this: > > .vmdq_rx_conf = > { > .nb_queue_pools = ETH_8_POOLS, > .enable_default_pool = 1, > .default_pool = 5, > .nb_pool_maps = 1, > .pool_map = {{0, 0},}, > }, > > However it appears not to be working, all the packets are being forwarded > to the host pool. > > Am I missing something? > Is there a better approach to reach my goal? > > Thank you very much for your help. > > Mauricio V. >