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 36DB6A09E0; Fri, 13 Nov 2020 15:54:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED99BC8E6; Fri, 13 Nov 2020 15:52:59 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id D30DFC8E4 for ; Fri, 13 Nov 2020 15:52:57 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 13 Nov 2020 06:53:04 -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; Fri, 13 Nov 2020 14:52:54 +0000 From: Gregory Etelson To: CC: , , , Viacheslav Ovsiienko , Shahaf Shuler Date: Fri, 13 Nov 2020 16:52:29 +0200 Message-ID: <20201113145231.13154-5-getelson@nvidia.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201113145231.13154-1-getelson@nvidia.com> References: <20201113145231.13154-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: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605279184; bh=KZBYoCEO1WTuM4IAaZjyciZNrT8PErCpfazvtXMl6+g=; 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=Sq1ntmzl5vAh3lmmXP8252qjh6NxUL6fVgsWueVi1o/L7iUxmdVI4mxqlziVV5N6i s/ea26EttWqvdxvxS544Gp5wNyAjy6U7xSnmMj+JNkTQ1Y8XcUWq4eiXv+72yVAncG eDFrEhEHgQl5CMCoNHmDfi4AbHjsHZxPDEblEsMAn8K5zIStPyctHAKSzXRAaZ3MwG rfRj+YiW4gBaon5yUW9ZtYJpsX+0IDg1OKOn9XBZEP6IkUT1q8fyon37zPxFscjna5 Y2dHkP0dzb6GTw7+puPVM6J2tvw/Ykag/738HZLGTRiKPcOAZQ1f94zldpnb0rZgaK ZGGmyg/V/02zw== Subject: [dpdk-dev] [PATCH v2 4/5] 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 185b4ba51a..358a5f4e72 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -715,9 +715,9 @@ tunnel_element_release_miss(struct rte_eth_dev *dev, vo= id *x) } =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 tunnel_db_element_release_ctx ctx =3D { .items =3D pmd_items, @@ -734,9 +734,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 tunnel_db_element_release_ctx ctx =3D { .items =3D NULL, @@ -800,8 +801,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