From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beilei Xing Subject: [PATCH v5 0/5] pipeline personalization profile support Date: Mon, 27 Mar 2017 14:17:50 +0800 Message-ID: <1490595475-139869-1-git-send-email-beilei.xing@intel.com> References: <1490350768-65006-1-git-send-email-beilei.xing@intel.com> Cc: helin.zhang@intel.com, dev@dpdk.org To: jingjing.wu@intel.com Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id F28F2F969 for ; Mon, 27 Mar 2017 08:19:29 +0200 (CEST) In-Reply-To: <1490350768-65006-1-git-send-email-beilei.xing@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Due to limited resources of X*710 (parser and analyzer configuration tables, number of packet classification types, number of packet types, filters configuration tables, etc.), it's impossible to simultaneously support all protocols/filters required for different parts on network. To enable protocols/filters extensions for X*710, new Admin Command for loading user defined configurations is added. PPP is a format of extend configuration for X*710, it allows user to load user defined configuration to X*710. List of possible use cases for extended X*710 configuration using profiles could include following: Configuring Analyzer/Parser to support new protocols, e.g. - IP L2TPv3 tunneling protocol - IPSec ESP/AH protocols - MPLSoGRE, MPLSoUDP tunnels - GTP-C/GTP-U tunnels New PCTYPEs for offloading packet classification to X*710. e.g. - new IP Protocol in addition to TCP/UDP/SCTP - new TCP/UDP subtypes, like TCP SYN, TCP FIN - new PCTYPE for tunneled packets like GTP-C, GTP-U New PTYPEs for packets identification, e.g. - MAC, MPLS, IP4, UDP - MAC, MPLS, MPLS, IP6, TCP Fixes for NVM configuration, e.g. - list of enabled stat counters to improve throughput - parser/analyzer configuration for some corner cases v5 changes: Change parameter of rte_pmd_i40e_process_ppp_package to extend operation. Change structure rte_pmd_i40e_profile_info. v4 changes: Fix compile error with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3). Move ppp related structures to rte_pmd_i40e.h. Not support remove PPP temporarily. v3 changes: Move ppp AQ command code to base code. Beilei Xing (5): net/i40e: add pipeline personalization profile processing app/testpmd: add command for loading a profile net/i40e: add get all loaded profiles app/testpmd: add command for getting loaded profiles doc: add pipeline personalization profile support for i40e app/test-pmd/cmdline.c | 166 ++++++++++++++++++++++ app/test-pmd/config.c | 67 +++++++++ app/test-pmd/testpmd.h | 3 + doc/guides/rel_notes/release_17_05.rst | 4 + drivers/net/i40e/i40e_ethdev.c | 227 ++++++++++++++++++++++++++++++ drivers/net/i40e/rte_pmd_i40e.h | 69 +++++++++ drivers/net/i40e/rte_pmd_i40e_version.map | 7 + 7 files changed, 543 insertions(+) -- 2.5.5