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 79376A0C47; Tue, 26 Oct 2021 10:48:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A8BB41C27; Tue, 26 Oct 2021 10:48:49 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2077.outbound.protection.outlook.com [40.107.223.77]) by mails.dpdk.org (Postfix) with ESMTP id 7D90041C25 for ; Tue, 26 Oct 2021 10:48:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bpE+RwlY/RHos/EynqMHPEP881vk348y+sE6aaGHyqXDFGKz5SjT7PQWOEX1xj8rjeBuuk/rnIGXrPVIER9gMGoMgIEbM213Giy45gNLSFQJUgru29y85Vu8Y/PRHHJkwbkKitRNsCsR1lkzQZ3VOpBbq/0qabFiUtifNdk+YU+VsdjpKcAJA9Uu3fN9ZSlQc+gVYkA/Q0GjLT6d6MG0C7cs5kiF7CDNfiJBteqiOyDQpZi6S5nrEbgNAzkMXFO1msIi1Sa1vw4jSZwA1GEhNVWNPlKORkXb/DdT3rTYEEfJqYwOc9xXcyH+5D+5HKU81WFaLHo+D11ajbUl+aOepw== 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=GYkugYENnORdK2rQ3LyJOtX+XGWyCr39Z7rVmzqqRnU=; b=NsHlc/u8nn10UFQn56mX/RShgcdaoJ+2gBzcJmr3X0vO5o8J1lU6jix10jADOcEvgQE9gDWVG78swG9LSG0kz+VrggCndMSqzWiisuNWRKxHNF9fNY830n9aoQVGlCD0YFuHcqF+VoPhi2eDHhsX8xqvgy4+XDamFuinwokdbKCJqnpxpVSmxqNhSP3Jzw9Jjn/dafhNbWvGEllT8xDTpZwiau76aXTC78RmXQ/rsTTuVzGwY/i721GSA+p7COItVTMwsQav3Q2DBxjn1Nt/rEYwPh01cDAr9Va1VWQDfvAAeUO3N7n4MCUwBlJ4wsD2jT1aRO5Y+fpchK+YkeReOg== 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=GYkugYENnORdK2rQ3LyJOtX+XGWyCr39Z7rVmzqqRnU=; b=YXf4Uq5aLq71ferhQBGNwhYmkagnsxZ322rFEbX5wtWJfmVQfZgNDQ9rrvTLuSubP5QBvLCRBr2ljqVqfSyHA9Qg4sSNWlggahh3DEFbotzDA28dDTaaDVMSSv4MsfXIWRqlDBzpS3xTGpCV2Gzr70TPhV5K5JA7emj2VKKaT1xnfn/I+M2uHGmcu+EkQZLiYDx/2QDd9cf66sT44PcYffZIrBmzVyp+tELDOXlrRIbXvnkmlmwHxVhFSIXJju2ez6M0HS4DCb0X0SqrL9G79GXs1nO6DBCn4oUBOErJ333ARsfQzy9dlr0pzs9jRjfLJwNPRF2L4Qc9Hm7Aja6myQ== Received: from DM5PR08CA0026.namprd08.prod.outlook.com (2603:10b6:4:60::15) by CY4PR1201MB2471.namprd12.prod.outlook.com (2603:10b6:903:d0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 08:48:46 +0000 Received: from DM6NAM11FT012.eop-nam11.prod.protection.outlook.com (2603:10b6:4:60:cafe::13) by DM5PR08CA0026.outlook.office365.com (2603:10b6:4:60::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.22 via Frontend Transport; Tue, 26 Oct 2021 08:48:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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 DM6NAM11FT012.mail.protection.outlook.com (10.13.173.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 08:48:45 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 26 Oct 2021 08:48:43 +0000 From: Rongwei Liu To: , , , CC: , Date: Tue, 26 Oct 2021 11:48:28 +0300 Message-ID: <20211026084830.440951-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1eaa5991-f74d-4403-370d-08d9985d6bfd X-MS-TrafficTypeDiagnostic: CY4PR1201MB2471: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TBMF5mCCRtyaMxdv2DC1jaJ4p52aK7CVhH85W/4kBP16H/Pk/I04Vwa1I8CHufQsYiTencgaUoxLmuIXZna2SQWXtzpDOAuKemGC3mEc1COIk3agX5RupBx99OpZ/iCfj9L2nb7ygpbtpnpO9XEme3JgSz1oEOuSMjJl/JRAyElUNsiCIt52hHzEpZu7lzAo5vcfw88+iwEQZ38OvrN5KSnhV6hukQUyratnmz06Y2hWkj1joQp62lPWVQpxoaZw1edFazoYE9UjWnjtA1mnjvYAn3KGDsQ2GpYgcNjOQYP1XIDch/RvL7xLVjmmkdY/tTJsl2/H8BaMkBoT90HeqAANaNhtCEYnF9cPtJs72u3g/NcUgv/+gIzYn2mpR6gwAGujQlgGa2BwoBY8qq7rGtpu8xv68z8EUxZGPlMhqw0M3ogCjozA5zxtsPgJCuLR3Qx87uBbnGd3vGa/5iH/uaK6LQJrggXRVV18OC8nBaGcTYS/H9AWKiDlupcIYJg2BckR3K48k+0xMXmLAg47oJAHHgIUuhZtrmacaFa5So2i7b1fztXPFDP18vMqjr7QID8Y0TuHONROLiKj7aKVHR15TafhXobfTa9NafFI52hKDkDdrfP/G/RHcsUFn84+HI92+UZPa1jNs0qfdz/lHmV8JwclkXGYaqh9+mbSN8qHXWGw5LFhwZCDiVEQPN5g+ma+qXXmhTodreDg8CJP6Q== 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)(46966006)(36840700001)(7696005)(70586007)(54906003)(8676002)(36906005)(5660300002)(426003)(7636003)(82310400003)(4326008)(336012)(8936002)(6286002)(83380400001)(107886003)(70206006)(110136005)(2616005)(316002)(186003)(508600001)(2906002)(55016002)(36756003)(26005)(47076005)(6666004)(356005)(86362001)(36860700001)(16526019)(4744005)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2021 08:48:45.9793 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1eaa5991-f74d-4403-370d-08d9985d6bfd 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: DM6NAM11FT012.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB2471 Subject: [dpdk-dev] [PATCH v5 0/2] support socket direct mode bonding 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 Sender: "dev" In socket direct mode, it's possible to bind any two (maybe four in the future) PCIe devices with IDs like xxxx:xx:xx.x and yyyy:yy:yy.y. Bonding member interfaces are unnecessary to have the same PCIe domain/bus/device ID anymore. Doesn't need to backport to DPDK 20.11 v2: fix ci warnings. v3: add description in release_21_11.rst. v4: add description in mlx5.rst. v5: rebase on top of master-net-mlx Rongwei Liu (2): common/mlx5: support pcie device guid query net/mlx5: support socket direct mode bonding doc/guides/nics/mlx5.rst | 4 ++ doc/guides/rel_notes/release_21_11.rst | 4 ++ drivers/common/mlx5/linux/mlx5_common_os.c | 40 ++++++++++++++++++++ drivers/common/mlx5/linux/mlx5_common_os.h | 19 ++++++++++ drivers/net/mlx5/linux/mlx5_os.c | 43 +++++++++++++++++----- 5 files changed, 101 insertions(+), 9 deletions(-) -- 2.27.0