DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Redirect all packets to a specific VM pool
@ 2016-07-04  9:03 Mauricio Vásquez
  2016-07-11 14:16 ` Mauricio Vásquez
  0 siblings, 1 reply; 2+ messages in thread
From: Mauricio Vásquez @ 2016-07-04  9:03 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Redirect all packets to a specific VM pool
  2016-07-04  9:03 [dpdk-dev] Redirect all packets to a specific VM pool Mauricio Vásquez
@ 2016-07-11 14:16 ` Mauricio Vásquez
  0 siblings, 0 replies; 2+ messages in thread
From: Mauricio Vásquez @ 2016-07-11 14:16 UTC (permalink / raw)
  To: dev; +Cc: Jijiang Liu, Helin Zhang, Konstantin Ananyev, Jingjing Wu

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@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.
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-11 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04  9:03 [dpdk-dev] Redirect all packets to a specific VM pool Mauricio Vásquez
2016-07-11 14:16 ` Mauricio Vásquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).