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 27749A0C4C; Tue, 23 Nov 2021 19:38:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BD2B40040; Tue, 23 Nov 2021 19:38:33 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2055.outbound.protection.outlook.com [40.107.236.55]) by mails.dpdk.org (Postfix) with ESMTP id 7B1274003C for ; Tue, 23 Nov 2021 19:38:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RUHQF5167KAnHYHg2XdwoTxc6o1kxDk3U8S3xbt6ZOSBlJkm+eQ+NVm6rtxPjl/d1KyDQlSQEx9hk5zcyHTFZzmFG0OxNJ14dDieCBKVbV3SyM4WtgijpQSZw22QyibKevzmkifTrVN1ogluHh7A4T8ZD3k+u+Yn3Fn+ApXwuvkm3G2oz/NyhdCjpqS6eL+hj40tHzL/neHBX5iqjBL7Sfg49mQTdLmM73yppxFLmfq5jReYayAfVrig7eqlxCWix+7+4VZ6G1PEiPAER3lq5UezsUFfGQZk0uAAFYt/bMpvmh6fnPFLEo5RNdzZxjbUNMqH1MK6ccdM06uHtU12iw== 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=eBMAwf/uswnHKjh0Sq3+NzE2SHHx/JDkU4x2Mf0bZOk=; b=R6k/kgSbLwFvWwj472dIyweky0E5hIowHSwnpVvtOO3mOhfjozjKVyxef858FpQY4ej7WCLH1SDUMdP8sgIA3l28wJoZ/EmD+jGi521usU1wVK6IKKu6dBa1CdSQkZOlt9x7xCpML/Nm0/fVUZnWCNU+XAvwE2HD94UXPVbfTXNjPoN0kd2S5iOi2UKxx8c9NmQuR6rVuAoBd71p6O9VmjNqwTfU3p9gsnkjU37bOv+zT7EG78EwheS89n+E4bf0bizxx/GyyAUGcyxfyXAHraQDuhjrj0DIZcY00bkIP5ZcLthz7ehH0gm4Sp1bZP/5AQNW3Zcpo6vr9PmYfMlgGQ== 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=quarantine 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=eBMAwf/uswnHKjh0Sq3+NzE2SHHx/JDkU4x2Mf0bZOk=; b=LDdB9FQ/VdPSaGt+KAb7reJbyQsiuA9NrKBhlMb/p3yaZCpbmyS9CIOIEcbeofF52ml8P0L/tgHvdl7HZUSUZIqeAe7wEhLxQxH2PogdgXrfkCLm+ymH5+wTA7S7b5BEFocwytFOSWL2mS/uu3BCML2qf5NMoDQsuLLE3ykiSV/vJ8IOMO5LfFFFOBldPCyCnxsozyx+EgAo6PLhIAdSB+Qt4CUU2D+rNkuUzs+V2e/E7wCkI0jFvRJl0R8nY3ZTdk74WBsTrgwrBL6+4F1MLJdgDE6m6LLsO5YW2NUtgoOCbGTc8BTwq75p1howY4+s1eXTgPSCLFwKuRcazRCRuQ== Received: from DM5PR22CA0015.namprd22.prod.outlook.com (2603:10b6:3:101::25) by CY4PR1201MB2518.namprd12.prod.outlook.com (2603:10b6:903:d6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.24; Tue, 23 Nov 2021 18:38:29 +0000 Received: from DM6NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:3:101:cafe::39) by DM5PR22CA0015.outlook.office365.com (2603:10b6:3:101::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Tue, 23 Nov 2021 18:38:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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 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 DM6NAM11FT048.mail.protection.outlook.com (10.13.173.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4713.20 via Frontend Transport; Tue, 23 Nov 2021 18:38:28 +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.18; Tue, 23 Nov 2021 18:38:25 +0000 From: To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko , Michael Baum Subject: [PATCH 0/3] fix MPRQ prepare Date: Tue, 23 Nov 2021 20:38:02 +0200 Message-ID: <20211123183805.2905792-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-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dbd11292-d540-4814-76ae-08d9aeb07155 X-MS-TrafficTypeDiagnostic: CY4PR1201MB2518: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2582; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1Jc29Uk32yiMhqzfrRqF15Xg1PfqEItx8+egAlcZ7rZkkeBqEopC3ufSk6Ui1/siyFVcTjrjFkpaPwqvNG56w0IfoEodhHWEtI0aR9F1YuYQ1/LHpWQ8ZuRPrSCdG9cOAttNHLmfhkxZFzwA0xV5Am/UhkWaSCxCrQQaGS1716jZM86uugwmsq/QuTSLB2fyhBuNlzdBLeUp1WcvNuEG/wfLLJ6RrATGYiT4r6s9dOibIOdDInfbfGxsXFbLEOVg68wctB4KAfgy9NxL3aPixDdmldW52obxJH7i/h8mB9c0UCySJLxt17dc/xEmmpAmqIkjSNs+H9mNWU0pYL5cZjdu8ekZII9/SjVb0klxSKzm8R3kzPUN5nYOtzoxSHFjMON3AvkIW80bzvw2wNKhSFdRpecpQBSb4vhNMNqdIv7VKL1WqHIdn8dFowdj3DZPESJywM3bu8Wnejrohboyc/nSUAB8/EODwn9loUGfEZCHHHUWtwPV7WJm9hymc60jbbcuVBRdIATiBcQVb/MMH9EC77L5Tid5hIM5YdSyYDOYIvieNOE/2x3kKl5lDZGq02Ou8NKtdi7kgx247J1A6c4TuchwEE195R+nzotaDKPB5+xwAJljojvGC99yywC+8BN7CheS83Jpdh6/HZVdhxIhuQXW0Avq2hqImNzubjJTElVWxU24TEmXYBVZZkJsK0Ry0WUMgJXYasoHtI5r9w== 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)(36840700001)(46966006)(316002)(2906002)(7696005)(6286002)(1076003)(7636003)(70586007)(83380400001)(107886003)(6666004)(54906003)(82310400004)(86362001)(6916009)(4744005)(356005)(426003)(36860700001)(26005)(336012)(8676002)(508600001)(8936002)(5660300002)(2876002)(4326008)(16526019)(186003)(36756003)(70206006)(55016003)(47076005)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2021 18:38:28.7409 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dbd11292-d540-4814-76ae-08d9aeb07155 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: DM6NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB2518 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Michael Baum Prepare Multy-Packet RQ and fix missing devargs check. Michael Baum (3): common/mlx5: add min WQE size for striding RQ net/mlx5: improve stride parameter names net/mlx5: fix missing adjustment MPRQ stride devargs drivers/common/mlx5/mlx5_devx_cmds.c | 16 ++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 11 +- drivers/net/mlx5/linux/mlx5_os.c | 56 ++---- 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_rx.c | 22 +-- drivers/net/mlx5/mlx5_rx.h | 12 +- drivers/net/mlx5/mlx5_rxq.c | 247 ++++++++++++++++++--------- drivers/net/mlx5/mlx5_rxtx_vec.c | 8 +- 13 files changed, 240 insertions(+), 161 deletions(-) -- 2.25.1