From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DA1C88126 for ; Sat, 11 Oct 2014 07:48:12 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2014 22:55:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,697,1406617200"; d="scan'208";a="616865637" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 10 Oct 2014 22:55:40 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s9B5tcVQ019282 for ; Sat, 11 Oct 2014 13:55:38 +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 s9B5taZN022570 for ; Sat, 11 Oct 2014 13:55:38 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s9B5tZS5022566 for dev@dpdk.org; Sat, 11 Oct 2014 13:55:35 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Sat, 11 Oct 2014 13:55:27 +0800 Message-Id: <1413006935-22535-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH v5 0/8]Support VxLAN on Fortville 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: Sat, 11 Oct 2014 05:48:13 -0000 The patch set supports VxLAN on Fortville based on latest mbuf structure. It includes: - Support VxLAN packet identification by configuring tunneling UDP port. - Support VxLAN packet filters. It uses MAC and VLAN to point to a queue. The filter types supported include below: 1. Inner MAC and Inner VLAN ID 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID 4. Inner MAC address 5. Outer MAC address, tenant ID and inner MAC - Support VxLAN TX checksum offload, which include outer L3(IP), inner L3(IP) and inner L4(UDP,TCP and SCTP) Change notes: v5) * Use the "packet_type" field to replace the "reserved2" field in the rte_mbuf structure. * Add the "inner_l2_l3_len" field in the rte_mbuf structure. * Add an offload flag PKT_TX_VXLAN_CKSUM in rte_mbuf.h * Change i40e_txd_enable_checksum() function for VxLAN Tx checksum offload setting. jijiangl (8): Support VxLAN packet identification in librte_ether Support VxLAN packet identification in librte_pmd_i40e Test vxlan packet identification Add new filter framework Implement API of VxLAN packet filter in librte_pmd_i40e Test VxLAN packet filter API Support VxLAN Tx checksum offload Test VxLAN Tx checksum offload app/test-pmd/cmdline.c | 230 ++++++++++++++++++++- app/test-pmd/config.c | 6 +- app/test-pmd/csumonly.c | 196 ++++++++++++++++-- app/test-pmd/parameters.c | 13 ++ app/test-pmd/rxonly.c | 49 +++++ app/test-pmd/testpmd.c | 8 + app/test-pmd/testpmd.h | 4 + config/common_linuxapp | 5 + lib/librte_ether/Makefile | 1 + lib/librte_ether/rte_eth_ctrl.h | 152 ++++++++++++++ lib/librte_ether/rte_ethdev.c | 95 +++++++++ lib/librte_ether/rte_ethdev.h | 108 ++++++++++ lib/librte_ether/rte_ether.h | 8 + lib/librte_mbuf/rte_mbuf.h | 22 ++- lib/librte_pmd_i40e/i40e_ethdev.c | 419 ++++++++++++++++++++++++++++++++++++- lib/librte_pmd_i40e/i40e_ethdev.h | 5 + lib/librte_pmd_i40e/i40e_rxtx.c | 53 +++++- 17 files changed, 1344 insertions(+), 30 deletions(-) create mode 100644 lib/librte_ether/rte_eth_ctrl.h -- 1.7.7.6