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 02E7DA0C4E; Tue, 28 Sep 2021 10:35:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CECD1410D7; Tue, 28 Sep 2021 10:24:15 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2079.outbound.protection.outlook.com [40.107.92.79]) by mails.dpdk.org (Postfix) with ESMTP id 58AC840DF6 for ; Tue, 28 Sep 2021 10:24:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q38RCH8UcA4Sld2/T1+hy/YV9W3nx8nJmOsiU4XeDv0sBLV3J2zjMPlvOlnRfeQ5lCTo/3eRgLveFyjwHUudn5LwIsU2hX5rbbilMJEfwoP0ThyN9s/a1teukaZN/js3of0DhTIH3TMnFS0MygCFmJ4ZIxguaV5Z81epnMrtpl3Bs2yCYJLauQzB3YHVGjYs1BUulF5+XzbU15SgLZ930tTotHtGSHA7fqkVQDVZbeFYGzCymJPK/MWiuyuXtRa4eLDG9k5/EmrMFFp1BHfEJ0opGlSuESzwaf1YSg+X9ck0O52NjA1LrzDvFK+QZ30bZjLd+hj3k+vVDjOWF9yfWw== 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; bh=eAKWzmkBX49lbJ85sAPhgbW9MdNJNqk3lFXlmuSOq2Y=; b=Iricsv+Kxw+MjJU0soS48p07wINVeGtYqObbDP3DllCCbqArUWPG8y+ywBDaHpnjh3ahVSumBNE1T5xInhnd9Z5qPGbaC6ZU9VZNdMw4KsSJerW0Jafob0DEsTprE71pX0ZcwZtWI46oDiPY4g4WDl9sspDXupKWns+/KmUi8nKcwgYi/ztNqD4B67dte7BJNtKQU3vvFYSkFqmtJaBPMrtcyEXWpUAwwKWRRM8E+khxOopl3LDUzLbCPuHc1jjF+2ZdXx10TCimr8ENqCuBm8CPQoTsvNdEmf97xajkMQGQbCW6enriPAOpOk5A1unnZGkcs37b/6yQ+TuDbs87yA== 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=none 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=eAKWzmkBX49lbJ85sAPhgbW9MdNJNqk3lFXlmuSOq2Y=; b=XndAG/2jvzeB/0MYekNXjAhDCAsVm8M3FohwJzSno3hjaQC1STrCZnBv5nn4obwGbWkAdL1S4M6kutNfzOJRdMBQ+kRangQYAASj5YYqRAkFa+++VW+QI+s3v3QZTJSOHkFXnMCzO6aKX8raYMxZ+QF0wBnOSmzsfVn++ubIf3HCvN7efeokGmCO+9gzC9N/qt2AN5HFF9zyq2DWJfMDqICEODydl307n9fHPW2XCYS1xFqahXh0CjFzzeptQ4FcNTvIOPCYr+6Os9yBcVca0YLfKbhlsPyCwYixayGbh8Ttd3ZHkfR8UUNYXxgVOlQntA/f5brANV6yfXKMRkepTg== Received: from DM5PR17CA0066.namprd17.prod.outlook.com (2603:10b6:3:13f::28) by BN6PR1201MB0145.namprd12.prod.outlook.com (2603:10b6:405:4d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Tue, 28 Sep 2021 08:24:13 +0000 Received: from DM6NAM11FT058.eop-nam11.prod.protection.outlook.com (2603:10b6:3:13f:cafe::1b) by DM5PR17CA0066.outlook.office365.com (2603:10b6:3:13f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14 via Frontend Transport; Tue, 28 Sep 2021 08:24:13 +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 DM6NAM11FT058.mail.protection.outlook.com (10.13.172.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 08:24:12 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 28 Sep 2021 08:24:11 +0000 Received: from nvidia.com (172.20.187.5) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 28 Sep 2021 08:24:09 +0000 From: Rongwei Liu To: , , , CC: , Date: Tue, 28 Sep 2021 11:23:53 +0300 Message-ID: <20210928082355.1616087-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.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fab0fb5-e258-411e-2e95-08d982595a51 X-MS-TrafficTypeDiagnostic: BN6PR1201MB0145: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DGBsvjB8U4DZ7g8b3JQse819sc1EUMb4KgvuaOQOJMf9Tk0DdBJoWimF8H/Dr0whTXPWBua3+XNA7ArE4eNgm5a1SZieabMo51Yic5qJrhwF9KihuufBthDu2eEc+Srcm+CfDTzodaKE0s+tkC+ZB4O0AYr1wocwW4l3mvPWMP9CwHguu7FsgGLgMSenpK5l4260Pl1cBjz2YWdBB0S1BiH9pNXViPED72+8p0nxqnlSVPTNop8cJ8kF3JndVPNuZJF9QIGj4ryKMr5OiTsUbhu5hKwh9VPMaEiTEwZ/76CMlDhYgscOwlRVTkgAELTGtqZRQeUNJY5wbFOKJMM3dB9nhGgPAhkUScN0SJ8Plj7t11S2CKmQ8zN7YAQwcrUwcyFIdJuK8xbUL4Uoqn8FkjRq2WBcIh99g7iewNiK6pr4h9zJZnSLqo4v1F1cdWOrjTIlorSbkTi0qj/38Fzem4Vy/3rI9rNiXoFphxz/3ADjNpRuUn4bZBoJ0D68B8a1V5CMRby4qYkzytNACoWVnSTPI+rlzUu7xWHn2nyU2vfaSl0kviZXHuvT66G6S9MMQGoU7Y1JiMfiQsRApi5RLba2uHI5VQNW7rwuq/sbYYmIRPoPYEhBeEuWpDgl4IrbgMIM3QPmdlvthtWNiQxac9v6/Boqgk/3wPp1Gz+y4uTPdYB6aOwzjXz6FNk8SEVo6QZLr3VMLBn33KaKoViO3Q== 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)(186003)(86362001)(6286002)(356005)(4744005)(70206006)(2906002)(426003)(47076005)(36756003)(16526019)(2616005)(5660300002)(26005)(316002)(70586007)(8676002)(83380400001)(7636003)(8936002)(7696005)(4326008)(55016002)(336012)(110136005)(1076003)(107886003)(82310400003)(6666004)(36860700001)(54906003)(508600001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 08:24:12.7476 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4fab0fb5-e258-411e-2e95-08d982595a51 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: DM6NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0145 Subject: [dpdk-dev] [PATCH 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 Rongwei Liu (2): common/mlx5: support pcie device guid query net/mlx5: support socket direct mode bonding drivers/common/mlx5/linux/mlx5_common_os.c | 41 +++++++++++++++++++++ drivers/common/mlx5/linux/mlx5_common_os.h | 19 ++++++++++ drivers/net/mlx5/linux/mlx5_os.c | 43 +++++++++++++++++----- 3 files changed, 94 insertions(+), 9 deletions(-) -- 2.27.0