From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from www253.your-server.de (www253.your-server.de [188.40.28.33]) by dpdk.org (Postfix) with ESMTP id 4B35BDED for ; Tue, 28 Aug 2018 16:33:26 +0200 (CEST) Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www253.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fuf3d-0002KX-W4; Tue, 28 Aug 2018 16:33:26 +0200 Received: from [93.244.224.0] (helo=DESKTOPPRFVO55) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fuf3d-000Mkl-OW; Tue, 28 Aug 2018 16:33:25 +0200 From: "Sebastian Foss" To: "'Rami Rosen'" Cc: References: <000801d43d36$ef9f7480$cede5d80$@ingenieurbuero-foss.de> <001401d43d76$fe69f860$fb3de920$@ingenieurbuero-foss.de> In-Reply-To: Date: Tue, 28 Aug 2018 16:33:25 +0200 Message-ID: <001a01d43edc$147fbcf0$3d7f36d0$@ingenieurbuero-foss.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01D43EEC.D80C5D80" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIBh3lWgwVKJh/M2Rx3NoI17djjbwKcEIokAdBua5QC5HMf46RAIS3Q Content-Language: de X-Authenticated-Sender: sfo@ingenieurbuero-foss.de X-Virus-Scanned: Clear (ClamAV 0.100.1/24881/Tue Aug 28 14:49:47 2018) Subject: Re: [dts] DDP / testpmd setup X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 14:33:26 -0000 This is a multipart message in MIME format. ------=_NextPart_000_001B_01D43EEC.D80C5D80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, ok seems the ddp profiles are persistent when unbinding and rebinding = the dpdk / linux drivers. However it seems like the ddp profile is not = used for rss hashing when i bind the i40e driver and run some test (e.g. = PPPoE traffic). Are there any plans to support ddp profiles for rss hashing when i40e is = used without dpdk ? =20 Thanks. =20 Von: Rami Rosen =20 Gesendet: Sonntag, 26. August 2018 22:46 An: Sebastian Foss Cc: dts@dpdk.org Betreff: Re: [dts] DDP / testpmd setup =20 Hi, Sebastian, Regarding rebinding, there are two types: One is with=20 dpdk-devbind -b i40e pci_id_of_port And the second is the ribust one: rmmod i40e and then modprobe i40e. I am not sure as to which of the two = you aim when talking about rebinding. I would suggest to start with the first option. It triggers calling the = probe() callback of I40E, and not the full longer and heavier way with = I40E module_exit() and module_init() callbacks =20 Regarding userspace app for achieving it: you can follow the dpdk = testpmd code, but this can take quite a time and effort. =20 Regards, Rami Rosen =20 =20 =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=90=D7=B3, 26 = =D7=91=D7=90=D7=95=D7=92=D7=B3 2018, 22:57, =D7=9E=D7=90=D7=AA Sebastian = Foss =E2=80=8F >: Hi Rami, I found the switch for testpmd to use a cmd line script instead of using = interactive mode. Still need to see if loading a ddp persists on the = card when rebinding the i40e driver instead of vfio / uio. The kernel i40e driver also seems to have the functions to use AdminQ to = load DDPs onto the card =E2=80=93 however im not sure how to do it from = userland. =20 =20 Von: Rami Rosen >=20 Gesendet: Sonntag, 26. August 2018 20:59 An: sfo@ingenieurbuero-foss.de =20 Betreff: Re: [dts] DDP / testpmd setup =20 Hi Sebastian, I don't know of such a way, unfortunately. Also you cannot automate = testpmd as it is to load the profile automatically without going interactive = mode. =20 Regards, Rami Rosen http://ramirose.wix.com/ramirosen =20 =20 =20 =20 On Sun, Aug 26, 2018 at 3:18 PM Sebastian Foss = > wrote: Hi, we are using testpmd to store ddp profiles in an Intel X710DA2 NIC. Is = there a way to have those profiles stored in the NIC permanently = =E2=80=93 or what would be the best solution to have those profiles = loaded automatically at boot and use a regular kernel driver afterwards = ? From what i understand so far to use the DPDK functions to load a DDP = Profile the UIO or VFIO drivers have to be used. =20 Thank you! =20 Mit freundlichen Gr=C3=BC=C3=9Fen / Best Regards Sebastian Foss, Electrical Engineering (B. Eng.) Hardware & Software Development Gesch=C3=A4ftsf=C3=BChrer / CEO SF Engineering UG & Co. KG =20 =20 --=20 regards, Rami Rosen ------=_NextPart_000_001B_01D43EEC.D80C5D80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

