test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Sebastian Foss" <sfo@ingenieurbuero-foss.de>
To: "'Rami Rosen'" <ramirose@gmail.com>
Cc: <dts@dpdk.org>
Subject: Re: [dts] DDP / testpmd setup
Date: Tue, 28 Aug 2018 16:33:25 +0200	[thread overview]
Message-ID: <001a01d43edc$147fbcf0$3d7f36d0$@ingenieurbuero-foss.de> (raw)
In-Reply-To: <CAHLOa7TeKfgtibD0+q8ra2AiohtmEo62z87a2biQT8eNt_2kaA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2985 bytes --]

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

 

 

בתאריך יום א׳, 26 באוג׳ 2018, 22:57, מאת Sebastian Foss ‏<sfo@ingenieurbuero-foss.de <mailto: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 – however im not sure how to do it from userland.

 

 

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

 

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.

 

Regards,

Rami Rosen

http://ramirose.wix.com/ramirosen

 

 

 

 

On Sun, Aug 26, 2018 at 3:18 PM Sebastian Foss <sfo@ingenieurbuero-foss.de <mailto: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 – 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.

 

Thank you!

 

Mit freundlichen Grüßen / Best Regards

Sebastian Foss, Electrical Engineering (B. Eng.)

Hardware & Software Development

Geschäftsführer / CEO

SF Engineering UG & Co. KG

 

 



-- 

regards,

Rami Rosen


[-- Attachment #2: Type: text/html, Size: 11029 bytes --]

  reply	other threads:[~2018-08-28 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-26 12:18 Sebastian Foss
     [not found] ` <CAHLOa7SaSPqRhg5Xhy88efNVsJeba-fKRT7HVmO2sMZ7ccugDg@mail.gmail.com>
2018-08-26 19:57   ` Sebastian Foss
2018-08-26 20:45     ` Rami Rosen
2018-08-28 14:33       ` Sebastian Foss [this message]
     [not found]         ` <CAHLOa7SOMru4yB=bQJSRf4hgq8yZfrmKWdTURaxQxHrGGDjT9A@mail.gmail.com>
2018-08-28 14:42           ` Sebastian Foss
2018-08-28 14:48             ` Rami Rosen
2018-08-28 14:52               ` Sebastian Foss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001a01d43edc$147fbcf0$3d7f36d0$@ingenieurbuero-foss.de' \
    --to=sfo@ingenieurbuero-foss.de \
    --cc=dts@dpdk.org \
    --cc=ramirose@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).