From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C20ADA04DB; Mon, 16 Nov 2020 10:14:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6BCFCC8E4; Mon, 16 Nov 2020 10:13:47 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by dpdk.org (Postfix) with ESMTP id 5C8C3C8DE for ; Mon, 16 Nov 2020 10:13:45 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 16 Nov 2020 01:13:35 -0800 Received: from nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 16 Nov 2020 09:13:41 +0000 From: Gregory Etelson To: CC: , , , Viacheslav Ovsiienko , Shahaf Shuler Date: Mon, 16 Nov 2020 11:13:21 +0200 Message-ID: <20201116091326.10511-2-getelson@nvidia.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201116091326.10511-1-getelson@nvidia.com> References: <20201111071417.21177-1-getelson@nvidia.com> <20201116091326.10511-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605518015; bh=L6BN3HS8waf4jrypfiqyyE988MfY5CPHMx29Y+k9D48=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:Content-Type: X-Originating-IP:X-ClientProxiedBy; b=l6hMiUybfQaNzeNXXnJw0nzaymxzUoSea3H2OhSIltKnw1gCA0cAqJfN2+ehMOEIl KGeUOd8CAtXXpLYcQDcJVHNS0BYJ79mizPbvSQjb/vGThOPTcgWI1VPAFhYMLKnmgZ nC/raDoajbDx1uyyIlQt3ytcK/y579kn/M50Nj4ywKnshmjLAnc0xfRlpNC+/1nAau wq8H+lWpJ/W2NEkpdW+iJFsgJXaAxbz+0sMYu5M8KdPCe8KBPofCZlnPWONEf1RSow CWoFErEA6xNmGjcOuSJADOMzHfn+uVQ6ZDbA6tri50eMQ3hMTr6bwHrtgUEjXVoTP3 CYMIEFUBrbynQ== Subject: [dpdk-dev] [PATCH v3 1/6] net/mlx5: fix tunnel offload callback names 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix mlx5_flow_tunnel_action_release and mlx5_flow_tunnel_item_release callback names to match tunnel offload names pattern. Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload") Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 324349ed19..98559ece2b 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -662,9 +662,9 @@ mlx5_flow_tunnel_match(struct rte_eth_dev *dev, } =20 static int -mlx5_flow_item_release(struct rte_eth_dev *dev, - struct rte_flow_item *pmd_items, - uint32_t num_items, struct rte_flow_error *err) +mlx5_flow_tunnel_item_release(struct rte_eth_dev *dev, + struct rte_flow_item *pmd_items, + uint32_t num_items, struct rte_flow_error *err) { struct mlx5_flow_tunnel_hub *thub =3D mlx5_tunnel_hub(dev); struct mlx5_flow_tunnel *tun; @@ -687,9 +687,10 @@ mlx5_flow_item_release(struct rte_eth_dev *dev, } =20 static int -mlx5_flow_action_release(struct rte_eth_dev *dev, - struct rte_flow_action *pmd_actions, - uint32_t num_actions, struct rte_flow_error *err) +mlx5_flow_tunnel_action_release(struct rte_eth_dev *dev, + struct rte_flow_action *pmd_actions, + uint32_t num_actions, + struct rte_flow_error *err) { struct mlx5_flow_tunnel_hub *thub =3D mlx5_tunnel_hub(dev); struct mlx5_flow_tunnel *tun; @@ -760,8 +761,8 @@ static const struct rte_flow_ops mlx5_flow_ops =3D { .shared_action_query =3D mlx5_shared_action_query, .tunnel_decap_set =3D mlx5_flow_tunnel_decap_set, .tunnel_match =3D mlx5_flow_tunnel_match, - .tunnel_action_decap_release =3D mlx5_flow_action_release, - .tunnel_item_release =3D mlx5_flow_item_release, + .tunnel_action_decap_release =3D mlx5_flow_tunnel_action_release, + .tunnel_item_release =3D mlx5_flow_tunnel_item_release, .get_restore_info =3D mlx5_flow_tunnel_get_restore_info, }; =20 --=20 2.29.2