ok seems the ddp profiles are persistent when unbinding and = rebinding the dpdk / linux drivers. However it seems like the ddp = profile is not used for rss hashing when i bind the i40e driver and run = some test (e.g. PPPoE traffic).

Are there any plans to support ddp profiles for rss hashing = when i40e is used without dpdk ?

 

Thanks.

 

Von: = Rami Rosen <ramirose@gmail.com>
Gesendet: Sonntag, 26. = August 2018 22:46
An: Sebastian Foss = <sfo@ingenieurbuero-foss.de>
Cc: = dts@dpdk.org
Betreff: Re: [dts] DDP / testpmd = setup

 

Hi, = Sebastian,

Regarding rebinding, = there are two types:

One = is with 

dpdk-devbind = -b i40e pci_id_of_port

And = the second is the ribust one:

rmmod i40e and then modprobe i40e. I am not sure as to = which of the two you aim when talking about = rebinding.

I would suggest = to start with the first option. It triggers calling the probe() callback = of I40E, and not the full longer and heavier way with I40E module_exit() = and module_init() callbacks

 

Regarding userspace app for achieving it: you can = follow the dpdk testpmd code, but

this can take quite a time and = effort.

 

Regards,

Rami Rosen

 

 

=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A = =D7=99=D7=95=D7=9D =D7=90=D7=B3, 26 =D7=91=D7=90=D7=95=D7=92=D7=B3 2018, = 22:57, =D7=9E=D7=90=D7=AA Sebastian Foss =E2=80=8F<sfo@ingenieurbuero-foss.de= >:

Hi = Rami,

I found the = switch for testpmd to use a cmd line script instead of using interactive = mode. Still need to see if loading a ddp persists on the card when = rebinding the i40e driver instead of vfio / uio.

The kernel i40e = driver also seems to have the functions to use AdminQ to load DDPs onto = the card =E2=80=93 however im not sure how to do it from = userland.

 =

 =

Von: = Rami Rosen <ramirose@gmail.com>
Gesendet: = Sonntag, 26. August 2018 20:59
An: sfo@ingenieurbuero-foss.de
Betreff: Re: = [dts] DDP / testpmd setup

 <= /o:p>

Hi = Sebastian,

I don't = know of such a way, unfortunately. Also you cannot automate = testpmd

as it is to = load the profile automatically without going interactive = mode.

 <= /o:p>

Regards,

Rami = Rosen

http://ramirose.wix.com/ramirosen

 <= /o:p>

 <= /o:p>

 <= /o:p>

 <= /o:p>

On Sun, Aug = 26, 2018 at 3:18 PM Sebastian Foss <sfo@ingenieurbuero-foss.de> = wrote:

Hi,

we are = using testpmd to store ddp profiles in an Intel X710DA2 NIC. Is there a = way to have those profiles stored in the NIC permanently =E2=80=93 or = what would be the best solution to have those profiles loaded = automatically at boot and use a regular kernel driver afterwards ? From = what i understand so far to use the DPDK functions to load a DDP Profile = the UIO or VFIO drivers have to be used.

 <= /o:p>

Thank = you!

 <= /o:p>

Mit freundlichen Gr=C3=BC=C3=9Fen / Best = Regards

Sebastian Foss, Electrical Engineering (B. = Eng.)

Hardware & Software = Development

Gesch=C3=A4ftsf=C3=BChrer / = CEO

SF Engineering UG & Co. = KG

 

 <= /o:p>



--

regards,

Rami = Rosen

------=_NextPart_000_001B_01D43EEC.D80C5D80--