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 3E5CBA00BE for ; Sun, 10 Apr 2022 10:52:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A70B40042; Sun, 10 Apr 2022 10:52:28 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2073.outbound.protection.outlook.com [40.107.220.73]) by mails.dpdk.org (Postfix) with ESMTP id F249E40042 for ; Sun, 10 Apr 2022 10:52:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PP4631+ZUH5y/ba4b6yqWpJZ18dZAhsZWCTbA8piRcntb4oXN+ODkHjFKypZkUpAKrOrPgDzZKC4k5th3JSL+oZKbK/AH8/LFUxzIp0PLYo+xksfl+sKNmmCaAEdJ4d29i92xrBObtSKfvMUBwVaMnXVdoJojKDYghMH0D6J1NNBH2gPVE/JAlpkvQ6z9ZgQqXuMyzqgIgn9EhWtZUVFA7Bu/BA4UbD4TFTGKg8/nE8/v4RyDiL9fpt/9ymsTXVRNzVbJap0VHbCBqBtUmTQsO+vw1ivpEIFBzR8pAq7YENrGKV2Nw0SHWxgzLkfBBQYaiRHVKF7FAaErKFgpc4s8A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=49P4kH+laak70kGf2b555HlsbizAiWejOzO5RwGljrk=; b=K3OGFIeCHG7GtynHp8vL13Q6l4icRtlLFGRwsIhC9zy1j/u08ZhC+saSDrG2eiXzsCbEXt5lF/768r1ylw4qdwx7JdeJ/bUS+NFVHSSLBfpTjDEDHbuPRX+AyC5R6+yZMJUcXmWRJXUJyJKRk9XUdfbZa9bFB804HDBhT8QO8RhJh4HGhIcbS5Q0f5PBYpuHcJW6um/KkIlO+tJ10InVUBUYdHDKvSfWTR56yd4paxaad569CVEtTHGurLqiz6Hr2XEfU4gkEEGkjmLYi8BY1rCE3Tn9794q3E6o4W4E/Tk0iN7gRI88esYa5RtQVlfrKF7SbD/1T8R7Xk3bVXkeMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) smtp.rcpttodomain=canonical.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=49P4kH+laak70kGf2b555HlsbizAiWejOzO5RwGljrk=; b=RW9Ti/tfhBLY/bsbqW1DMgrXfxqaTdfXlj87qn5YXbbM3dqvctWXPPKZPzZeVbsaApxRMoXt3HXz5bsQhKci49egH/HOT0qOm8KjZ7zS3axxWmvA7F+F/FmEp5wANtRefn6HHQKCjTzEwcVlEgcwmNePZsoIKvlxChh+PLC7+nZIXqAu00UwF1IG7QT8Cw7rkgd7lvYn319YlV/DbcaYLaimqofoAT4gwQSJhj3HSs2WdlRknSfejEKNa1Ubl1GJYzkpvIFugjKbpsOAxwcawDbkAxkBG3R31I6MeJWZpG8Q49LE0pgGvLF7QHAjVKZTFHCNdrK9zmkfxS391Nqe9g== Received: from MW4PR04CA0221.namprd04.prod.outlook.com (2603:10b6:303:87::16) by PH7PR12MB5829.namprd12.prod.outlook.com (2603:10b6:510:1d4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.21; Sun, 10 Apr 2022 08:52:24 +0000 Received: from CO1NAM11FT045.eop-nam11.prod.protection.outlook.com (2603:10b6:303:87:cafe::d) by MW4PR04CA0221.outlook.office365.com (2603:10b6:303:87::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29 via Frontend Transport; Sun, 10 Apr 2022 08:52:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.235) by CO1NAM11FT045.mail.protection.outlook.com (10.13.175.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5144.20 via Frontend Transport; Sun, 10 Apr 2022 08:52:24 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Sun, 10 Apr 2022 08:52:23 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Sun, 10 Apr 2022 01:52:22 -0700 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22 via Frontend Transport; Sun, 10 Apr 2022 01:52:21 -0700 From: Michael Baum To: CC: Matan Azrad , Viacheslav Ovsiienko , Christian Ehrhardt Subject: [PATCH 19.11 0/3] net/mlx5: fix MPRQ stride Date: Sun, 10 Apr 2022 11:52:14 +0300 Message-ID: <20220410085217.922084-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ace4e6d3-5d80-41bc-7577-08da1acf6e9b X-MS-TrafficTypeDiagnostic: PH7PR12MB5829:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8nrlwqvsylt5L/stTxEnvHTkAjI3JNWYlpclBgCHDlwA2c9RZOxOptID8MuAO6gOtqRHieMhmRaYLNgdReo6UjXEfsBEIgK9c6uzuKs4DViI12wUBlle33QvoRUq967d8f9QqVkRXfYmNXmVRoWkkR58IWV4NV94/jr8Pm418xaxUHhl3JfEfQowK6rlP1PDR0Dt4vgEBPZV6PVbEXmVFlCuyLL8UR7WpGJ8bH9byLQJBx4HZzh5KMhmfOqmVWdKiAW0e+NMmYcwn2+Xho+pQv42jHZklTIZsUAI45I7h7V/flU5hIiszFNiVWOuIXLXJGrfSAFu5Ul5933nVcRyw65gqQM9l82X8fGmiXdR2bzWFOKSh6LLV5FZ6rpBZdJ3VX6AYg7qf3OotVexF9jG97Cnf328WJU5N1InI1z09Touuk2uiS6Nx/WsmXFIEGY8I8pggizPRf0B+JiyupzGPYh5NANqwg4rgd9FFLdGUuoWfeoppqyhvk8P7aBXdtpelrf1mKdk3/P29kzZ+H4U7imWEpfxY13Mt0aCNFaZvAeSaoZol9CEsZ3lWxpQ/SC6RUzEVY5mHbY4jFxUfjfqnD2cIzC8kTWYCq+grUaAUobyqSaCwqRGhfbT67CPjYwwWX8JzZ6O5zlV7N++nlN1QSIDm2gxKvGxd+VbQIbbCaqXY2RSMoXQMH6pWb8iveI/QH7HJ1WxXKvaiW87qKZBSQ== X-Forefront-Antispam-Report: CIP:12.22.5.235; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(316002)(1076003)(8936002)(186003)(36860700001)(8676002)(82310400005)(26005)(6916009)(508600001)(5660300002)(426003)(336012)(55016003)(2616005)(81166007)(6286002)(47076005)(83380400001)(70206006)(356005)(4744005)(4326008)(36756003)(70586007)(6666004)(40460700003)(54906003)(2906002)(86362001)(7696005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2022 08:52:24.1487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ace4e6d3-5d80-41bc-7577-08da1acf6e9b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.235]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT045.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5829 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 All these three patches resolve the same issue. Michael Baum (3): net/mlx5: add minimum WQE size for striding RQ net/mlx5: improve stride parameter names net/mlx5: fix MPRQ stride devargs adjustment drivers/net/mlx5/mlx5.c | 55 ++------ drivers/net/mlx5/mlx5.h | 13 +- drivers/net/mlx5/mlx5_defs.h | 4 +- drivers/net/mlx5/mlx5_devx_cmds.c | 28 ++++ drivers/net/mlx5/mlx5_prm.h | 38 +++++- drivers/net/mlx5/mlx5_rxq.c | 220 ++++++++++++++++++++---------- drivers/net/mlx5/mlx5_rxtx.c | 14 +- drivers/net/mlx5/mlx5_rxtx.h | 4 +- 8 files changed, 243 insertions(+), 133 deletions(-) -- 2.25.1