From: "Mauricio Vásquez" <mauricio.vasquezbernal@studenti.polito.it>
To: dev@dpdk.org
Subject: [dpdk-dev] Redirect all packets to a specific VM pool
Date: Mon, 4 Jul 2016 11:03:10 +0200 [thread overview]
Message-ID: <CAPwdgqivrdQ=7YxDCAP32rk07A3E6E9LvN-8DwXQ-_K_Tg46CQ@mail.gmail.com> (raw)
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.
next reply other threads:[~2016-07-04 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 9:03 Mauricio Vásquez [this message]
2016-07-11 14:16 ` Mauricio Vásquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPwdgqivrdQ=7YxDCAP32rk07A3E6E9LvN-8DwXQ-_K_Tg46CQ@mail.gmail.com' \
--to=mauricio.vasquezbernal@studenti.polito.it \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).