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 D3B8A592C for ; Tue, 18 Nov 2014 08:27:16 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 17 Nov 2014 23:34:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,408,1413270000"; d="scan'208";a="638795198" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 17 Nov 2014 23:37:34 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sAI7bXRZ005961 for ; Tue, 18 Nov 2014 15:37:33 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id sAI7bVY7007570 for ; Tue, 18 Nov 2014 15:37:33 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sAI7bVVW007566 for dev@dpdk.org; Tue, 18 Nov 2014 15:37:31 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Tue, 18 Nov 2014 15:37:27 +0800 Message-Id: <1416296251-7534-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.12.2 Subject: [dpdk-dev] [PATCH 0/4] Translate packet types for i40e 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: Tue, 18 Nov 2014 07:27:17 -0000 The i40e NIC can recognize many packet types, including ordinary L2 packet format and tunneling packet format such as IP in IP, IP in GRE, MAC in GRE and MAC in UDP. This patch set provides abstract definitions of packet types, which can help user to use these packet types directly in their applications to speed up receive packet analysis. Moreover, this patch set translates i40e packet types to abstract packet types in i40e driver, and make the corresponding changes in test applications. Jijiang Liu (4): Add packet type and IP header check in rte_mbuf Remove the PKT_RX_TUNNEL_IPV4_HDR and the PKT_RX_TUNNEL_IPV6_HDR Translate i40e packet types Make the corresponding changes in test-pmd app/test-pmd/csumonly.c | 12 +- app/test-pmd/rxonly.c | 15 +- lib/librte_mbuf/rte_mbuf.h | 225 ++++++++++++++- lib/librte_pmd_i40e/i40e_rxtx.c | 604 +++++++++++++++++++++------------------ 4 files changed, 569 insertions(+), 287 deletions(-) -- 1.7.7.6