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 6B4BFA0C4B; Mon, 4 Oct 2021 08:45:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0992412C2; Mon, 4 Oct 2021 08:45:16 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2045.outbound.protection.outlook.com [40.107.243.45]) by mails.dpdk.org (Postfix) with ESMTP id E905D412BA for ; Mon, 4 Oct 2021 08:45:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nqdctqnNe3kAkxzdGENZAmi/HxqxlBQUXK7FB351Vm1ACLsOa45UXf5nUvAphtL1XsgGpxNPFVVngH5swgdBuosYyPEBtLs60AdLzlE0oaXmCHZ5YUTZelbhKG8X72Ihol2Nb1KHxRv/+KxD3RxkDzGhTu0YlJ4Syb6Ve++KNvSuZE2pj7GYkpVEUgirWwzNocjuN5Xh/DscjkR+iL8kPbsRZIeA4owIBgMLUAbvIprdk9A2Pb+hwZHdv4r3A+Jb7fFpAWH6Wi6XSVB+V5arYCFOiKc98p1oWDorVqPGEVCnqzAJjnGvN5V67F4QinvlK1/thg3oxZ73eakTeFprnA== 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=io0wzHr7kEnC/n+dSfV2G+gOZ2uTQn9yp1yRbLm5n3g=; b=fwoNRDzctBM4pEkvWlD91qWLQjpV3q3f/7j4wCXbIkLJg+Ik5PpD56qGRHFM6mWd2UpXQ2LromqShxT2NXre6xixHaehv1lWPxcY/Ve9fptGIorcaLf3PXb21+ud3U9V3E+aAwJXJ/20a8YopUOoTcIDBaD9gryewWKDZl4Hr9oqjb57k0RXd9LVi39r2eBmzqEGNR22zHIDhPXBozrHXbIEyM4I9BDfXNohouOHl94hHiAeW8olWDoETPVu72euSRwfkvD4BGP7jhEYaOPr9APZGrHGemqm9FVoH2HaSjQqAfSWsmlAewYL36s8MJcdpj971nbMZHR9ww+zz5GZkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=io0wzHr7kEnC/n+dSfV2G+gOZ2uTQn9yp1yRbLm5n3g=; b=mr/eiT6QyRbRa8Zm+K4As9gghApuPO/Y72+rIKpn1UX0tPRBmdSqLo4TWoLLqvOpz3DZvb34aAthBAlT7YtwL0CcVxoQwvkC2DtNy6/jqDAUPYgNs9HJLp7J4ME1In0IwXrUFJmNXaBPjUD3O48JOn6T3N+7SVUPKxPPqDkv2TIJxkYMO3UUMGbcoH+R7K5KNK8j87bHHk1ewmxiOk6p+rASOG3Dw/eIhVh1MftLfwL2QZRqNIFZhKD15zStj0Pv77fYsKvjab/rjPw3uOJAxzqzUz4F5d1WujHY3H0U4F0HebwzdD/HSGNs9En/qwK+P5I2Bat6qtLEx3FAQH0grg== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR12MB1692.namprd12.prod.outlook.com (2603:10b6:4:5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22; Mon, 4 Oct 2021 06:45:13 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f%4]) with mapi id 15.20.4566.022; Mon, 4 Oct 2021 06:45:13 +0000 From: Slava Ovsiienko To: NBU-Contact-Thomas Monjalon , Matan Azrad , Rongwei Liu CC: Ori Kam , "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [dpdk-dev] [PATCH v2 2/2] net/mlx5: support socket direct mode bonding Thread-Index: AQHXtEYbKxot1RAgQ0KeH7hsEVeKL6u7kbEAgAbcUQA= Date: Mon, 4 Oct 2021 06:45:13 +0000 Message-ID: References: <20210928085054.1619915-1-rongweil@nvidia.com> <20210928085054.1619915-3-rongweil@nvidia.com> <2308701.4c83qqXp4g@thomas> In-Reply-To: <2308701.4c83qqXp4g@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eea594e6-a416-41ba-b417-08d98702848b x-ms-traffictypediagnostic: DM5PR12MB1692: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: g/0IxgeAQplP1ZoCE31qfvmjEA0J7WubODDHSZIYt3798UakmBftajmXhE3liSSOmnRQ4SzRgwM5umdaUOFPMoOsimrDcj8ye/j+KRkubWDti+G/19fQIucO3i0DJeg4p2eZaa24fdZ82OzL3veeqCLV83PFMfGeHPluoS/XJLP0Nk7NAUdxcatS9aR/K9FwwUQ4XeJbkeoXDTOtLpggmjydhJG/S6lcDaoHpp+2niHarGWa2+JeL6zzneuZgu8+dJ6PkfBx+kDjHSvHqdOvmcj5i4MDvtcKnz0ygRotDs3Tnu7wK5Z5fi2IWt5AQSDMlfejXzXMM13Mf5Ta+9ZKcMueuURcuMcv9T5fujv6SGc6GRoha6OaQ2GRJvR1DA4K0jQPCx4aUfmnkTw0VuYoWaRPZ9g5Qj1DR5MU2HzYKI6A2zZ7/O03QyGtyqvfawYuLVYuhModOtoS8tlpS3Rz97CtkzdzwiLzq0O1qx/edhkL2HdkJRa2Kr9E7baKJifwErasztsUa/YqQetIYAaq6H9DboGcWxq2/G4INIWf75yDRskae6ExcM/WEnS248/05g4lBSptKUP/SfOhKFfMOBnPbmWsech2q7YnJC7+42sMT7SwGuyJVzTKlzUELMlFkB9LwcDvvfFkrtmW1Oa7RRGOb6RUU6FikRPHePlRXoAY2jpPAMFbvjasC8lHt9DVvjNgRmjxGvc76EA31l9qpA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(122000001)(86362001)(6636002)(76116006)(66476007)(107886003)(8676002)(8936002)(508600001)(33656002)(6506007)(38070700005)(38100700002)(53546011)(66446008)(66556008)(66946007)(64756008)(9686003)(52536014)(83380400001)(186003)(26005)(110136005)(5660300002)(2906002)(4326008)(54906003)(71200400001)(7696005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+biKvpcGKSIF1YdH9OwF5yPpc+hSyuE7+5flKQ6aR31UeVXRItCJrJVh61zQ?= =?us-ascii?Q?jI5svDV6RcKCs9f34e576tnc//rTuE8AihMQwOi7Mj20U5ywbo6MjRp1qj5n?= =?us-ascii?Q?HhxAitephmKxOk/QoHrHCp2c0oOR6MjEJOJByoAJ+/Ow6ac/z0rp2kPzUV0p?= =?us-ascii?Q?81q0UuQOSWLM6oZN4U+1ANHHoTmStPB8qthHW2HpWbhTQTxO1nndeTnb1BhC?= =?us-ascii?Q?YzP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hPgKk4?= =?us-ascii?Q?k+/uuJNUaSEFNVEsyGIPwNBTyby9rMdSSNCnz+mIydprNU7FgujgPQ9cCu28?= =?us-ascii?Q?eoRWJN9qmDxP8554M9L+g8p5TAzJ1AsltSy5cNsp1w4RJaBEvLLCYxWp7y+/?= =?us-ascii?Q?WUjTVc4L/Qii0eid2FtfKnn2FLlDIx3gEgbOvQ/VqT4AODPh+0hWrbda5x8G?= =?us-ascii?Q?eEE=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eea594e6-a416-41ba-b417-08d98702848b X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2021 06:45:13.2208 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pfrEpZfFf7dY6G6j6piyNyo+bRMz6vJHqaZrlJZB+6eJe3C/qRug9CLwluq4knUCo2q4kTaadP/9JtLSm7SEgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1692 Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/mlx5: 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" > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, September 30, 2021 0:58 > To: Matan Azrad ; Slava Ovsiienko > ; Rongwei Liu > Cc: Ori Kam ; dev@dpdk.org; Raslan Darawsheh > > Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/mlx5: support socket direct > mode bonding >=20 > 28/09/2021 10:50, Rongwei Liu: > > In socket direct mode, it's possible to bind any two (maybe four in > > 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, > > > > Kernel driver uses "system_image_guid" to identify if devices can be > > bound together or not. Sysfs "phys_switch_id" is used to get > > "system_image_guid" of each network interface. > > > > OFED 5.4+ is required to support "phys_switch_id". > > Centos 8.1 needs to enable switch_dev mode first. > > > > Signed-off-by: Rongwei Liu > > Acked-by: Viacheslav Ovsiienko > > --- > > drivers/net/mlx5/linux/mlx5_os.c | 43 > > +++++++++++++++++++++++++------- > > 1 file changed, 34 insertions(+), 9 deletions(-) >=20 > Does it deserve a line in the release notes? Not sure, it is minor update.