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 C3628A00C3 for ; Wed, 23 Feb 2022 17:07:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD7B441C2E; Wed, 23 Feb 2022 17:07:29 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2062.outbound.protection.outlook.com [40.107.220.62]) by mails.dpdk.org (Postfix) with ESMTP id BD41141C2E for ; Wed, 23 Feb 2022 17:07:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1YU3Sb/E7+I9KZ6KgruAUAquImUgV00WG4Sy6RSfg3hj+0jEwzSQPbyaTGi61czjU62TBOSdEjSpL44mCv5P7t4bYKntAOqz29T+pRxqoFT5R6XGnEAFeDTAX7VEN88trUJ6EtWISdQzoGj3vG5O7LF6aeHd9Pk1adG3eaLgBtl37rBLZshMCrpwLvJ0BzMhs60gpp4ypCUzzEMvyxne8KXB+MlA43bt2yWmYHU555k8P8GDjCM0P8+kkoNzCtmHm+3trHfnsHoRN8JY6VoTC7EDD+lwXsObgyYi/woDNAsMRrojY1UTPGR5eJWEK8SA7Q93CVzThF7Tghi4LgX5A== 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=OxWusqou2hwmNRsD1aLzdAgb83a7SYpt03EXaHPMrtI=; b=UDOsQUVbiQ5evag575S2Q8fhGa23bGdoIXKty0rMuAB8COk4i6UzfOqaDMqKB6ZkW7VfvdKWkVyPLOPz5cULYTd5bnnZL4VxlaDYYkC9KKY14vvWJEu6iojN+FVwtuTNS65cwdE7dSnpIAC+mM7mEz3zg+rt62iilzm/YObVTZXfGTeTjJK467qZZaHHWv8ZJ538G2NSM9RS4snkjwFzd2Z4sAr3tyzGRFVpzcLiL0l/C++E5fwft+ZyuC0zUqWzk/Y/L/wSSII8VHsSBkFmSlgkfnp1MN4gkrAqNi6dYuK+3TKxjBy7KSUejNy2A55lzbHfDpp6i0Tf1QR91bTtAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) 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=OxWusqou2hwmNRsD1aLzdAgb83a7SYpt03EXaHPMrtI=; b=UPieMHNw7UJk3qjGrA3V+2multc9KtsO3jvjmBYCbm08kGgTLp8AwdBzUBLyQB/FZPdYHh0tMMt2pRgczHrYhF3btI7GalOPWdhIwceIMtxLIOVAn9z7m7WJpLjm3lagewGA2Y4d3TfVJ1MjTBfFJhACPYNRsedYgeaXTobHT7TBiE/LzPoUe/QyQGpmBwsfVUhB9di3hk3I/WU+cSKsAKQhYTDMcSXgbK+MnYB0mPf3tfwCV9uJPBc/zM2d6GU5EYgRHzr2gzFS20bSKF4oOv/BEkJJXvEmpy1ymOv8Bz6auDxHxJBg+QoNRnZvSNuGgHVrhtfAgfp9XzloUcDHRQ== Received: from MWHPR07CA0004.namprd07.prod.outlook.com (2603:10b6:300:116::14) by MN2PR12MB3455.namprd12.prod.outlook.com (2603:10b6:208:d0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 16:07:22 +0000 Received: from CO1NAM11FT067.eop-nam11.prod.protection.outlook.com (2603:10b6:300:116:cafe::17) by MWHPR07CA0004.outlook.office365.com (2603:10b6:300:116::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21 via Frontend Transport; Wed, 23 Feb 2022 16:07:21 +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 CO1NAM11FT067.mail.protection.outlook.com (10.13.174.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Wed, 23 Feb 2022 16:07:21 +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.18; Wed, 23 Feb 2022 16:07:20 +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; Wed, 23 Feb 2022 08:07:19 -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; Wed, 23 Feb 2022 08:07:18 -0800 From: Michael Baum To: CC: Matan Azrad , Viacheslav Ovsiienko Subject: [PATCH 20.11 v2 0/5] mlx5: some fixes Date: Wed, 23 Feb 2022 18:07:08 +0200 Message-ID: <20220223160713.2992784-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: da67d833-883d-431d-3083-08d9f6e692d5 X-MS-TrafficTypeDiagnostic: MN2PR12MB3455: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: NmNMM4UQ4bBy71XY8oRsSkxv+A/OZHkMNcZ19cWTem6nLlCQF8de/K8ADjbBn7IOLspaIVN1npbFu6OBrpTWSG5Ub3nArQ5RfOjJltDzsniD28gqLbqyeDQzoaFyOkmHKQFPwp9ZyB58ycaVNk1VDmQlU6V5NEbYWufs0Hmf5KM4kFemQdxvsRjBswilNkIe05ZgVcevROQF5iDwfCwJyHiToIwOUnZImYZjym/elzvuZLeaU/lBpSQp+YPWGq05T5qPf9ezo0P++QYHpb+3MrEyI7ugUTwJ1zW+Uo6nWdprcydJn9HKSRFApnc5+YEHq/+io+gmpLsNMObnkPH6w2/0F6BOuU0RkTA9KhxbZZ5H+QL3eXdJCiIaXHvBiXaBWCSPMlK7iH1Z+XrYCOVKScphkLhfbZTjrqrlFV6mGPNnF0lwt4ZTqp/Bozq7lPeZWYGNb+EiyBe/ZOWhyng/kRtZSDNvY3a6BCotYydhLgk3+iwWbVrfSoY4tBUwucXVUSAIuMULb2zdBs/oHb7XQJZmdCAsyJIkA4PwPWZhwLR9BjFnEkC8vsDN1oNfnaN6cgPJ9VZZ/3KocsRjk8w/IDdIuLzMV92uhLyUtrG8LXo95Ep6BZ/QSEvDA73WtPAGNrqNGpe/lPAIXfQHtGwwpt3rT5bB6CHRuxi88vUQctKuSroy/T6Em/h/MGkXnRPmKqqylrdGwkqHsQkgbGGzfw== 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)(46966006)(36840700001)(40470700004)(55016003)(36860700001)(426003)(83380400001)(336012)(40460700003)(2906002)(6916009)(5660300002)(7696005)(6666004)(8936002)(47076005)(54906003)(36756003)(8676002)(356005)(1076003)(107886003)(2616005)(81166007)(4326008)(26005)(70206006)(316002)(86362001)(6286002)(186003)(508600001)(70586007)(82310400004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 16:07:21.4898 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da67d833-883d-431d-3083-08d9f6e692d5 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: CO1NAM11FT067.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3455 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 v2: apply on the correct branch. 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