From: =?gb18030?B?1ebO0rfnssk=?= <1534057243@qq.com>
To: =?gb18030?B?ZGV2?= <dev@dpdk.org>
Subject: [dpdk-dev] [vlan offload] does I350 support vlan offload?
Date: Sun, 4 Feb 2018 09:26:00 +0800 [thread overview]
Message-ID: <tencent_3A248F31B52B46F1721A2EBC11EDD742AA07@qq.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 579 bytes --]
Hi, All:
I want to use I350 vlan offload feature to impove performance, but get in trouble.
After enable port_conf.hw_vlan_strip, i can get vlan id in mbuf->vlan_tci, which indicate vlan rx offload is ok.
but when enable vlan tx offload as below steps,
a. set vlan id in mbuf->vlan_tci
b. set PKT_TX_VLAN_PKT in mbuf->ol_flags
then call rte_eth_tx_burst to transmit, and return value is greater than 0(actually 1), but cannot dump pkt with vlan id
on opposite server.
So does I350 supports vlan tx offload? or my usage have error ?
Thanks!
next reply other threads:[~2018-02-04 1:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-04 1:26 =?gb18030?B?1ebO0rfnssk=?= [this message]
2018-03-02 3:33 ` James Huang
2018-03-02 3:38 ` [dpdk-dev] =?gb18030?b?u9i4tKO6ICBbdmxhbiBvZmZsb2FkXSBkb2VzIEkz?= =?gb18030?q?50_support_vlan_offload=3F?= =?gb18030?B?1ebO0rfnssk=?=
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=tencent_3A248F31B52B46F1721A2EBC11EDD742AA07@qq.com \
--to=1534057243@qq.com \
--cc=dev@dpdk.org \
/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).