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>:
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>
Gesendet: Sonntag, 26. August 2018 20:59
An: 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
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 – 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