From: Yasuhiro Ohara <yasu@nttv6.jp>
To: dev@dpdk.org
Subject: [dpdk-dev] KNI PCIe number and VLAN Stripping
Date: Mon, 19 Mar 2018 10:10:41 +0900 (JST) [thread overview]
Message-ID: <20180319.101041.604023037230225350.yasu@nttv6.jp> (raw)
Hi.
It is much appreciated if someone could answer the following questions.
1. Regarding KNI, what is the reasoning of giving the PCI device
number information when setting kni I/F ? Can the data be blank or
dummy ? I would like to create a virtual I/F inside my application
and its corresponding kni, which may not have the corresponding
physical PCIe slot.
2. the ETHER/VLAN/ARP packet looks not-supported both
in mbuf_ptype(RTE_PTYPE_XXX in m->packet_type) and
in PKT_RX_VLAN_STRIPPED situation.
2a. How can we encode in m->packet_type to indicate there are
arp_hdr after the (ether_hdr,vlan_hdr) pair ?
2b. How can we get the next header value (i.e. ether_proto in
vlan_hdr) when the vlan_hdr is stripped by the NIC ?
Thanks in advance.
Best regards,
Yasu
next reply other threads:[~2018-03-19 1:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 1:10 Yasuhiro Ohara [this message]
2018-03-20 13:56 ` Ferruh Yigit
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=20180319.101041.604023037230225350.yasu@nttv6.jp \
--to=yasu@nttv6.jp \
--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).