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 0F980A0C41 for ; Tue, 11 May 2021 09:44:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9265F4003E; Tue, 11 May 2021 09:44:46 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2052.outbound.protection.outlook.com [40.107.220.52]) by mails.dpdk.org (Postfix) with ESMTP id 288B64003E for ; Tue, 11 May 2021 09:44:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rt/TtliLlRiiUQywNqITfK7n+LjBc0xcDOBxDpPDKF0r4e5YnonFfTwYAORExGbUOPEWxhhoMOmiIgpVoaMRygGEs9ufhe6Bzgl4ifWcxY72bYFMYb22wGnwBNS8B+5op4zMtkgTkKFgT0fvGfJEwWP6km6TM3GaOGKA672lnH8LmXtLSZidk5n7oLpcBSHeBP9O3EEE4X+mUZ+tmxMjPC5mAwMvccWqyujw+8bE4NgRL33+azV1CfmOkUHV5Q/EdhpB7E7vOSfSQFcOFLb/EcWpZSzgyjTEeFHruI2+sj/umKRrat2g1cX7huKdL1Fp3Cr7bQB7AKqm2+otOP6tAg== 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-SenderADCheck; bh=Exjg9SSLllHb9ZUQo8zEaZovQUnceAZ3OD7DZM9UqEA=; b=gs0aheDrow0Ky8H/VAPdA4+VPFqM4ExT9QtS+1l/9EfVcSPW0Ic9Y8Lm5vNajxp9iaiaRzHUgBR2jWCtQEZvTJ8hOBSmD3QhZALjSOuGjAW2g8fQrZLi4yueH1r2cQG5vRXusDxk5OYxm2V25neYhCUyOHcywAzN0IBNon5/3v9NQ7TAjTGtW3pDu+4MfGhLoYHP+JBGWh6+9Z2R1XKbJgIt54MClPKn7uUbiS5mleqI1La+8aKR+72nK/TjQiG3zwS8vfGNlbW40mkquwVgOscP+BhbZOGTzkzCD2MhGbDzpGm5IhobQMGfOeaXTUgtSotkMFPt4lSZAgC5Fqt1bw== 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=Exjg9SSLllHb9ZUQo8zEaZovQUnceAZ3OD7DZM9UqEA=; b=dJwDae7IVSFJoPYR8Tz+i4W09VLGC1xM0e1C5zX+xfgRGLqVv+fNZ1Fmp48UDeGecx5sGLuI7KUW3OdIv5grGNH5heYovDuvaZ+ol7PFcd15/yACxkF3G2O6avOX9gbeTQp0tu88jOduR1q4CEfIGum/TMHtLrFO2GExMBffplNm7IMG8lBFoAtHBcpVqQ8jCce+d6bm3z04hxRLcEqLfuzRm60HGtuKgDiCpW54eWpnMu7muNBHY7e4yDpKSZN8Jxt8RLCJNS9dEq7Q1553c5YjkD5T5+U1J14NOLj8l/oBapJfN/tXmBLAHNnRdXsjVxDzXPSwgC3PkEk2W7O6Jw== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR12MB2422.namprd12.prod.outlook.com (2603:10b6:4:b9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Tue, 11 May 2021 07:44:43 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4%5]) with mapi id 15.20.4108.031; Tue, 11 May 2021 07:44:43 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" CC: "dev@dpdk.org" , "Xueming(Steven) Li" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/mlx5: fix LAG representor probe on PF1 PCI Thread-Index: AQHXRZ5fl/x1q0bZnkKfLnqbCubFtard55UA Date: Tue, 11 May 2021 07:44:43 +0000 Message-ID: References: <20210422072446.29455-1-xuemingl@nvidia.com> <20210510131342.18911-1-xuemingl@nvidia.com> In-Reply-To: <20210510131342.18911-1-xuemingl@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.163.75.124] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8c710eb7-49ab-4831-eb7d-08d91450a421 x-ms-traffictypediagnostic: DM5PR12MB2422: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qpq0D6bzmIlNomQK2W3RdmiWxl+Tnp1xTTV19lWVgr1n1aURacHEDi902pBI6r+Yh/bC3me/NX4y3mS/oe7slgtmg0HroKhPR0TmfmSjPSdndyr0HP99gBj77xnvEOYLyPH3bPS7CHG6xd92X5Ig+bGW/+irgS26bNQrUonVkRbzOrQn0u/U03wZ4UzacSs+IOt5gpZ8MipjpIEK+V3Y+mIaKnRGyjnZHpJEWO9Aw68Gf0kHL13lOBvZgX5w2jNOD3HeMpo/nesAX1dSnnKnSX8nIRN/BStlWQKU/ojTDz0WzorvItOBETF3Tp+7xtiQhfTINlxJdkabuLVfqqmPt6asrvxX1A7VII97Ei9lrbA2z4JlIipq2EjKQdsI10DzKl+fgbhapZDZ6Ow/qqzBVkHFTi0xtdQWnfDFh+tsC1KUD428GWai//d3XR4aSYm60gjeeJKNh4lt1WKiUAKvn1x0cnqdlGmjTdeQB6285m2w1/Y3wnC9H3a18n1f9VFjTIhKY/9h9naZSylonfVkkPoBRSoz2BPfVLJ+CtjFj2dbv5f/y7sE74Rh1I0MZG6e7mq6N9qWlOyZyvZbrkLILKvDC6ETYHh2Srfq8/5t6CA= 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)(136003)(39860400002)(346002)(396003)(366004)(376002)(54906003)(66946007)(4744005)(66476007)(450100002)(83380400001)(26005)(71200400001)(33656002)(316002)(86362001)(76116006)(4326008)(66446008)(55016002)(55236004)(64756008)(66556008)(9686003)(186003)(8936002)(478600001)(7696005)(122000001)(8676002)(52536014)(2906002)(5660300002)(6636002)(6506007)(38100700002)(6862004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?GiRDSskIVw4R/JEJ8daDHWen2P4JGqxoPNoLayrKOVaxxpfod8wIRNmMmVfp?= =?us-ascii?Q?XpZqyTilIm7MDLzjGitLhWcMJygW//dgQ3YpKEsIuVfbBz+QVOZhaLmehuKd?= =?us-ascii?Q?kwJLJ5ZLQ2IAN6fxUM8FSuBv6YYJgPrM4TszmosaUDJHOA1BUUXJUhWawrZI?= =?us-ascii?Q?3YGbPreqsyfzqiVijG9Ibdm4d83Q6l8/SnSOSBLz9PBsNtTp+RLmtlbBtbBL?= =?us-ascii?Q?I+iQXpfN4KbaB+uCbh5ewgqdcBX+0ySGHwODUWkRpgLYyYiLwB42fo9AmCjK?= =?us-ascii?Q?gf3UiOYz00GxaH8I0obkHQ/HQwdqm23mSMf1ksT3TblODJujdNpuqQBNT8Va?= =?us-ascii?Q?wEuBJhilnpPZ2Nh03TueaX2qBOFOai+gyAkn084G9od6B/kKqrkBXGO2i+lp?= =?us-ascii?Q?bHpk7vAUf4/phvMan/8BcC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?= =?us-ascii?Q?QaOqNsHGlxbNYxTSKBaAFHu2?= 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: 8c710eb7-49ab-4831-eb7d-08d91450a421 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 07:44:43.1672 (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: Rz31bd56RcwzhmMZSyTW3zyAUw+FeqBuHGrQxk6ei5fegQ0kWLbyy3sPqKivVnbc3xkdYJ8oRA3yzQn1KzMfSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2422 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] net/mlx5: fix LAG representor probe on PF1 PCI X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: dev On Behalf Of Xueming Li > Sent: Monday, May 10, 2021 16:14 > Cc: dev@dpdk.org; Xueming(Steven) Li ; > stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/mlx5: fix LAG representor probe on PF1 > PCI >=20 > In case of bonding, orchestrator wants to use same devargs for LAG and no= n- > LAG scenario to probe representor on PF1 using PF1 PCI address like > ",representor=3Dpf1vf[0-3]". >=20 > This patch changes PCI address check policy to allow PF1 PCI address for > representors on PF1. >=20 > Note: detaching PF0 device can't remove representors on PF1. It's > recommended to use primary(PF0) PCI address to probe representors on > both PFs. >=20 > Fixes: f926cce3fa94 ("net/mlx5: refactor bonding representor probing") >=20 > Cc: stable@dpdk.org > Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko