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 D26C52C15 for ; Fri, 1 Sep 2017 17:02:55 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Sep 2017 08:02:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,458,1498546800"; d="scan'208";a="1190598436" Received: from silpixa00389036.ir.intel.com (HELO silpixa00389036.ger.corp.intel.com) ([10.237.223.231]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2017 08:02:52 -0700 From: Kirill Rybalchenko To: dev@dpdk.org Cc: kirill.rybalchenko@intel.com, andrey.chilikin@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com Date: Fri, 1 Sep 2017 16:02:42 +0100 Message-Id: <1504278166-32769-1-git-send-email-kirill.rybalchenko@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1503569908-104074-1-git-send-email-kirill.rybalchenko@intel.com> References: <1503569908-104074-1-git-send-email-kirill.rybalchenko@intel.com> Subject: [dpdk-dev] [PATCH v2 0/4] net/i40e: implement dynamic mapping of flow types to pctypes 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: Fri, 01 Sep 2017 15:02:56 -0000 Implement dynamic mapping of software flow types to hardware pctypes. This allows to map new flow types to pctypes without changing API of the driver. v2: Remove unnecessary check for new flow types. Re-arrange patchset to avoid compillation errors. Remove unnecessary usage of statically defined flow types and pctypes. Kirill Rybalchenko (4): net/i40e: implement dynamic mapping of sw flow types to hw pctypes net/i40e: add new functions to manipulate with pctype mapping table app/testpmd: add new commands to manipulate with pctype mapping ethdev: remove unnecessary check for new flow type app/test-pmd/cmdline.c | 311 ++++++++++++++++++++++++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 ++ drivers/net/i40e/i40e_ethdev.c | 347 +++++++--------------------- drivers/net/i40e/i40e_ethdev.h | 16 +- drivers/net/i40e/i40e_ethdev_vf.c | 36 +-- drivers/net/i40e/i40e_fdir.c | 51 ++-- drivers/net/i40e/i40e_flow.c | 2 +- drivers/net/i40e/i40e_rxtx.c | 57 +++++ drivers/net/i40e/i40e_rxtx.h | 1 + drivers/net/i40e/rte_pmd_i40e.c | 98 ++++++++ drivers/net/i40e/rte_pmd_i40e.h | 61 +++++ lib/librte_ether/rte_ethdev.c | 8 - 12 files changed, 671 insertions(+), 338 deletions(-) -- 2.5.5