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 BC51EA0547 for ; Wed, 28 Jul 2021 11:40:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABA5F410FC; Wed, 28 Jul 2021 11:40:11 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) by mails.dpdk.org (Postfix) with ESMTP id C317940142; Wed, 28 Jul 2021 11:40:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qg8wG+yPVesKJOMLXFWknrX3ayKx5S4VDqMSAgXa4jGsOjfTAfTwQ4yUNXy7zTRzBnVSDMLbfbVCajATNx61xmD3IjW87l/+Yv0Ig6mO6PipHndVKbggoXoIhNJsttrggCDgFk9i8xxV5M02etikpGha2Ox/AuofLUmWEtWhJP2MBA4YrQM8OZo5tVhweh48IxEoMmRAzs0AV+wWz3+WoQBnqc3FBJ/AITEqJH/pGe9FobwvNVIvz77aCaJx/qC750kliwdPFOxQUg0NTNb4YKHy3HP8MJdl8Yxzl7/Yuk7NSrftzR+AQkpGMg4fhM+Gg+ieZHAntM09bMDsT2944A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kPx5AqMrP9rPnbxomvNmMWorvIUH1OnX6y8E0bJ42NY=; b=cdoVGIL+VE1UWp12vhiu8fCBneBqIihA4nG5UBzqGQkEjZXQD0zWw3BdbBriRcR7qyZH0mPDnwdgapJWcvL3Q1j9m4MUsq9BQWB1TsVxGr3WiOg71f1WorJsgqauzeaPIDJi7LTzghsDAiNoyqpe3flZWPGD+rzGIZ2XDFrEKOnNTyHxLxjLDj7JDJzzQgqnSiq4TA166U7gi7I8kAHMEMiaB18XCYgvbSCFfUnKfmT+qg94dlW2k6W19QeIpdYKwBuyQgz2iy1u7TXE8RBKfcI8+KNPltfKZ/LCblSVIzUoJyIxv0THZ4NdBd+JjStapwpJDU6u/U7ihXLlkBG0+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kPx5AqMrP9rPnbxomvNmMWorvIUH1OnX6y8E0bJ42NY=; b=UZ452+gavFEk0G3yTMZfnxUYSM0L4ktBne3UESe/ksNGih7NnewfcmW7342ytxE6oObN93Dq8+jsYr5hiko2GLu7OjgFeTf1p3mB0DTCXbAr00QVq3Z+4qj+Kz2MIWCaZVfXvBfKLMOX9099v+Hd2mEucHXf6WYEqjcz1E91GN/Kh9nW2Vi3WmgioOB0aKTGB002j3UpfZYF6yqzbtbQTgu2ZknkX/eU2wOwL8Z6NR8otBmIXk8umSHGZZRBHBAt1iHU3pcR02kEAqNdUpMmjEmk66IsMKvnNTjGS0eCpcV/OfdwARCdXOQeklPk7M//3VFHKrNxFxfmk88PxpstXQ== Received: from MWHPR18CA0029.namprd18.prod.outlook.com (2603:10b6:320:31::15) by DM6PR12MB4579.namprd12.prod.outlook.com (2603:10b6:5:2ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.26; Wed, 28 Jul 2021 09:40:08 +0000 Received: from CO1NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:320:31::4) by MWHPR18CA0029.outlook.office365.com (2603:10b6:320:31::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17 via Frontend Transport; Wed, 28 Jul 2021 09:40:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT028.mail.protection.outlook.com (10.13.175.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4373.18 via Frontend Transport; Wed, 28 Jul 2021 09:40:08 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Jul 2021 09:40:04 +0000 From: Asaf Penso To: CC: , , , , Date: Wed, 28 Jul 2021 12:39:46 +0300 Message-ID: <20210728093946.752300-1-asafp@nvidia.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b23bf03-e1f8-4d57-6fad-08d951abb00b X-MS-TrafficTypeDiagnostic: DM6PR12MB4579: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2043; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1HrgGXe8QxDps47K3z5RzJXn8Eq3WwQVjjg6MrhQIX/9g6GFv1Ev461DhAIy4qwPitK8n93u2vamDN6L2CIuC2tjSXzYc8A0l/3bO4EpksOfui4RfcpEgpDpLRmVjuNSyr2NLZB+ZPDGinSf3x68BW2rRrzyopleBG55SQIr6zUkyWAyDKtz8cOj14q5vSJxEDQzOEiArFHE1240cFWFqNSRZfzFbQTQ0yTXe7oWSMcSlvOZ/aE/jEDvXeMgZvp0JPf/Lhe3Q+R6wwdGJT5ejfP5p4TA9YnVK7RnMF9OkJsL8EHt8WlcfQuOegtxKQYLPcYKZtzQAyjbcNwE262wyvAcr9Tfx1qYlHrisWdzTbFysZAH91ZX7XESi7h+CjPGd/+qlu4nSrtmKgOirp5sKsl51F/2hqDaqmz7T9cGYiV3bgbcyI1QcVAW+hC3/vzgpML7AIutc17eivtCpUWR8v1uXgmrSnXce3qg/C7P9/Q0v9z0GX5tRgIq0tL3ArpDGIm6zft+ZG05o/i8bvUsFCR7/gluDw6KbEes6oCK87tgHc+u8Ggov6sTFI9fGxsSh6w23H+afofBr2mvKkhjbGKKrlb5A7HxoYCZgp04ordvCRCZIUpto88TcjB1W0m5/Z5elkL8r+1osE9qxq/utEyeFnVk4Yt11jHQfjNWw3BhHVzI2gkyVBIUDIGhQAEzY/Y4o8kRxxi0weHSZImIBA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(136003)(396003)(346002)(39860400002)(46966006)(36840700001)(82740400003)(6666004)(47076005)(70586007)(70206006)(7636003)(83380400001)(2906002)(478600001)(55016002)(36906005)(186003)(8676002)(86362001)(6916009)(336012)(54906003)(7696005)(6286002)(8936002)(356005)(16526019)(36756003)(26005)(5660300002)(36860700001)(426003)(2616005)(82310400003)(4326008)(316002)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2021 09:40:08.3293 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b23bf03-e1f8-4d57-6fad-08d951abb00b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4579 Subject: [dpdk-stable] [PATCH 1/1] net/mlx5: fix typo in flow engine type X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The concrete function names have a prefix for flow_dv. This emphasizes the flow engine is direct verbs. The function flow_get_aged_flows doesn’t have this prefix. It creates an inconsistency with the other functions. Update the function name to include dv. Fixes: fa2d01c87d2 ("net/mlx5: support flow aging") Cc: stable@dpdk.org Signed-off-by: Asaf Penso --- drivers/net/mlx5/mlx5_flow_dv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 736227bc0c..4b569b0bdb 100644 --- a/drivers/net/mlx5/mlx5_flow_dv.c +++ b/drivers/net/mlx5/mlx5_flow_dv.c @@ -17231,7 +17231,7 @@ flow_dv_counter_query(struct rte_eth_dev *dev, uint32_t counter, bool clear, * @note: only stub for now */ static int -flow_get_aged_flows(struct rte_eth_dev *dev, +flow_dv_get_aged_flows(struct rte_eth_dev *dev, void **context, uint32_t nb_contexts, struct rte_flow_error *error) @@ -17854,7 +17854,7 @@ const struct mlx5_flow_driver_ops mlx5_flow_dv_drv_ops = { .counter_alloc = flow_dv_counter_allocate, .counter_free = flow_dv_counter_free, .counter_query = flow_dv_counter_query, - .get_aged_flows = flow_get_aged_flows, + .get_aged_flows = flow_dv_get_aged_flows, .action_validate = flow_dv_action_validate, .action_create = flow_dv_action_create, .action_destroy = flow_dv_action_destroy, -- 2.18.2