DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] VLAN offload on e1000 NIC
@ 2016-05-28 23:54 Cody Doucette
  0 siblings, 0 replies; only message in thread
From: Cody Doucette @ 2016-05-28 23:54 UTC (permalink / raw)
  To: users

I'm trying to use DPDK to disable VLAN (802.1q) hardware offloading on an
Intel PRO/1000 MT Desktop (82540EM) adapter, but haven't been able to do so.

My setup is an Ubuntu 16.04 host running an Ubuntu 14.04 VM (using
Vagrant/VirtualBox). I have three host-only adapters that connect the host
and the VM, and on the VM eth1 and eth2 are DPDK-bound and eth3 is
kernel-bound. All are using separate 82540EM adapters. I'm generating VLAN
packets on the host using ostinato and sending them to the VM.

The kernel-bound interface receives the packet with the VLAN header intact,
but the DPDK interfaces seem to strip the VLAN.

I've tried disabling the VLAN stripping with the rxmode configuration in a
call to rte_eth_dev_configure(), and I've also tried disabling it with a
call to rte_eth_dev_set_vlan_offload(). Neither seem to work.

When I call rte_eth_dev_get_vlan_offload() to see how the device is
configured, I always get the value 0 -- before trying to disable offloading
and after trying to disable it.

Something's not adding up for me here -- why is the VLAN offload status 0
(instead of one of the ETH_VLAN_*_OFFLOAD flags), but the VLAN tag is
removed? Perhaps I have misunderstood something about this kind of NIC or
how to configure it. Thanks in advance for any help!

Best,
Cody

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-28 23:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-28 23:54 [dpdk-users] VLAN offload on e1000 NIC Cody Doucette

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