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 17543A0350; Mon, 28 Feb 2022 09:13:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0C004068C; Mon, 28 Feb 2022 09:13:37 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2058.outbound.protection.outlook.com [40.107.237.58]) by mails.dpdk.org (Postfix) with ESMTP id 8C0A94068A for ; Mon, 28 Feb 2022 09:13:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CzTnRuzbDXVWF8i7c8NROfybEvuSmM4lFrh/D2EpZoLQb1SnASFHyJMvVp00p3cBj8VcwW4sns8/1A66bg2yhYumNuVK8RyKVoUD+sBgdEN5K9cuu+G7MHgR/o+FlPdyJwOJqFc+55s73GdTfOj6CcZYQ51NFyxUBCemhUAVb4HnBO9O+EXAqX5pblbU26zNGNa2+wYH2T4mskMac/xcQ5YJb5i0oQSQJmhpBUwjRHkOAqE0Yvpa2q97UAhkFQLY/43zPyfrPtgihheworwO4591V4cr3mkeYMXUn9TxSrVwAR6a68P/h8pXnH1iL534ECuUpSDWUklPSKGe480qQQ== 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=ulGsFyt67PYdlKvLp/VebWr44l7ZuM0inj+Bu1fDKjA=; b=KTzQjoiEfGDUcqn+9DlIDc9KevPGnG+y6hOKhssfWhTt7B/rS9I7Dm07VI/t4QLHlEGo9t+LSsjchaaMd5euwQf/qxYmPP0P4j7RpR0FSxRyTCblYHJzOK8UD690UlVNO3f8ZJ97QWoi7ueBMJdqGJ7aFYB3f3j1GDESTTI0HWJ7uTwbX7EAU5SYGTxPAfGSbMNaNP4dfuco8tH0BpatLMa1Tr8giz4UJciMx+M3eWXFkDBkZDOfYeKYqocD3AkQCbKTmUBpOkaMmBhdPpZWv9stHOQ+Eceu8x80nwwTBRrFvQjk4iAQJlNFFHFnnM15WQgTJVC2U4HBrpihkEwbpg== 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=ulGsFyt67PYdlKvLp/VebWr44l7ZuM0inj+Bu1fDKjA=; b=BcMJcrHMeCvWrdRCR+dUme42lsqi1tDG1kOG+vZsHjYaZQahoyZGkcMBUkZ/3jiZgkICvbZEs8GIJBheJcwJ8JhslQipxSuIwp/QJlGvUgrbaTReL1yHObdN5dU4SjH73r+8Lh3bw1NJn3eHxmXFeQjjT9HLeWaHxQxinQ80eH/OTZVzVUggG5o5KITkcB59pAGH57E/IwhrX6g7CjJ5fqhkFnppOkVZ2MgnvniNXFXmFF2G2FScySqotAp1nkJeQWHE/yKYrxdznRkV20gGp2BPPlFji9SuOPxo1TvONWvNREiaQXGEZipQuEc1OlNw0Vqxl2YZXBNj8A2Kx9GzvQ== Received: from DM5PR1201MB2555.namprd12.prod.outlook.com (2603:10b6:3:ea::14) by MN2PR12MB2975.namprd12.prod.outlook.com (2603:10b6:208:ce::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23; Mon, 28 Feb 2022 08:13:34 +0000 Received: from DM5PR1201MB2555.namprd12.prod.outlook.com ([fe80::4810:6047:3219:2ae5]) by DM5PR1201MB2555.namprd12.prod.outlook.com ([fe80::4810:6047:3219:2ae5%3]) with mapi id 15.20.5017.026; Mon, 28 Feb 2022 08:13:34 +0000 From: Asaf Penso To: Stephen Hemminger , "NBU-Contact-Thomas Monjalon (EXTERNAL)" CC: "dev@dpdk.org" , Slava Ovsiienko , Matan Azrad , Raslan Darawsheh , Michael Baum Subject: RE: [PATCH 1/1] doc: add steps to configure VF interface as trusted Thread-Topic: [PATCH 1/1] doc: add steps to configure VF interface as trusted Thread-Index: AQHYK/E3rLeBm12pe0uvPqLbGtezH6ynmrOAgAALOgCAABC7gIAA517Q Date: Mon, 28 Feb 2022 08:13:34 +0000 Message-ID: References: <20220227154617.2946292-1-asafp@nvidia.com> <20220227084431.244beda6@hermes.local> <12204927.nUPlyArG6x@thomas> <20220227102435.4275f945@hermes.local> In-Reply-To: <20220227102435.4275f945@hermes.local> 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: 17a7dbd9-1d1a-4c34-988a-08d9fa9236ee x-ms-traffictypediagnostic: MN2PR12MB2975: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: 98uGQnhba2l0i1zOdaYKPy1a13LFJMPHJCIhmGl+E0NJuHrQjAQrzynbRFWolvaN+IRnCUKrtdte1qyJjTFhHXaXzXYGs+fuIulvkf/AKPQg1jQ75+nNglfO4ehWJUJoXAG7hyulalqKXoEnnFjp5FHO5AldttBFexpQwA0ECErZHdY+GSqpE8OkP95eqQ4rPMzoj3WXKDmxuSLc+trRBL1HlWRg0WfoHFY9tfwAq/wdSC91XalVqBn+e6IURvyeLD+Hk0WE2OGELDS3vhFJihmFpvlk2D4T9sEsF9PQ+eJQTMRkV7iT8UfM/ewxFfN/lUY+mUM0Pq0/PQBgbVZZUCXCpQkwcX3vxyENyH30rBv6fI9zGjMMQFoy7eWwAnBHXrOjAsiZBPQhf1Z5j9JEiVZJjdbLBAwdUKv30Jj2C2BU/ATgQVZJHn4V2RV4oJeeNfo1OmRwwK1GQldmUA19jRB4ctzTwF6GLKQewfMYdv2OTesIuh7SHaAvG+vS4RRNYv+Llo+NF2RE0GIMF8ElfLVP4siMqvrsEOM3hu/vSjHFyRt9/Oq+3EKWthSl4F63qpkaXsbBtjDPXI7g0B6g9TYNygE6+uWAspzcoMPDnVVd1A9leVkX3IN6lmr/YOqhwyZS2D7TbfbdDQR/yQriF5fDuxGmqARHD2+8TR3UfLw0RHZ8hmHPRb8pfO+mFt/Vt9EMQCzQuJvci1ZDvLGhjkbO1tj4JqgcSxoisdlW0m1+qZykim0cE+/hb9nusrcuBTSH6cRMQTmI1DJ6afeRPOZb7WvT3AjkIDLhTJKgM6LlxhyDLT2eRw/RSDkJ61AbB0GVXFh4+YGJQSTq3ACOkA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1201MB2555.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(8936002)(9686003)(71200400001)(45080400002)(86362001)(4326008)(66476007)(64756008)(66556008)(8676002)(66946007)(76116006)(66446008)(966005)(54906003)(316002)(55016003)(5660300002)(508600001)(33656002)(6506007)(7696005)(52536014)(38070700005)(110136005)(38100700002)(186003)(2906002)(107886003)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GtUdgELVZpUmI8zIZG/RT5iofQhi5AQQgLgOmAaoGZgr7UGGQzx/g7Teufut?= =?us-ascii?Q?V/+NSHbXLxlzcjTz46K/B/6oCHauXO5bgVwaRBrQkotPrmW5lo5GNJ+k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k9Qm6/05pQAh0jRs2CkBxqNZhfraINN?= =?us-ascii?Q?ommO33Yya0PN27F2AAIhEMFFYGYJTgP7pI4rQdK7rgMuk6DfTwBDdBbNOAT5?= =?us-ascii?Q?nNCuKnFiMK6GCVDHOpIBXKXjZIXNVCCW5jYTfy4XydNrVekwTsKISNCAaCrg?= =?us-ascii?Q?3RjQ6Tmd1nuI8VM/DekMRrMnq2Xd43DUmdIrDPtBWpfcG2dVdBX9ESrByg6x?= =?us-ascii?Q?r7XTEAnCLIcDkqTUjw8T7/+MJ7LWrZ8/kfeHZb7qWZa7L0ZJMrfhShJRapAT?= =?us-ascii?Q?/4kgD5aJoF4aOjE+E0NpAB+lMvTtX2mZ/DQwW2StlawZMxZ8FxtKx0hToJxn?= =?us-ascii?Q?i0E2ApsWZYLdX14xVphk3ge+10+AoNzJu9ihbQ9j+/jJMkJG4MuTjWNbVpsU?= =?us-ascii?Q?UYvTj3xYRI6HZrdevL7kRHLXQYNpND1QtYJWQ4Rrmm5B1HcszQlZ4jLOYTkA?= =?us-ascii?Q?ByuIAfF+dTaz01+p9H/9dbHLHkto5CimaDvTUFaxR/V3V/baa0iIQO6ZBxV6?= =?us-ascii?Q?qd1o5oB1uPuUpveQv+p9CV+eBlwuRjB1ClriKRbHQ8B3nEypp1OJU8F8EyZC?= =?us-ascii?Q?GHewgPW+GzF9r2/GdMr4kqn6EQYQhnRg2mOCNcwRvjEO7Gp4k+jx9aOGOLvQ?= =?us-ascii?Q?DBWLvD/OSPKD1+4qXQEXB4zoHMfEgSp90B4Nmj5fshf9tZpIghg5jryYub5D?= =?us-ascii?Q?3ewKslSy4DZQnkjrrywntOrSSIA=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: DM5PR1201MB2555.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17a7dbd9-1d1a-4c34-988a-08d9fa9236ee X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2022 08:13:34.2630 (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: W3zwORWtXgL9/t43hRrB30SYudTBjtdftD5UgTk/FwUf2XiOC1xW0Y6Glw+X5iBS36CxsjDEahxRKA5j4myo/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB2975 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 Thank you for the comment, Stephen. I also saw you update the tool, which is why I didn't see the missing line. I uploaded v3: http://patches.dpdk.org/project/dpdk/patch/20220228081117.30= 13452-1-asafp@nvidia.com/ Regards, Asaf Penso >-----Original Message----- >From: Stephen Hemminger >Sent: Sunday, February 27, 2022 8:25 PM >To: NBU-Contact-Thomas Monjalon (EXTERNAL) >Cc: Asaf Penso ; dev@dpdk.org; Slava Ovsiienko >; Matan Azrad ; Raslan >Darawsheh ; Michael Baum >Subject: Re: [PATCH 1/1] doc: add steps to configure VF interface as trust= ed > >On Sun, 27 Feb 2022 18:24:42 +0100 >Thomas Monjalon wrote: > >> 27/02/2022 17:44, Stephen Hemminger: >> > On Sun, 27 Feb 2022 17:46:17 +0200 >> > Asaf Penso wrote: >> > >> > > +#. For each VF PCIe, using the following command to bind the driver= :: >> > > + >> > > + $ echo "0000:82:00.2" >> /sys/bus/pci/drivers/mlx5_core/bind >> > > \ No newline at end of file >> > >> > Please change your editor and/or git settings so there is a new line >> > at the end of all text files. >> >> Isn't it a problem with Eclipse editor? > >It is a configuration option in almost all editors: > >Eclipse: >https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww >.newt.com%2Fjava%2Feclipse%2F&data=3D04%7C01%7Casafp%40nvidia.co >m%7Cbd5c204df1c9488605ae08d9fa1e6adf%7C43083d15727340c1b7db39efd9 >ccc17a%7C0%7C0%7C637815831547239436%7CUnknown%7CTWFpbGZsb3d8e >yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D >%7C2000&sdata=3DsutVpcYtoUmUX2TJmK8bWqTss4kefKYcu%2BLYTt%2B% >2FrDk%3D&reserved=3D0 > >Customize code formatting >Go to Windows > Preferences > Java > Code Style > Code Formatter and click >on the Edit button. > >Check New Lines > Insert new line at end of file > >https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fthou >ghtbot.com%2Fblog%2Fno-newline-at-end-of- >file&data=3D04%7C01%7Casafp%40nvidia.com%7Cbd5c204df1c9488605ae0 >8d9fa1e6adf%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C63781583 >1547239436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj >oiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=3DdJuXju04 >tJauNDNRmj%2BXwcXykJQq2MgRbLNNtSaMgM4%3D&reserved=3D0 > >Following the rules in your editor >You can make sure you follow this rule easily: > >For Vim users, you're all set out of the box! Just don't change your eol s= etting. >For Emacs users, add (setq require-final-newline t) to your .emacs or >.emacs.d/init.el file. >For Android Studio, RubyMine, PyCharm, and other IntelliJ, set "Ensure lin= e >feed at file end on Save" under "Editor." >For Atom, you're also all set out of the box. Keep that via the Whitespace >plugin. >For VS Code, set "files.insertFinalNewline": true. >For Sublime, set the ensure_newline_at_eof_on_save option to true. >For TextMate, you can install the Avian Missing Bundle and add >TM_STRIP_WHITESPACE_ON_SAVE =3D true to your .tm_properties file.