All of lore.kernel.org
 help / color / mirror / Atom feed
* vlan intertion offload does not take effect in 17.08
@ 2017-11-09 10:27 Chillance Zen
  2017-11-10  1:19 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Chillance Zen @ 2017-11-09 10:27 UTC (permalink / raw)
  To: dev, Jie Zheng

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?

Regards

-- 
Linc @bjtu

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

* Re: vlan intertion offload does not take effect in 17.08
  2017-11-09 10:27 vlan intertion offload does not take effect in 17.08 Chillance Zen
@ 2017-11-10  1:19 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-11-10  1:19 UTC (permalink / raw)
  To: Chillance Zen, dev, Jie Zheng

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
> 

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

end of thread, other threads:[~2017-11-10  1:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09 10:27 vlan intertion offload does not take effect in 17.08 Chillance Zen
2017-11-10  1:19 ` Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.