DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] disable i40e vf vlan stripping
@ 2017-03-28 15:29 Olivier Matz
  2017-03-29  2:53 ` Wu, Jingjing
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Matz @ 2017-03-28 15:29 UTC (permalink / raw)
  To: dev, helin.zhang, jingjing.wu

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

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

end of thread, other threads:[~2017-03-29  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 15:29 [dpdk-dev] disable i40e vf vlan stripping Olivier Matz
2017-03-29  2:53 ` Wu, Jingjing
2017-03-29  7:20   ` Olivier Matz

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