From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from guri.nttv6.jp (guri.nttv6.jp [115.69.228.140]) by dpdk.org (Postfix) with ESMTP id CDF5BDE0 for ; Mon, 19 Mar 2018 02:10:45 +0100 (CET) Received: from z.nttv6.jp (z.nttv6.jp [192.168.8.15]) by guri.nttv6.jp (NTTv6MTA) with ESMTP id 0C6F125F692 for ; Mon, 19 Mar 2018 10:10:42 +0900 (JST) Received: from localhost (fujiko.nttv6.jp [115.69.228.141]) by z.nttv6.jp (NTTv6MTA) with ESMTPSA id E0467759042; Mon, 19 Mar 2018 10:10:41 +0900 (JST) Date: Mon, 19 Mar 2018 10:10:41 +0900 (JST) Message-Id: <20180319.101041.604023037230225350.yasu@nttv6.jp> To: dev@dpdk.org From: Yasuhiro Ohara Organizaton: NTT Communications X-Mailer: Mew version 6.7 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] KNI PCIe number and VLAN Stripping X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2018 01:10:46 -0000 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