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 95725A050C for ; Thu, 14 Apr 2022 09:19:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DE8A40E09; Thu, 14 Apr 2022 09:19:19 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2075.outbound.protection.outlook.com [40.107.94.75]) by mails.dpdk.org (Postfix) with ESMTP id 613F44003F; Thu, 14 Apr 2022 09:19:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VS/mwrRbC/xw4VP2j+GzptxaL0Hw/lkHOVcppqkh8cPvYPjO+qB9Uqyef2qPk/HhcDp7wbO4JDghgddGsAdN5631rD+fP8GjYAIR3Y6L2dpCorFwftuksRRlnyf2OeeKPHgwukRO48cA4n77V6PM+U1+d3WhSAcgkeDxcffPwmvGEN6/5sYI0/Bj31tj6nLqb7LLxSi41ze6BJ2/j/lxsccLwoj5j1gS91IN8I1QICx3mRWLUsW03iTNC+ZfdXgPzPZvGn/XclMIgx4/ni9vdH/n6paD7dhazlW3tvp0oyxSGUptV+MT6T0cIJ9o0u5B5e65QXyeHOXGEwRCk2GMog== 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=ReRE5/xSmeEawAIQWLd602W8svKiNMoB1JH2+5Tk7ao=; b=aCJyoLnrBYz+BAX8HR7wich1O7rr+JFGEIWsRpHqGRhrpU/xJJ/OvUHE31b25gtuVxq3F82mQF3T0K0hRhck1A+PVLpGS9ZBPdYFDVAOH0TfVk0VsVrifW/YkO0x+xupDVUjtyutnGAJNiNPBDHuoexQ7e9LR7xFbQn45JnZsWkvADFJg2nFaRHlglNmILujLHBxPx9/rEvYZqcJiq6mvjFxil1xjARMrcgxjGbiZ3NrjYZ0+sZUpX+ymo7JX3sgnIhzOdStFOziboLSI8jQJox3aGQxeFU+CRKg73qTC1omjnvrXUMFd7mrU8iRXLYqk+Kha44CtGBX5JV5Fbkjnw== 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=ReRE5/xSmeEawAIQWLd602W8svKiNMoB1JH2+5Tk7ao=; b=JXFwmFqbI1kVsZlXBw8zusrBZueTQiMllA5uYRd1ch9tYEBbm3wrsIjGWjcRlDBgOl7ldKmpQLGuKPYiDk7d6J5rAF5zaB+ZXoNLd5fcThYYuYhs4Wc0kQ99RwnaasKOfoInXA874E6VzY+KkR6GGeeAUoF80s1kCXsQAPstI415Xq3vpbuorlMTUsEt3EN4NLvySL3mW2Yf3gmh3fA6vKyr6akMnfXzZ6USyfSHTVHFdkJ7r+gHDO0E6Jb2kPm/OHcxwnnxPSC8ZRDVy7f/j28v988/z8FR0OI58SyHMMv7siG5Mg+mfOnZPqdNFcUXt/qIYUTZJrCL1I9DysYuiQ== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MWHPR12MB1694.namprd12.prod.outlook.com (2603:10b6:301:11::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Thu, 14 Apr 2022 07:19:15 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::10e3:9c31:2a8c:2679]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::10e3:9c31:2a8c:2679%4]) with mapi id 15.20.5144.030; Thu, 14 Apr 2022 07:19:15 +0000 From: Raslan Darawsheh To: Rongwei Liu , Matan Azrad , Slava Ovsiienko , Ori Kam , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Michael Baum CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v1] net/mlx5: fix probe failure with secondary bonding member Thread-Topic: [PATCH v1] net/mlx5: fix probe failure with secondary bonding member Thread-Index: AQHYSYW2qRbelvs90EuRE6iQmUMQHazvDMDw Date: Thu, 14 Apr 2022 07:19:15 +0000 Message-ID: References: <20220406071224.870035-1-rongweil@nvidia.com> In-Reply-To: <20220406071224.870035-1-rongweil@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0291054e-3e3b-48eb-8ed3-08da1de7154b x-ms-traffictypediagnostic: MWHPR12MB1694:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pTB9yyAZzd4ftyf0M3Rd/6xKYIGYVlneJR2UkbXeSPCAz+lvudb1czeWFLRRYLNxwC+zWZadgXrsuQ4cUHJHLgf89sRwFytC2HwNBe/TXRdT+vmw3FF3QgEaWhRSAuZP1IXmreH2QC6ncVgY4uYVR6xJxS2zSHxIdT9SsudRbMc8rjPVTBFKiF4yPp9zQz3eCa5tp6m7+15j7xD+QaCm4VdCHjv/2c1uDv6UVFAAuW2EinOUws5UCETevtsMAqY3zkAvogzFNINcFHBViv2GqIHcoXe8yjtT8ozMpqw3TUCJzFnEhbp4bRlhmR3AsUpX8+rBNw8MK9r/LB8+1J7FrQRNHhq3mbY3mMbAL9vDsUmo9+sFmd2V7DHhPFlT++G7O1yhN6iPkHC6MGUTXQfDlaMnQbJXCLIx4SIN3WioHnXb9rvcXJdtBcaAFDPYWaE4/R2YnNuMOlhTz2uvnpOdPKKPjLFonjO9IWkl8DzL9NZGYqtUEfHvUFxnY7VWU08DZXzZsd5q6INrhCPxdWCpApwRVKdHLJmyFSoV8VqmWPWwALN2IxqebEEkPV6UW6zdxJAzH5wQUbXDNyg4xz0ZWoR3DJYRMh05AHBlSX+rlHo/gJCoiep1uSLFHhLJW7+bLvXNO01advM4DeoW0/qtXfO0jiGxqJ6APo5LwbBlKMVz8fM1OGK4DLUOl0rPBwOS0Y6j0iYDHKWn/UpuPH8NoQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(9686003)(53546011)(122000001)(7696005)(6506007)(83380400001)(508600001)(8936002)(86362001)(5660300002)(54906003)(316002)(110136005)(4744005)(6636002)(52536014)(26005)(186003)(71200400001)(33656002)(8676002)(38100700002)(4326008)(64756008)(66446008)(66476007)(76116006)(66556008)(66946007)(55016003)(2906002)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Ty3D4tvccGsJNPsBOflD0QzBMqV/VRxvjPIfAZ9eTucULKNhRDJX51DZxmQz?= =?us-ascii?Q?ycoJr0iXiOs/3vEJnOohANGwIL3FlGlK7OYFuTnby1oEawb93ycRploWGLcV?= =?us-ascii?Q?XU9/vElC1wgVtz+DthX0+VRbL/TRUHEOytENYv6GHcjGjK1qXxEPt2r61Rqt?= =?us-ascii?Q?vhv9gDb8G07GWbqcsJki1jQw0c+nZnjE1buQDE9i7zFchPLlMD856xD3/uvR?= =?us-ascii?Q?N7B0wGhilr5LoRrh7F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?= =?us-ascii?Q?Jv2yM6xGXBoo85NY3Q7uas39d5BVQffm4Sl/QojZuNSe0nr9LPhA+Y4cSXaP?= =?us-ascii?Q?pJ5Gf6nP87FCojzpKu1Ov61lr+6x5pf9Hp0M5RYO5H+m98+m1Y/anWdTadTY?= =?us-ascii?Q?rM6vdu+NJmoA1Puw0OExJM1oaSHR3J6UBtKMQ6xn5FtO+FT0oXDDTYlHmjhf?= =?us-ascii?Q?AEFeEUOtQa6LJXuuWHPLfHVYKNqTfYAJx12zIS4EIPoPAxVQ0Ft9+djm+Mt6?= =?us-ascii?Q?AHHUTgDlWN4goKw3IfWBWdHHSm2K/0Jgye6xB095NMYR6qVHqqha3G7e/JQk?= =?us-ascii?Q?8HuD0vZ99u7iqDbTYraaB8xwTH3ILnfEWEY+/gjQzxJk7GGC4h7z/+38dFm6?= =?us-ascii?Q?9gePJhFLn1v1wZ3zW9KkXDugS8dpJR1+I11tiHQGbaxu1odFGLKV7yTsx7CC?= =?us-ascii?Q?AMIFduhJJWuj2xjYB6ICsDK0Qcd26QYopFQcpoICb+quwSkZO6Y9PPVtgBQP?= =?us-ascii?Q?cgelIsxKhhWN8s4wTyeL4LLgBsIYJPKmlbKYVJ/jiBKArWgnSSjnSeaohxsW?= =?us-ascii?Q?aLtw2/bn8ey5jvmj6h0K+93nEyLjlde7TBDB8EatNYNA3+Bf6fMs7RjHUSkB?= =?us-ascii?Q?0btV1vGUKA=3D=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0291054e-3e3b-48eb-8ed3-08da1de7154b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2022 07:19:15.7801 (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: JhVfSMCDRZHUEGF1yn+IDNT+bBjNdSMsOS4W3K5dVK8kNrOi9jn4krU26h/AQD4bqSlDsql+UmEC2Wd4mMVoGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1694 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 Hi, > -----Original Message----- > From: Rongwei Liu > Sent: Wednesday, April 6, 2022 10:12 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; Michael Baum > > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH v1] net/mlx5: fix probe failure with secondary bonding > member >=20 > Users can probe primary or secondary PCIe id when bonding is > configured. > 1. -a 0a:00.0,representor=3Dpf[0-1]vf[0-1], PMD probes 5 ports > totally: bonding device plus 4 representor ports. > 2. -a 0a:00.1,representor=3Dpf[0-1]vf[0-1], PMD only probes 2 > representor ports. >=20 > Under the 2nd condition, bonding IB device doesn't have the same > PCIe id and PMD needs to check bonding relationship otherwise > probe failure. >=20 > Fixes: 6856efa54eea ("net/mlx5: fix PF leak on PCI probing failure") > Cc: stable@dpdk.org >=20 > Signed-off-by: Rongwei Liu > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh