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 CF25DA034F; Sun, 21 Mar 2021 10:00:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88CC3140E44; Sun, 21 Mar 2021 10:00:18 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id C1A71140E30 for ; Sun, 21 Mar 2021 10:00:15 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2E8735C00D9; Sun, 21 Mar 2021 05:00:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 21 Mar 2021 05:00:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=Es28dpfHv1vwh FwQM4FhYIr9Uje0ygUx5dw+25Fct30=; b=huYZaXgvYxUo7aK91c2ngbiWyG6DB Jyg0pFA0yp/IVvlD0mQzSVLCqkaXlN6HZJppfEOGipb/luNMZLIxsIMhBxHKsEpw 2mZ+xt1wBmNc0uKy7YZQi9pw6rKYHaR/CZTmHFvR9CqdNoXkrCx1vKgjYgtp1ZUa iCRzcsbpIAjmFNSr5TE9TuUBbU00AEtxxAli6BgwOFBaFvSJwQYTbWIPAuWN6+ek QaBOWI9SWgM5KNLkojxNyO8KbtjLDW6sk4zmNX0ldHWCbT71B/U4obtOcHbJAJmf JdnHGorDtDAiwKrZ++CvzlIuRu92qboDx5N6Zl6fOEn4mu4MW72qnzivA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=Es28dpfHv1vwhFwQM4FhYIr9Uje0ygUx5dw+25Fct30=; b=uUpjaJ46 JQjUVJuKppz5n2zIbuOiFsrMfQkYSO5e/H4Ic74jfFkY0Qw1LKaS7k1IRpd3JDCw /JLslQ77Ksj3SjQCjZDlh2dqZGghn1tsyn0VFXgwtjZk+CrOEcX5qL7sXissmOpN 6K9WmojTqzt9T/4WeIC6wGQz41gvLSQfyvzg1ghy8qbdpBlyDB6YzOqKZA8oAQmI /8i7oSPEsuf4M1uhmvdtIln/WXESQ32uNpJND+p3zbAYVdLe4tFNi2YoZZ8UfcNa lhe1l9pdBv+RnjDA9bUb3nVQHbVz0Rr74EYrqoWvM7KONhjFL3PjAEOeMneY8oQh QEMXPIyXzSVQHw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeguddguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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 01D942403E0; Sun, 21 Mar 2021 05:00:12 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Rosen Xu , Hemant Agrawal , Sachin Saxena , Jingjing Wu , Beilei Xing , Qiming Yang , Qi Zhang , Jeff Guo , Haiyue Wang Date: Sun, 21 Mar 2021 10:00:01 +0100 Message-Id: <20210321090002.595744-3-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210321090002.595744-1-thomas@monjalon.net> References: <20210311221742.3750589-1-thomas@monjalon.net> <20210321090002.595744-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 2/2] drivers/net: remove explicit include 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 header file rte_eth_ctrl.h should not be needed because this legacy filtering API is completely replaced with the rte_flow API. However some definitions from this file are still used by some drivers, but such usage is already covered by an implicit include via rte_ethdev.h. Signed-off-by: Thomas Monjalon Acked-by: Rosen Xu Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ptp.c | 1 - drivers/net/iavf/iavf_hash.c | 1 - drivers/net/ice/ice_acl_filter.c | 1 - drivers/net/ice/ice_hash.c | 1 - drivers/net/ice/ice_switch_filter.c | 1 - drivers/net/igc/igc_filter.h | 1 - drivers/net/ipn3ke/ipn3ke_flow.c | 1 - 7 files changed, 7 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ptp.c b/drivers/net/dpaa2/dpaa2_ptp.c index 899dd5d442..6290a559d0 100644 --- a/drivers/net/dpaa2/dpaa2_ptp.c +++ b/drivers/net/dpaa2/dpaa2_ptp.c @@ -12,7 +12,6 @@ #include #include -#include #include #include diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c index d8d22f8009..82f017db3d 100644 --- a/drivers/net/iavf/iavf_hash.c +++ b/drivers/net/iavf/iavf_hash.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c index 9e06e8a3de..2203720d15 100644 --- a/drivers/net/ice/ice_acl_filter.c +++ b/drivers/net/ice/ice_acl_filter.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c index 58a0c18d09..c12c2c0dbc 100644 --- a/drivers/net/ice/ice_hash.c +++ b/drivers/net/ice/ice_hash.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c index ada3ecf60b..fa034c0e0c 100644 --- a/drivers/net/ice/ice_switch_filter.c +++ b/drivers/net/ice/ice_switch_filter.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/net/igc/igc_filter.h b/drivers/net/igc/igc_filter.h index 781d270def..fb51f7066c 100644 --- a/drivers/net/igc/igc_filter.h +++ b/drivers/net/igc/igc_filter.h @@ -9,7 +9,6 @@ #include #include #include -#include #include "igc_ethdev.h" diff --git a/drivers/net/ipn3ke/ipn3ke_flow.c b/drivers/net/ipn3ke/ipn3ke_flow.c index c702e19ea5..452fb447ef 100644 --- a/drivers/net/ipn3ke/ipn3ke_flow.c +++ b/drivers/net/ipn3ke/ipn3ke_flow.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include -- 2.30.1