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 90FE7A00C4; Sun, 27 Feb 2022 19:24:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F65F4068A; Sun, 27 Feb 2022 19:24:41 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id D371E40683 for ; Sun, 27 Feb 2022 19:24:39 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id ge19-20020a17090b0e1300b001bcca16e2e7so8438787pjb.3 for ; Sun, 27 Feb 2022 10:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TKhO33IsdVrFfzLXHgeVowfvIB3EPuWdtFEufTJuZL4=; b=bAWEoFPaLJ7GI/x8RTkZS35iSJf+8Prqo09QVtzAiTpZ3jjIxM1TgvmKh1VbvYkbQc o/ZQi949UHZIu9c/nYFbT9m12GBHICyIUQZzgpljLB2fSpzXTy93OBifexCxumG+JqCt KtQSDw4+FneRCyISBEP+p5f2VLz00w0KOsnRvaKpv7Di04DzPMo7Ml+d3efrucAfkD5f egUE6U+rDyuVShRlSVnrkX0HSffbNWa2rZpUOA0FUPm5wEKPEC3VbPeyn3GS2QNL1yh7 X/Lh3AJFyuOyT9j5qds6i7LA9NWd+iLuVoRbAwg9vPGBj30XpzOHAHW6UBU5kyP29Ug9 u8Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TKhO33IsdVrFfzLXHgeVowfvIB3EPuWdtFEufTJuZL4=; b=oGrE3Gs7GhOcl8nyvb0Ul2tRU5Ov5M4yQoCPS6eRKBNo3lCQ7CXkn/w6fZGKGWpGB/ +lGhoJTzFrXh7NeFerocubrbMrhBPcmf4mpjup4WbaFiaLcJCQ9ZaZQNGoIPkqenNMAj zb63wRGpSkIzVqphtW8mJAAaz0pbWr4vUUCjP75hKDSpat71swZe8IgR6r4Bt+qRGZnz gkkYMRR+i57XZR9ykynOQOv4GfIcDE3evDBcI2J50c+Ag67nHlfAGYeeDevbPkYCoMOG rC7gKWrBgd8BY0uGzgQ80ncFnkn0ApBfm+FtJBGiEsAYkDnoyJjsriGBhVOCahePF3NA wG3Q== X-Gm-Message-State: AOAM530qKH7WgjELNFzfvCFg59SrLVAeUvzO9okZczIEDMXdp0Ar7Ymr UpMkT+Zq7D3MJh0zHOkN9yS2HQ== X-Google-Smtp-Source: ABdhPJxNVKE6LA8XlbeUn3dDajs8Y9E2Q8aOec2DhJNQLlycGKnW0tdJnmzVtbiGICPR/BDIMvHfiQ== X-Received: by 2002:a17:902:c403:b0:14f:ecc9:bc82 with SMTP id k3-20020a170902c40300b0014fecc9bc82mr16788263plk.27.1645986278846; Sun, 27 Feb 2022 10:24:38 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id c9-20020a655a89000000b003747b9ed5a1sm8409607pgt.49.2022.02.27.10.24.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 10:24:38 -0800 (PST) Date: Sun, 27 Feb 2022 10:24:35 -0800 From: Stephen Hemminger To: Thomas Monjalon Cc: Asaf Penso , dev@dpdk.org, viacheslavo@nvidia.com, matan@nvidia.com, rasland@nvidia.com, Michael Baum Subject: Re: [PATCH 1/1] doc: add steps to configure VF interface as trusted Message-ID: <20220227102435.4275f945@hermes.local> In-Reply-To: <12204927.nUPlyArG6x@thomas> References: <20220227154617.2946292-1-asafp@nvidia.com> <20220227084431.244beda6@hermes.local> <12204927.nUPlyArG6x@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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: > > =20 > > > +#. 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 =20 > >=20 > > Please change your editor and/or git settings so there is a new line > > at the end of all text files. =20 >=20 > Isn't it a problem with Eclipse editor? It is a configuration option in almost all editors: Eclipse: https://www.newt.com/java/eclipse/ 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://thoughtbot.com/blog/no-newline-at-end-of-file Following the rules in your editor You can make sure you follow this rule easily: For Vim users, you=E2=80=99re all set out of the box! Just don=E2=80=99t ch= ange your eol setting. For Emacs users, add (setq require-final-newline t) to your .emacs or .emac= s.d/init.el file. For Android Studio, RubyMine, PyCharm, and other IntelliJ, set =E2=80=9CEns= ure line feed at file end on Save=E2=80=9D under =E2=80=9CEditor.=E2=80=9D For Atom, you=E2=80=99re also all set out of the box. Keep that via the Whi= tespace 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_WHI= TESPACE_ON_SAVE =3D true to your .tm_properties file.