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 6F5CFA00C4; Mon, 14 Feb 2022 10:00:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA76941145; Mon, 14 Feb 2022 10:00:27 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2061.outbound.protection.outlook.com [40.107.244.61]) by mails.dpdk.org (Postfix) with ESMTP id 71ADC4067E for ; Mon, 14 Feb 2022 10:00:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YPACqLLKAPB29g1ToOXnCngH2q79Y0feZywc+z/lfumyb10lLt6g5w2b2OdTWdvtx7FYmMevjQovx01scfLWD/vGykb14oGyjJC5LxRhh/iaJbsPI9WjFwVH5DxbtjLibXXvEyOHJJ1CBtSmMoLocTSyV1dnlccr0NWs0/SyNe351R3NGRYkhAFMZixwwHyZQ+VnYRDVDsv554D2knZxIEjjMCTpuY5qylnChVMZPzecugsdCRRVheVAMi32+JntGGDS1e73/+GhXOSnYewe2BFcwh7bYEMVALRUYEgIYPCCll8fRuP5mXrl48q/Wv42bnMrTDGCRPmBN4PW7Q9LsQ== 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=roUXZacLxFEuixZZSeDhZnjjizw6+wnDzm/q50bAly0=; b=JzNdbnPVTmIKKH0E6bf4TRzqLZbeGi9wIJ2YzXVJuIohYPL2dNGj+6NHhQFC2cQXpkHzsysZaVssFc3lFF4obE44V0cxlBqR/FirL9t3QJ4282k76VuMnUsCmstwedu5b9J12qLaclrOnQbgMFvLqY2tDp37HH6Aas5NAGkBahiIQUzpr05otRQLQbCeG8DwQ+4c6qAqLQnoegJgz6/+KHDaw/7QVRScGKG4A41TrvGMjZNOTE4t0YQ06WDhxC9fueWt7ZuCBeQZ33jPNnXLfaAOOj8Qncz6DBpdRNArvehaG+JB4ywcJN7KBkAXST2mQp0yV74E4Iq9Hy0SZIiDpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) 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=roUXZacLxFEuixZZSeDhZnjjizw6+wnDzm/q50bAly0=; b=rSI81C167okDOb5emwPodLGYgBwar0fJhy2AQU4iAiHsa8594GKHtHy0ow0yNW00tmfNY9jhqTltu9Z7NY9oJKiGqPW6HSplUdU4ObTRNkuRJRD0MGDZKvr6c65nSR19FG3v44yU+tp2w1389OjuRMaxxIdbycXa+JPqIA2pbeE7zsoy/ayYHTwmznrKyC7aVG7Lpfmoch/M+FkMN15bbHHWCYip8yQwdiH7+3ZOGT7noqQJj9gpc/4J51pCJbmWpATYWecqKu3o/AW/SnWwGvBIZlEEG4XMUe1C8GrkpaFO0l5kBPTLQf/zys4qcgQB35mYC80a3v7nxOnn+eAC4g== Received: from MWHPR20CA0023.namprd20.prod.outlook.com (2603:10b6:300:13d::33) by CH0PR12MB5060.namprd12.prod.outlook.com (2603:10b6:610:e3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.18; Mon, 14 Feb 2022 09:00:22 +0000 Received: from CO1NAM11FT049.eop-nam11.prod.protection.outlook.com (2603:10b6:300:13d:cafe::6e) by MWHPR20CA0023.outlook.office365.com (2603:10b6:300:13d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Mon, 14 Feb 2022 09:00:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) 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.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.234) by CO1NAM11FT049.mail.protection.outlook.com (10.13.175.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4975.11 via Frontend Transport; Mon, 14 Feb 2022 09:00:21 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 14 Feb 2022 09:00:19 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail201.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.9; Mon, 14 Feb 2022 01:00:18 -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, 14 Feb 2022 01:00:17 -0800 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Subject: [PATCH 0/2] fix shared RxQ creation Date: Mon, 14 Feb 2022 11:00:08 +0200 Message-ID: <20220214090010.1541746-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: 3cdfa832-d4f1-4522-92ed-08d9ef986e67 X-MS-TrafficTypeDiagnostic: CH0PR12MB5060:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jknEnqa2S3UVx+inqex6wKu0EgHCUBNrwhOLaA/NXY6FtvWMbtgaB1IxOgcu6iXlCLNrKozzKQ8bP/LHD0WzbwCVXSPsx/Up7ZUa/EsQoiTsh0rhrd6UMnQsjVIklinji6Z/Fft+y40CcwKiZrcINnugjIeFnJ+Oj0mxpOx+sg75s9SJjRJt7jMRm9IbPHuG4U/sbvRuREavclIqM9ELfNx3mqxYV4duz0DrrDT+5Ljx7U+wn0aN6RQj6saQJeuQuku/9b7w4md6licqMEEIMGREGbMinbL3oaRbgKulMKbu9NnQtyTv+lAibmj8pfgjo1fGdWxc99eWXrOQsJFaW4HDs+cQJRTGgDKSxIma27THNKqZdfVdLY/6UYkXsA4Ue/XzjnBU13W5qS/Pk6gLw3rc8vHhdEfjaJ+uDKmfA1OE/hu+y8P0kO5uzfalkMXewfGuKaDSv0dmBXg1uHUE1Las1Z8n9e9wOGy7k+cvAKyjvjRiikCi+LkrJinlgEMnvwGrQiCPijlx4AJM+twFT1alL73gVLflhO/1Zq9iWetvinQIdPwXYFwhLSdGIzki3s0bu7nnxb2tkGpnw1o6XJAZe0fgnvd/nFuhtNRJjsb+r9KklbAlPSh3qzrwBfvyWXCNGF6U3E6EuUvHHPt0MR2F+yoB4nGvtHuiTCLjFBfrp4/Oi0EkmGhhyuZ4a0IfM/3FJPcQ4BuU6kNy2FltIA== X-Forefront-Antispam-Report: CIP:12.22.5.234; 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)(6286002)(47076005)(508600001)(40460700003)(54906003)(1076003)(6666004)(6916009)(316002)(2616005)(426003)(36860700001)(336012)(70586007)(70206006)(55016003)(81166007)(356005)(36756003)(4326008)(5660300002)(186003)(26005)(107886003)(7696005)(8936002)(4744005)(8676002)(83380400001)(86362001)(82310400004)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2022 09:00:21.4891 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3cdfa832-d4f1-4522-92ed-08d9ef986e67 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.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT049.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5060 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 Fix error flow in RxQ creation and optimize it. Michael Baum (2): net/mlx5: fix invalid entry in shared RXQs list net/mlx5: optimize RxQ creation drivers/net/mlx5/mlx5_rx.h | 3 +-- drivers/net/mlx5/mlx5_rxq.c | 40 ++++++++++++++++--------------------- 2 files changed, 18 insertions(+), 25 deletions(-) -- 2.25.1