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 47579A034F for ; Mon, 21 Feb 2022 20:46:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E92D4013F; Mon, 21 Feb 2022 20:46:47 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2066.outbound.protection.outlook.com [40.107.237.66]) by mails.dpdk.org (Postfix) with ESMTP id 4896E4013F for ; Mon, 21 Feb 2022 20:46:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=auRGb1pNBv53YRcL8ptKl/AZKeVmleIlpn+X9AxXyjkXGIkvyoutIZRE4V9hmefN4dFc/IRCO1iAFkjd1F3gxw6lj/igeIdnqRIrzLUdhUVqleAJsNLoAuY4mAqpqZmVqCfzM7O0DV3XjDRgye94xEjJZw37a5K31TmgcVDLvvioDUCWeWJ4euxL/yg4eeRi1xUJ2I3XhlXXvUZcYrFQC4shAgx2lwqalGEeE3bq+1604CAIDdktXLS7p0DgL3IODb92kUOT257d15XwHvsxEJxG8CJkyedYEkuCrwI7D9aPNcX5SmU5lyjdy/aH5PognqDqHSXbo+2out/Cv53R1Q== 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=ey8B18AFH9aWx5DI/2MdWaljazpOkSsIxd0yAkA41xg=; b=MvcBOacKMrvO6oKepz1/bFej1D5+NyPzk0qYPGVNtrUkoFmE+diFCRWphwtc1A93Ym1L12mXc500Lef23KP634qfKVn9q70jWGC4p/Hw4MkFENlnQl6txynSIAY4HGVn1aEM5mbOAU7vJ/ED4Y0SIzLiQCHuMs54Z7TS/QOF+PoEnlkQOTN/kfTxEh0aUaYJpUB/J1qi4kvVowgVwAXbOx51bkcw5TYENGh39uViNWERkWsZZ41B++ue6i2o/Nks6kwXsTcB3Gws+I/H22B32Vyl3CijeBEGrZqf2D6REfxyALMyFg4j6ehpXVaRSy2TKZsv7Am2Flvtr4V8pz1lAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) smtp.rcpttodomain=dpdk.org 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=ey8B18AFH9aWx5DI/2MdWaljazpOkSsIxd0yAkA41xg=; b=TM+YfiiNp5+9iz8qQzhFwSnfZxWIxxq5boiFh2ZUDHMEPbOFwlNNS1VCc5xvUTM/TdjpRYztah6vuVlPpBO1hfRFch0bZtH6PtyghrZQwQrbCEyAjhW8FCmF12ps0Yffhj529mMdWtkFgl46Q/fzrP3WwhaHCGHd2Qh+AvR05vN4HgBPNU1W/tUkMJAfUdqd641mZqj30MDn/p2qv78QxwqoIYSezv8Z+u0br6waqXNS4Ks7xykdtVdUmO8WbgpWmpJ5Nq7ChdZB7VchSv27rXWiZcqHoGpB8LTAsQ05KN7vNOcH3R1koYWdGH5ZZgdzBQU5WtQRdyBNIJqNTpLLVw== Received: from MW3PR05CA0013.namprd05.prod.outlook.com (2603:10b6:303:2b::18) by CY4PR1201MB0118.namprd12.prod.outlook.com (2603:10b6:910:20::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.24; Mon, 21 Feb 2022 19:46:44 +0000 Received: from CO1NAM11FT007.eop-nam11.prod.protection.outlook.com (2603:10b6:303:2b:cafe::d3) by MW3PR05CA0013.outlook.office365.com (2603:10b6:303:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.9 via Frontend Transport; Mon, 21 Feb 2022 19:46:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) 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.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.238) by CO1NAM11FT007.mail.protection.outlook.com (10.13.174.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4995.15 via Frontend Transport; Mon, 21 Feb 2022 19:46:43 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 21 Feb 2022 19:46:42 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) 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.9; Mon, 21 Feb 2022 11:46:41 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9 via Frontend Transport; Mon, 21 Feb 2022 11:46:40 -0800 From: Michael Baum To: CC: Matan Azrad , Viacheslav Ovsiienko , Subject: [PATCH 20.11 0/5] mlx5: some fixes Date: Mon, 21 Feb 2022 21:46:30 +0200 Message-ID: <20220221194635.2458173-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: 25ed74ec-d957-4092-6174-08d9f572e36d X-MS-TrafficTypeDiagnostic: CY4PR1201MB0118: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: HDI93yvV0gXfSMaalGb9cbasFPUrNn45x1MySQ/SuakSobGX4zhd9g0w0xk1aBjqIuImj5XddKBe4FxysgjC69DuFW3QCJ1n5R9dpVmCyAVvz8Zo9+plfINRu8AgxCTkx4PkRo78FnOD+YidNSIL3XbUTRC+s/j75IvpP9YQXhIGlR9gNMg5h2VWb2OF0cc8DLWfc7hR0++O0n+5QAIBGHrjTiluiD0YIPrR+kP9nJsmxZyMstlK1yP76oHLQu16/7+up0gaIf3XBbgC+RM48g88+FsXULZ70XZznunOM9nFDmc+GJTXYxMUKFot8JTXZ4loGb1Dd6H98+724BSXqmy810YjvR5nVnBHxZ3ZA0aVv9c41auz0+Yi9x6RuJtMieItdzKn4AiMA8UqVNE4ikIcSlfy78f2hFWhZGqJ3dIkVknZc7R9jzO3K7Z/HTVrhUmCsQlXSuqoY/u+3oaLXkSQRsiK5HQZ3EMnCEGmHgrpUZHjN5Ggr2gy15GBGuQykcBOyhVQD1OZcWn1OxbR8ek1/ZRF8/tovMIWc3Gkrhh6mhR9q1Cxvj//qii/+0937z9U4OlxYo6nvcqOGkMcjkhv9N6aw2s9lN5ocWovpIRmkeufsyP2saouPEl3PRRCuE7fKC55vz20jFfgEbCNKfPbVfwMXMmI3zbujRS/3k9JojlIKn4OfQ56s4KQJsqXEt99aBngQBKtkhFz0ZSKtQ== X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(4326008)(70586007)(26005)(81166007)(6286002)(186003)(1076003)(508600001)(70206006)(82310400004)(8676002)(2616005)(107886003)(356005)(86362001)(316002)(336012)(6666004)(83380400001)(426003)(40460700003)(54906003)(6916009)(7696005)(2906002)(8936002)(47076005)(36860700001)(5660300002)(55016003)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2022 19:46:43.9059 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25ed74ec-d957-4092-6174-08d9f572e36d 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.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT007.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0118 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 Backport some fixes to 20.11.5 The upstream commits: - 10599cf83e common/mlx5: add minimum WQE size for striding RQ - 8928997a13 common/mlx5: fix error handling in multi-class probe - 147f6fb42b net/mlx5: fix memory socket selection in ASO management - 34776af600 net/mlx5: fix MPRQ stride devargs adjustment - 0947ed380f net/mlx5: improve stride parameter names The following commit [1] sent by Alexander Kozyrev fixes one of them [2], so I integrated it inside. [1] 728b6447e7 net/mlx5: fix MPRQ WQE size assertion [2] 34776af600 net/mlx5: fix MPRQ stride devargs adjustment Cc: akozyrev@nvidia.com Michael Baum (5): common/mlx5: add minimum WQE size for striding RQ net/mlx5: improve stride parameter names net/mlx5: fix MPRQ stride devargs adjustment net/mlx5: fix memory socket selection in ASO management common/mlx5: fix error handling in multi-class probe drivers/common/mlx5/mlx5_common_pci.c | 7 +- drivers/common/mlx5/mlx5_devx_cmds.c | 28 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 38 +++- drivers/net/mlx5/linux/mlx5_os.c | 48 ++--- drivers/net/mlx5/linux/mlx5_verbs.c | 4 +- drivers/net/mlx5/mlx5.c | 4 +- drivers/net/mlx5/mlx5.h | 12 +- drivers/net/mlx5/mlx5_defs.h | 4 +- drivers/net/mlx5/mlx5_devx.c | 4 +- drivers/net/mlx5/mlx5_flow_age.c | 27 ++- drivers/net/mlx5/mlx5_rxq.c | 249 +++++++++++++++++--------- drivers/net/mlx5/mlx5_rxtx.c | 22 +-- drivers/net/mlx5/mlx5_rxtx.h | 10 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 8 +- 15 files changed, 290 insertions(+), 176 deletions(-) -- 2.25.1