DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier Matz <olivier.matz@6wind.com>
To: dev@dpdk.org, helin.zhang@intel.com, jingjing.wu@intel.com
Subject: [dpdk-dev] disable i40e vf vlan stripping
Date: Tue, 28 Mar 2017 17:29:43 +0200	[thread overview]
Message-ID: <20170328172943.7b157ef4@platinum> (raw)

Hi i40e maintainers,

I have the following configuration:
- host runs with Linux pf i40e driver
- guest runs with DPDK vf i40e driver

I send a vlan packet from the host to the guest.
On the guest, I start testpmd with --disable-hw-vlan-strip.

When I receive the packet on the guest, it has the PKT_RX_VLAN_STRIPPED
flag although I'm not asking for it. From what I understand, it is not
possible to disable vlan stripping when using a Linux PF driver.

Since the i40evf DPDK driver does not behave like what the application
asks for, I think it should be fixed. What do you think about re-adding
the vlan in software when dev_conf->rxmode.hw_vlan_strip == 0 ?

The other alternative would be to forbid this configuration and return
an error.

Any opinion? Shall I send a patch?

Thanks
Olivier

             reply	other threads:[~2017-03-28 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28 15:29 Olivier Matz [this message]
2017-03-29  2:53 ` Wu, Jingjing
2017-03-29  7:20   ` Olivier Matz

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=20170328172943.7b157ef4@platinum \
    --to=olivier.matz@6wind.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=jingjing.wu@intel.com \
    /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).