Message ID | 20200318014710.13577-1-chenxux.di@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D3B4CA056A; Wed, 18 Mar 2020 02:54:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2E011C0B4; Wed, 18 Mar 2020 02:54:47 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 4C4541C0B3 for <dev@dpdk.org>; Wed, 18 Mar 2020 02:54:46 +0100 (CET) IronPort-SDR: dwkod5fCs+HHnNUkFysmrx6HLCuKKooBEg8ibvSXK2jiRANirB5WUv9J6meeECnarxPyrQBlmV 1kLjCWoEJspg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2020 18:54:45 -0700 IronPort-SDR: KMu1Ju75QL7kznBSVYlURp8CxXcH8SaylTJj7/NjUWUK25fItpy9w5ID5nlNb2GMvZDCA/fz5W oVSG2qNMTGYw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,565,1574150400"; d="scan'208";a="355554243" Received: from intel.sh.intel.com ([10.239.255.133]) by fmsmga001.fm.intel.com with ESMTP; 17 Mar 2020 18:54:42 -0700 From: Chenxu Di <chenxux.di@intel.com> To: dev@dpdk.org Cc: Yang Qiming <qiming.yang@intel.com>, Chenxu Di <chenxux.di@intel.com> Date: Wed, 18 Mar 2020 01:47:06 +0000 Message-Id: <20200318014710.13577-1-chenxux.di@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/4] drivers/net: remove legacy filter API and switch to rte flow X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
drivers/net: remove legacy filter API and switch to rte flow
|
|
Message
Chenxu Di
March 18, 2020, 1:47 a.m. UTC
remove legacy filter functions already implemented in rte_flow for drivers igb, ixgbe, and i40e. implement hash function include set hash function and set hash input set in rte_flow for driver i40e. Chenxu Di (4): net/e1000: remove the legacy filter functions net/ixgbe: remove the legacy filter functions net/i40e: remove the legacy filter functions net/i40e: implement hash function in rte flow API doc/guides/nics/i40e.rst | 14 + doc/guides/rel_notes/release_20_05.rst | 9 + drivers/net/e1000/igb_ethdev.c | 36 - drivers/net/i40e/i40e_ethdev.c | 913 +++++++++++-------------- drivers/net/i40e/i40e_ethdev.h | 26 +- drivers/net/i40e/i40e_fdir.c | 393 ----------- drivers/net/i40e/i40e_flow.c | 186 ++++- drivers/net/ixgbe/ixgbe_ethdev.c | 78 --- drivers/net/ixgbe/ixgbe_fdir.c | 11 - 9 files changed, 610 insertions(+), 1056 deletions(-)
Comments
On Wed, 18 Mar 2020 01:47:06 +0000 Chenxu Di <chenxux.di@intel.com> wrote: > remove legacy filter functions already implemented in rte_flow > for drivers igb, ixgbe, and i40e. > implement hash function include set hash function and set hash > input set in rte_flow for driver i40e. > > Chenxu Di (4): > net/e1000: remove the legacy filter functions > net/ixgbe: remove the legacy filter functions > net/i40e: remove the legacy filter functions > net/i40e: implement hash function in rte flow API > > doc/guides/nics/i40e.rst | 14 + > doc/guides/rel_notes/release_20_05.rst | 9 + > drivers/net/e1000/igb_ethdev.c | 36 - > drivers/net/i40e/i40e_ethdev.c | 913 +++++++++++-------------- > drivers/net/i40e/i40e_ethdev.h | 26 +- > drivers/net/i40e/i40e_fdir.c | 393 ----------- > drivers/net/i40e/i40e_flow.c | 186 ++++- > drivers/net/ixgbe/ixgbe_ethdev.c | 78 --- > drivers/net/ixgbe/ixgbe_fdir.c | 11 - > 9 files changed, 610 insertions(+), 1056 deletions(-) > This looks like an API break for users using the legacy filter API. Even though filter_ctrl is marked as deprecated. That probably has to wait for 20.11 until it is removed. At that point, drop the ethdev ops handle, the rte_eth_dev_filter_ctrl API (etc) and fix all the test code.