From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B3D078E5D for ; Wed, 13 Jan 2016 02:52:21 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 12 Jan 2016 17:52:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,286,1449561600"; d="scan'208";a="889329480" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 12 Jan 2016 17:52:20 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 12 Jan 2016 17:52:20 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.111]) by shsmsx102.ccr.corp.intel.com ([169.254.2.133]) with mapi id 14.03.0248.002; Wed, 13 Jan 2016 09:52:18 +0800 From: "Qiu, Michael" To: "Tan, Jianfeng" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 00/12] Add API to get packet type info Thread-Index: AQHRQ9KvIxYepqnrbkuZaKFBIOsZkQ== Date: Wed, 13 Jan 2016 01:52:17 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F1035E@SHSMSX101.ccr.corp.intel.com> References: <1451544799-70776-1-git-send-email-jianfeng.tan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 00/12] Add API to get packet type info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 01:52:22 -0000 On 12/31/2015 9:53 PM, Jianfeng Tan wrote:=0A= > HAPPRY NEW YEAR!=0A= >=0A= > A new ether API rte_eth_dev_get_ptype_info() is added to query what=0A= > packet type information will be provided by current pmd driver of the=0A= > specifed port.=0A= >=0A= > To achieve this, a new function pointer, dev_ptype_info_get, is added=0A= > into struct eth_dev_ops. For those devices who do not implement it, it=0A= > means it will not provide any ptype info.=0A= =0A= I haven't go through all the patches, but I have a question, what's the=0A= usercase of this API?=0A= =0A= Thanks,=0A= Michael=0A= > Jianfeng Tan (12):=0A= > ethdev: add API to query what/if packet type is set=0A= > pmd/cxgbe: add dev_ptype_info_get implementation=0A= > pmd/e1000: add dev_ptype_info_get implementation=0A= > pmd/enic: add dev_ptype_info_get implementation=0A= > pmd/fm10k: add dev_ptype_info_get implementation=0A= > pmd/i40e: add dev_ptype_info_get implementation=0A= > pmd/ixgbe: add dev_ptype_info_get implementation=0A= > pmd/mlx4: add dev_ptype_info_get implementation=0A= > pmd/mlx5: add dev_ptype_info_get implementation=0A= > pmd/nfp: add dev_ptype_info_get implementation=0A= > pmd/vmxnet3: add dev_ptype_info_get implementation=0A= > examples/l3fwd: add option to parse ptype=0A= >=0A= > drivers/net/cxgbe/cxgbe_ethdev.c | 17 +++++++=0A= > drivers/net/e1000/igb_ethdev.c | 48 ++++++++++++++++++++=0A= > drivers/net/enic/enic_ethdev.c | 20 +++++++++=0A= > drivers/net/fm10k/fm10k_ethdev.c | 60 +++++++++++++++++++++++++=0A= > drivers/net/fm10k/fm10k_rxtx.c | 5 +++=0A= > drivers/net/fm10k/fm10k_rxtx_vec.c | 5 +++=0A= > drivers/net/i40e/i40e_ethdev.c | 1 +=0A= > drivers/net/i40e/i40e_ethdev_vf.c | 1 +=0A= > drivers/net/i40e/i40e_rxtx.c | 69 ++++++++++++++++++++++++++++-= =0A= > drivers/net/i40e/i40e_rxtx.h | 2 +=0A= > drivers/net/ixgbe/ixgbe_ethdev.c | 50 +++++++++++++++++++++=0A= > drivers/net/ixgbe/ixgbe_ethdev.h | 2 +=0A= > drivers/net/ixgbe/ixgbe_rxtx.c | 5 ++-=0A= > drivers/net/mlx4/mlx4.c | 27 +++++++++++=0A= > drivers/net/mlx5/mlx5.c | 1 +=0A= > drivers/net/mlx5/mlx5.h | 2 +=0A= > drivers/net/mlx5/mlx5_ethdev.c | 25 +++++++++++=0A= > drivers/net/mlx5/mlx5_rxtx.c | 2 +=0A= > drivers/net/nfp/nfp_net.c | 18 ++++++++=0A= > drivers/net/vmxnet3/vmxnet3_ethdev.c | 20 +++++++++=0A= > examples/l3fwd/main.c | 86 ++++++++++++++++++++++++++++++= ++++++=0A= > lib/librte_ether/rte_ethdev.c | 12 +++++=0A= > lib/librte_ether/rte_ethdev.h | 22 +++++++++=0A= > lib/librte_mbuf/rte_mbuf.h | 13 ++++++=0A= > 24 files changed, 511 insertions(+), 2 deletions(-)=0A= >=0A= =0A=