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 6E8C3A0A0F; Wed, 30 Jun 2021 09:45:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D51C41242; Wed, 30 Jun 2021 09:45:23 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2088.outbound.protection.outlook.com [40.107.96.88]) by mails.dpdk.org (Postfix) with ESMTP id C46D140141; Wed, 30 Jun 2021 09:45:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UdcrptaNftFbjY1rqrcE/ZhmnM+K/NlEfq9Poe8g76DwbMbowyAnqzLLZBbVrSuzq3ad+MuLXpO5kr5crMniGBJdBUA/HHgZvGg+tX82xbHKf2MNfkkNEgmyOlMbfmRzUrye9Pz0b71NT151wMd43yteZvbwSS5vcvDBX/h0ZyMOpqynWrsY4SE0GCWK/e+nCWN/jfHd3wU/Ipo5rbnhujsd/HbgaKlhDL3CeFLn1uRhk6EPkhvyfWbxp1EdtQgLdnyfRaNZlJjoTDfiJqYDKULcOGL6TBXssV54O4DP3JMJqY86se3+Qh100Xa1KeejPW74d7s/5SYQRUwScPn1YQ== 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=58qHF8op5MgRw0so/fzECKoIYeeJLZDeZ8bjYcuVA1I=; b=k9d+2/FEb+W8RHFPu+AOJ721d0NiWed9TcF6Cll6/PxEiIf+2RjgW/aY2oK0gcUXWTIVXg2juAWVDJwbeGoUV6k0t7OSdcBVeTLyjdG81ryWi+8qgQKRHnmx/u8DFVVvSgsuxi26WIE42SwIdyFG3eB0H4/JLIwS0UxnqYv1Qdt8PmeqQMQhUmc600+O7D0bulElu9jEVfZ9OssQml8FqBFgIxpIcmyXJ1WJrT1+RM0tqPuCLE8oi1vAVoTYlkDM/0rqIcuLNkE4FwvOC35oaso2zSJJqH9yDNX2rfkpu+ENtb/4jLxM7zT+IWJFppV1ZGOHSTg1mz0LS2aq86sjBA== 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=58qHF8op5MgRw0so/fzECKoIYeeJLZDeZ8bjYcuVA1I=; b=BVn7hZopfynV4bQpHkF5bFYmpXWvZw/zRgmi+y8dCn3IiSaL5XzdxGV52g5QOs+8R24lTP2EVc2gF8uzx320dBUPDYNIUIyiIJu7iw60Ah/PYdsJgWDKp2syI2L9oxsBEKiSIPCV3/EU5vJbC9iBG2c2pEavAEzH8kY20l6M1TyotU+KVf7YZwdgsQ1kIzxA//EIqzq3fYH1rWgbD8L5T8XbsgzWAkBhe+YweUHoD7SKH6yaoQncd8hoNOlvnZg6ulS6yq66CedxkqKM906qYbiF1mLpYJbNLYK3oxzqE64kVDE2NYpyI7O1R/9ZRuGudcBhNWxRQjZbEia+B3Xn+Q== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5056.namprd12.prod.outlook.com (2603:10b6:5:38b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Wed, 30 Jun 2021 07:45:20 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%8]) with mapi id 15.20.4264.027; Wed, 30 Jun 2021 07:45:20 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Slava Ovsiienko , Matan Azrad , Ori Kam , NBU-Contact-Thomas Monjalon , Shahaf Shuler , "Xueming(Steven) Li" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix the wrong representor ID checking for sample Thread-Index: AQHXbLRw3s8gUgrVEUCYsBySaf8nZqssLkXQ Date: Wed, 30 Jun 2021 07:45:20 +0000 Message-ID: References: <20210629065953.47924-1-jiaweiw@nvidia.com> In-Reply-To: <20210629065953.47924-1-jiaweiw@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.161.229.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e56de312-1386-48f7-a5d3-08d93b9b0332 x-ms-traffictypediagnostic: DM4PR12MB5056: 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:2733; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WeDxCN3wY+tuJI9mU9m4uqeeCB1WElRf8AxefwDSF+fbnrRga4LU1c5TPoRABtkNTlGzK030TNjgXe05c6Uca5tuBRfkw/5P3FgBK0lg9lx1FpczoPBivp+ICQBAYpEA+hZReYjFqXyHnnos2EfTfpOneRYA3s8tZojfiQAJGFXZimuWmfZdwdXxFMOfiqhW9lNkXtwh+zOPPT/FLZiQAws2X09C74DxpLvC55IJgnrBZJF7JMFCL/Uvf5tWKKn46zJFqMKBp5nqDhGKYOHhRBWBh3lYZfA2q2ZSjmM03cKTTPArxHvRCUp35qJ7X8IFXG44RrN5CSAYaIZQBjHgMHNnqepRCZ452SOxTtjBw5KpofoRJYqFzXmRXJincMJfyMJM8URlg+fY90iuh6WafrJNP656b9pSNyng8Qq2r4cZ5FV0W7j6z3Mxptmgm6yWg7Xz5zjmLBQbKMj5rT2wOqPqpI9dhq9Bf6t2yY786sYMlKLJF1I7qFQu56YVQSjCI/7u9kLGryRgfZS2I6cxZacaaPGxeSWNmPWSwvIA56Zzwqi7rLQ6Xg4VthXUVVxj9FN3/t91tDu+CWQGvlJvPQn7st2McPcsDYdBNOPHUkzFYg/sOTZqw25Qwnjeqsbn21eF8gO/v+9HollP8mLNZw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(396003)(39860400002)(136003)(2906002)(52536014)(316002)(4744005)(7696005)(53546011)(6506007)(4326008)(8676002)(64756008)(110136005)(54906003)(66946007)(66476007)(66556008)(66446008)(8936002)(83380400001)(76116006)(55016002)(86362001)(478600001)(71200400001)(9686003)(38100700002)(186003)(33656002)(122000001)(6636002)(5660300002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OpGv/MV6KqxWPplOogVedulH47ZqbYLXXL/OGefnMJH6oMLv5GF9Wf4jZE4p?= =?us-ascii?Q?yF+ashTjhyopkqS8KLb3DyRdmsHZBVVGcNwcX+5k1/PrYxNv7aTBwqhKzco+?= =?us-ascii?Q?B2asfrqAgEpi2f45RXGBbshDrHRyc/1P4GNkpLhe8je4330QVwWRPP4IupLp?= =?us-ascii?Q?qUkXXrgy/qm6pj8qfG3SNfWy2Aid+Jk4BwOBdbHNNltCNu9DGwX+ENaK4uZJ?= =?us-ascii?Q?uSEg0qRTShVacc812G4SRBX87x5z6YrNgiygPrN95Y7TsS2+u2+PMxnsHsN5?= =?us-ascii?Q?R969dlvjsUa5jLPbssd6i/3N50/+J7bmNEq5BhG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QlH/jIQbW2cQgRiN8TVssMDjuFsFI2BiSctSR2Ogfv0g1L497sy?= =?us-ascii?Q?UAzqaEcQCNNO6jALc0Am6jRWwcdYiKWOlFr9l6FeJRybcAKqeHz+U08PCxoy?= =?us-ascii?Q?LPTR3aU1yGGWCnQNA0ZeuZmb?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e56de312-1386-48f7-a5d3-08d93b9b0332 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 07:45:20.7673 (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: x5kpFQdjHwZuqXMyVWNMs9K4rTdUuo5qr5FuuEeGlRz/Mt7y/hcG3H3jEDXigmxSRS7MgA8eYO0KndUux2QqlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5056 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix the wrong representor ID checking for sample 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" Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang > Sent: Tuesday, June 29, 2021 10:00 AM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; NBU-Contact-Thomas > Monjalon ; Shahaf Shuler ; > Xueming(Steven) Li > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the wrong representor ID checking for samp= le >=20 > The representor definition was introduced in the latest code. > For non-representor port, like PF port, use the 0xffff instead of -1. >=20 > This patch updates the representor id checking during splitting sample fl= ow. >=20 > Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiawei Wang > Acked-by: Xueming Li Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh