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 4CAE3A0547; Fri, 12 Mar 2021 18:47:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C04E1608C9; Fri, 12 Mar 2021 18:47:10 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id CE3E61608C7 for ; Fri, 12 Mar 2021 18:47:08 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id BC0561546; Fri, 12 Mar 2021 12:47:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 12 Mar 2021 12:47:07 -0500 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=BRI7xOiiSS36A hFd5pmoyYpa2wz3CqErTga53oBoIxM=; b=fsGD1CdFgwMbfhwrYdw0kBoHQkYHe hmvUb+I3zqe7V/SFShigKoizpUX732J//wUmRgPGxf0CMPoNJY8bql8NBEdSGtUg 3NVe/sO0DcB1tAcjKKcP0o8sv84YbLWX9g7l2+SRjWJrVKeZoLhRxYph31MmhnXr pryPiAxbXBIeLqGF13p9uJiLJSvOgz4lo/053+i/o4YiVHUK4+wmKm2XA5Rajsso 2thA3DGRccKwp8V883G0ZFUhRVpZ4ukhQn+lU6/h5VYJkMgnjaYb9zeEo6e4bK1G PbKD4PDi1jMxuvtM43BDXgw4aiGEmYS+sVFUZ6QlY//AYttxZa+IXFDBA== 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=BRI7xOiiSS36AhFd5pmoyYpa2wz3CqErTga53oBoIxM=; b=VXlVK8+j Jv1LkdEu9reB6XaAG2qlaXpj9GYMQi/R3xOYGmHjhZ+gVD77hC2ZTplljovOny6A Mr/XQs6o5bc6bJ8ECdmNLI+iYZpm28I6mBAnFIjABYBJVYR6EV02UkHD0t/BEgby WtVw80Mx7/ZkM6RI2t0ez0EG3PV4P56T5ipPzR+pGCFEmKaxdmnTayH30evH6bsD bcSAn0u9OYzrKbw5ltGPIdr3Oc3lYXLJCr+z692t2zu42hxZ5xXlZTk0Rh1D2xmn +Ce74d/T92D3whopkPJMpVGf1IGuY4GmHI6NpsupfJBf40jz58jBKjgUNK78nuJx 3UeNt9XBkA+qdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvvddguddtgecutefuodetggdotefrod 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 D492524005B for ; Fri, 12 Mar 2021 12:47:06 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 12 Mar 2021 18:46:43 +0100 Message-Id: <20210312174645.162801-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 v2 0/2] ethdev: remove some use of legacy filtering interface 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. 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 | 46 +++++++++---------------- 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, 233 insertions(+), 730 deletions(-) -- 2.30.1