From: Rami Rosen <ramirose@gmail.com>
To: Sebastian Foss <sfo@ingenieurbuero-foss.de>
Cc: dts@dpdk.org
Subject: Re: [dts] DDP / testpmd setup
Date: Sun, 26 Aug 2018 23:45:32 +0300 [thread overview]
Message-ID: <CAHLOa7TeKfgtibD0+q8ra2AiohtmEo62z87a2biQT8eNt_2kaA@mail.gmail.com> (raw)
In-Reply-To: <001401d43d76$fe69f860$fb3de920$@ingenieurbuero-foss.de>
[-- Attachment #1: Type: text/plain, Size: 2383 bytes --]
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
>
> http://ramirose.wix.com/ramirosen
>
>
>
>
>
>
>
>
>
> 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
>
[-- Attachment #2: Type: text/html, Size: 5573 bytes --]
next prev parent reply other threads:[~2018-08-26 20:45 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 [this message]
2018-08-28 14:33 ` Sebastian Foss
[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=CAHLOa7TeKfgtibD0+q8ra2AiohtmEo62z87a2biQT8eNt_2kaA@mail.gmail.com \
--to=ramirose@gmail.com \
--cc=dts@dpdk.org \
--cc=sfo@ingenieurbuero-foss.de \
/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).