From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80040.outbound.protection.outlook.com [40.107.8.40]) by dpdk.org (Postfix) with ESMTP id 195102BE9 for ; Tue, 5 Mar 2019 09:46:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PmE+ST5V1fXI9mnwv3QOIKU6XVELnRl4of0L5+nC6TM=; b=UdXCgKPjxPXzhmrJRy9MJQQJVkgBGrsbKizg9mp1VnBB4bRDyMVPXkLqOKOaoHaIKLkt380fShIHQHeVyZPSdo37nBjJqdpoMwr2NutiVvedbaeR+yuco1O45fMI6+tKqtBRP/W1jmu4da/TOn1eM1EXWYmtwGmRo9gR3l4RulA= Received: from VI1PR05MB4224.eurprd05.prod.outlook.com (52.133.12.13) by VI1PR05MB6015.eurprd05.prod.outlook.com (20.178.127.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.19; Tue, 5 Mar 2019 08:46:26 +0000 Received: from VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::bcb0:ed58:d76:cac]) by VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::bcb0:ed58:d76:cac%4]) with mapi id 15.20.1665.020; Tue, 5 Mar 2019 08:46:26 +0000 From: Dekel Peled To: Stephen Hemminger CC: Shahaf Shuler , Yongseok Koh , "dev@dpdk.org" , Ori Kam , Matan Azrad Thread-Topic: [dpdk-dev] [RFC v2] net/mlx5: support new naming scheme for representors Thread-Index: AdTRj0Q1eGhB2zxMSxKdcshNEsEZEwBLypIAABkJVkA= Date: Tue, 5 Mar 2019 08:46:26 +0000 Message-ID: References: <20190304111404.0225aa46@shemminger-XPS-13-9360> In-Reply-To: <20190304111404.0225aa46@shemminger-XPS-13-9360> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dekelp@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fdf3c90a-abd7-456d-4db4-08d6a1470dd7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB6015; x-ms-traffictypediagnostic: VI1PR05MB6015: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1; VI1PR05MB6015; 23:iayQmkPo0yN/zxwNHUkfhbgT23+hiiTpB8UKQimeI?= =?us-ascii?Q?wACrvrBGLjRdh6dDi37EMvwbjyYK/6Fy0Bdx9a6prHc6fddX+5GReYsstFAR?= =?us-ascii?Q?GwBdGB4lLBKbi/GBtKvX1zETqzMJsHFD/2f2fSNEqQUM6suDU828vq9ucOoi?= =?us-ascii?Q?8n8eFn4psV++hhalVsA+V3VfAwBtFbZcwOXvxFHwlBweJWoIDtHghgQUsxgn?= =?us-ascii?Q?pGZgtBwJK07IJpZu1aQUSAqmwCSQ/BCQsb29xbaX7lVdN9JjDcp2l6mb2LJR?= =?us-ascii?Q?7H0TQUKo3xzxEX80l54eeDfdiUwg7lnRZB78PP4ddh1ev06Zoo5TucHmSHYn?= =?us-ascii?Q?mubJBQ73eB84hXu+v/oY+vpWeTHYlnTVwaTXQTbo9vbc+kBTXHnXy29FDOtT?= =?us-ascii?Q?cAgwpr+DiGOq+iZWAe2eEWAUIBQZXPtFvJxSeEjf5pehprMqTsjVfIQJoJB5?= =?us-ascii?Q?Fx5bmPAvjp+k8Xn2ds2O0QAcb5826P3CnSJs0a25V3wEZ+YXld5cibRDn2Cc?= =?us-ascii?Q?750Lb265fr0Z9OsQfkVzJ/eNzAEwlBRAk/dn9KP6KMqtdVZOvf4raFlkoxAK?= =?us-ascii?Q?h0NnKbn+L5nSv5JLQL2nkKTG4honLKFggTHsd0+FVx2AB6V7sihpuYS5yG5L?= =?us-ascii?Q?Dzf3bcY9JlanUP1yUlfMV70M1BXcj63y1olNaqGr64nL8E9zqL5cO8upQWi5?= =?us-ascii?Q?h4wWZ+6fN7xT4ud6VFJVGps4fvUxyUOQj13V7B5fhN8T9AybGkt5czgEyu5c?= =?us-ascii?Q?SX+AusGqtkgddILq/mtC9Ae5MfEWUcvCenyFMO6PgVWCexMuxdk/sQdx/8Id?= =?us-ascii?Q?pL/iM0lE+jaxCTADd5MxbNqnDc1WeR5iOvr6KFTUpGlbvJ8YP/qxIQQkyxSh?= =?us-ascii?Q?NibsNVjECzRQMt5ja4udINRonULUXAvQ+z96IGmnVXJnuJec3TUt7NgCetcu?= =?us-ascii?Q?ZBT04PTaSd7iFWFsHKx/JLavdzqqjlcP68Q2q0zymqzIGNQy0TemuUqerOQj?= =?us-ascii?Q?qG8r6M7KnZr6m3dXczjBzGX/6dJSRH163IaeE4l572bbVJ/a7wXAF/QUeaFr?= =?us-ascii?Q?j9bEGJlGyhg3uy0zTqPFx6Pt7hfiQP98wey8lwKaLAo22HfrmU7hA97fBZhy?= =?us-ascii?Q?niveR5OwApvNGZb3if6Ja68btgdxnznJYWKL0cy+C+wbFv8lHM+2kSQhz7zF?= =?us-ascii?Q?AMDtWf4Rn09/2sEkz3UZUgq0NbKNwAAg0FSpEzRmE4rtlNC340gKFZpDJvJK?= =?us-ascii?Q?lc0XcsrC+JdjmyN3YVaBRS/qE4ppkLvFGsJJAzH?= x-microsoft-antispam-prvs: x-forefront-prvs: 0967749BC1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(376002)(346002)(366004)(199004)(189003)(13464003)(25786009)(446003)(11346002)(52536013)(476003)(6916009)(26005)(99286004)(6246003)(106356001)(478600001)(66066001)(105586002)(81156014)(81166006)(316002)(107886003)(486006)(8676002)(5660300002)(54906003)(305945005)(186003)(256004)(74316002)(55016002)(4326008)(6436002)(3846002)(7736002)(6506007)(9686003)(102836004)(229853002)(76176011)(86362001)(97736004)(71190400001)(71200400001)(7696005)(2906002)(68736007)(6116002)(53546011)(14454004)(33656002)(53936002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB6015; H:VI1PR05MB4224.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: RyLTH7422y29oheiZNby749k/yyhjGES5gxPfwParffbVUEVQ9IaSjV6saTL7A5ZWxFpu7j4UXq0Q1XyFu3q6enRPMWDT2MVbmXRFehOWdiMRKh2/AZMsx+dQtGqf3qddR4nbqxYDGJRsrJ6TDDr3epnX6P/zPkyTam/TVou25LRZRpqjm0NrvdtH8pG1NNlJsnWLl41nS4bx38JmpDneh5Og7MAMF+ekJFGneMJ+SsWK/NIeI5Ry6v3t3Qa4pnAl6TkrZNnrhIwHl4K0yYy/5b9Liq4MR+J31Fj020W7HNiLNQbwpVMnbFMBu+dR3xdxNYKVunEuCZSZNBD6sndTa03gh0chXAxngjRWzAs+3RP6+H8yNIsCYSq98Rip+xxPqkF+p5A9qynQXbadgtpd8WO/t1q1vPwwbvU3xa0Gcw= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fdf3c90a-abd7-456d-4db4-08d6a1470dd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2019 08:46:26.4466 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB6015 Subject: Re: [dpdk-dev] [RFC v2] net/mlx5: support new naming scheme for representors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 08:46:28 -0000 Thanks, PSB. > -----Original Message----- > From: Stephen Hemminger > Sent: Monday, March 4, 2019 9:14 PM > To: Dekel Peled > Cc: Shahaf Shuler ; Yongseok Koh > ; dev@dpdk.org; Ori Kam ; > Matan Azrad > Subject: Re: [dpdk-dev] [RFC v2] net/mlx5: support new naming scheme for > representors >=20 > On Sun, 3 Mar 2019 07:14:07 +0000 > Dekel Peled wrote: >=20 > > In current kernel implementation, the physical port name for represento= rs > is a numeric string (i.e. '0', '1', etc.). > > > > > > > > Kernel patch [1] implements an updated scheme for naming of > representors ports. > > > > The new scheme gives a unique name for each port using the PF ID and th= e > VF ID. > > > > Uplink representors are named 'p0', 'p1', etc. > > > > VF representors are named 'pf0vf0', 'pf0vf1', 'pf1vf0', 'pf1vf1', etc. >=20 >=20 > Depending on kernel to use any particular naming policy is going to be > problematic. > Users will want to run on older kernels, and many distributions rename > interfaces through udev or other mechanism. MLX5 PMD relies on specific kernel implementation, with known scheme for re= presentor naming. Users running older kernels are required to install MLNX OFED, which implem= ents the naming scheme expected by MLX5 PMD.