[dpdk-dev] vlan intertion offload does not take effect in 17.08

Ferruh Yigit ferruh.yigit at intel.com
Fri Nov 10 02:19:53 CET 2017


On 11/9/2017 2:27 AM, Chillance Zen wrote:
> hi,all
> I write this code when processing a packet try to utilize VLAN offload(the
> nic does support that offlaod because I verify it in its dev_info)
> 
> m->vlan_tci=222;
> m->ol_flags=PKT_TX_VLAN_PKT;
> 
> the packets out of that interface does not contain any vlan tag.
> 
> does anybody know what's happening or anything has changed since 17.08?

In Rx path, the meaning of the PKT_RX_VLAN changed in this release [1], but Tx
path should be same.

[1]
Commit: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags")

> 
> Regards
> 



More information about the dev mailing list