From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 951FCA034F; Sun, 21 Mar 2021 10:00:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CEBB40042; Sun, 21 Mar 2021 10:00:10 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id BE73E40041 for ; Sun, 21 Mar 2021 10:00:08 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 4E3091610; Sun, 21 Mar 2021 05:00:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 21 Mar 2021 05:00:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=d/kNDqrdKUsex G/tPvyDUCWdTAEpEJLtvZetH8yYBA4=; b=aS5sAi2uG90Xr9nrio0F1+bkKPeTn Kc1VS0TGeVFa1ohQrTXt74a/84GN2Cmm7r7ktA6hgKTMwol4C6Yn8Kl530vytPZ5 rrYkIP2yCBij0RwD7XTP0k5cv4Rw3fCoRUAiJmP7pjmfg4VfV+kApGO7y8m5CUWL S1yGQ8Vr56gjIYn2tpJTOjlUnCqTcMwKfciYHgEbBCHwNs6xBvvdGB9FLZenzjml CMx4hRspzqS03cpUnDuCe01IP9zUt3hNf+ciECPoTV+N78MUtCev571pA3QAkw0m 2K0iAIqjbIMLPHUQRC4TpEAv+qSuo1Uy/sEUc2zb97McclruYP7p3qxQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=d/kNDqrdKUsexG/tPvyDUCWdTAEpEJLtvZetH8yYBA4=; b=X4ufFi/S r6r11RkDymBgQ0AQL0R8M6ISbSOuYF84h5xJgIyefNRWNAnZy5NTgVXL5q7eXVe+ qdQWW3G3udAA4pG+BsVlq1TpgJ9sEt8sfyQlQ/IqQGKIXJXac/Mslmrx9sbwQLTK rlh2yj1J4XZrjNrWI+CwpFmCeXR7GetWqbEnl1U5kQee1xKhUQcI/tEsFqnSrJk6 MVWW4KHNkvqSWALE1rxvz3XQP+fKw37oQ45sK/nhWIx08HUSDyuzKRrJCpEhnqI7 Fmrfyz79zVVsElfvplwv6+SYhJSvQVdzeuFAqGVlhULv8XGGpWJJSCSaM6TBgpj/ KwI41Zv8rpjymQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeguddguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtve ehfefhteelfefgieevgfffveefjeegtdfguedthedtgeevnecukfhppeejjedrudefgedr vddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CD1224040B for ; Sun, 21 Mar 2021 05:00:05 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Sun, 21 Mar 2021 09:59:59 +0100 Message-Id: <20210321090002.595744-1-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311221742.3750589-1-thomas@monjalon.net> References: <20210311221742.3750589-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/2] ethdev: remove some use of legacy filtering X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The ultimate goal is to remove all traces of the legacy filtering API from ethdev_driver.h and rte_eth_ctrl.h (whole file). This is just one more step of cleanup in progress. The next steps will require the involvement of some driver maintainers. v3: - keep ENOSYS error code - add comments about error reasons v2: - remove changes in release notes - forward error code from flow_ops_get in rte_flow_ops_get - introduce error codes ENOTSUP and EACCES in rte_flow_ops_get - no change in eth_flow_ops_get_t: return explicit error code Thomas Monjalon (2): ethdev: replace callback getting filter operations drivers/net: remove explicit include of legacy filtering doc/guides/nics/features.rst | 4 +-- doc/guides/prog_guide/rte_flow.rst | 14 +------- drivers/net/bnxt/bnxt.h | 6 ++-- drivers/net/bnxt/bnxt_ethdev.c | 40 +++++++-------------- drivers/net/bnxt/bnxt_reps.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 13 +++---- drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- drivers/net/cxgbe/cxgbe_flow.c | 22 +++--------- drivers/net/cxgbe/cxgbe_flow.h | 7 ++-- drivers/net/dpaa2/dpaa2_ethdev.c | 44 +++-------------------- drivers/net/dpaa2/dpaa2_flow.c | 29 +++++---------- drivers/net/dpaa2/dpaa2_ptp.c | 1 - drivers/net/e1000/igb_ethdev.c | 31 ++++------------ drivers/net/enic/enic_ethdev.c | 30 +++++----------- drivers/net/enic/enic_vf_representor.c | 33 ++++++----------- drivers/net/failsafe/failsafe_ops.c | 16 +++------ drivers/net/hinic/hinic_pmd_ethdev.c | 36 ++++--------------- drivers/net/hns3/hns3_ethdev.c | 2 +- drivers/net/hns3/hns3_ethdev.h | 5 ++- drivers/net/hns3/hns3_ethdev_vf.c | 2 +- drivers/net/hns3/hns3_flow.c | 30 ++++------------ drivers/net/i40e/i40e_ethdev.c | 32 ++++------------- drivers/net/iavf/iavf_ethdev.c | 32 ++++------------- drivers/net/iavf/iavf_hash.c | 1 - drivers/net/ice/ice_acl_filter.c | 1 - drivers/net/ice/ice_dcf_ethdev.c | 27 +++----------- drivers/net/ice/ice_ethdev.c | 32 ++++------------- drivers/net/ice/ice_hash.c | 1 - drivers/net/ice/ice_switch_filter.c | 1 - drivers/net/igc/igc_ethdev.c | 2 +- drivers/net/igc/igc_filter.c | 23 +++--------- drivers/net/igc/igc_filter.h | 6 ++-- drivers/net/ipn3ke/ipn3ke_flow.c | 1 - drivers/net/ipn3ke/ipn3ke_representor.c | 28 ++++----------- drivers/net/ixgbe/ixgbe_ethdev.c | 32 ++++------------- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4_flow.c | 32 ++++------------- drivers/net/mlx4/mlx4_flow.h | 5 +-- drivers/net/mlx5/mlx5.c | 4 +-- drivers/net/mlx5/mlx5.h | 5 +-- drivers/net/mlx5/mlx5_flow.c | 32 ++++------------- drivers/net/mvpp2/mrvl_ethdev.c | 26 ++++---------- drivers/net/octeontx2/otx2_ethdev.c | 2 +- drivers/net/octeontx2/otx2_ethdev.h | 5 ++- drivers/net/octeontx2/otx2_ethdev_ops.c | 21 +++-------- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/qede/qede_ethdev.h | 7 ++-- drivers/net/qede/qede_filter.c | 27 ++++---------- drivers/net/sfc/sfc_ethdev.c | 31 +++------------- drivers/net/softnic/rte_eth_softnic.c | 17 +++------ drivers/net/tap/rte_eth_tap.c | 2 +- drivers/net/tap/tap_flow.c | 27 ++++---------- drivers/net/tap/tap_flow.h | 6 ++-- drivers/net/txgbe/txgbe_ethdev.c | 26 +++----------- lib/librte_ethdev/ethdev_driver.h | 48 +++++++++++-------------- lib/librte_ethdev/rte_eth_ctrl.h | 2 +- lib/librte_ethdev/rte_flow.c | 23 ++++++------ lib/librte_ethdev/rte_flow_driver.h | 25 ------------- 58 files changed, 238 insertions(+), 727 deletions(-) -- 2.30.1