<div dir="auto">Hi, Sebastian,<div dir="auto">Regarding rebinding, there are two types:</div><div dir="auto">One is with </div><div dir="auto">dpdk-devbind -b i40e pci_id_of_port</div><div dir="auto">And the second is the ribust one:</div><div dir="auto">rmmod i40e and then modprobe i40e. I am not sure as to which of the two you aim when talking about rebinding.</div><div dir="auto">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</div><div dir="auto"><br></div><div dir="auto">Regarding userspace app for achieving it: you can follow the dpdk testpmd code, but</div><div dir="auto">this can take quite a time and effort.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Rami Rosen</div><div dir="auto"> </div></div><br><div class="gmail_quote"><div dir="ltr">בתאריך יום א׳, 26 באוג׳ 2018, 22:57, מאת Sebastian Foss ‏<<a href="mailto:sfo@ingenieurbuero-foss.de">sfo@ingenieurbuero-foss.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="blue" vlink="purple"><div class="m_2966468269212378451WordSection1"><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Hi Rami,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Rami Rosen <<a href="mailto:ramirose@gmail.com" target="_blank" rel="noreferrer">ramirose@gmail.com</a>> <br><b>Gesendet:</b> Sonntag, 26. August 2018 20:59<br><b>An:</b> <a href="mailto:sfo@ingenieurbuero-foss.de" target="_blank" rel="noreferrer">sfo@ingenieurbuero-foss.de</a><br><b>Betreff:</b> Re: [dts] DDP / testpmd setup<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi Sebastian,<u></u><u></u></p></div><div><p class="MsoNormal">I don't know of such a way, unfortunately. Also you cannot automate testpmd<u></u><u></u></p></div><div><p class="MsoNormal">as it is to load the profile automatically without going interactive mode.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Rami Rosen<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><a href="http://ramirose.wix.com/ramirosen" target="_blank" rel="noreferrer">http://ramirose.wix.com/ramirosen</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Sun, Aug 26, 2018 at 3:18 PM Sebastian Foss <<a href="mailto:sfo@ingenieurbuero-foss.de" target="_blank" rel="noreferrer">sfo@ingenieurbuero-foss.de</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal">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.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thank you!<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="color:black">Mit freundlichen Grüßen / Best Regards</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black">Sebastian Foss, Electrical Engineering (B. Eng.)</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black">Hardware & Software Development</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black">Geschäftsführer / CEO</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black">SF Engineering UG & Co. KG</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black"> </span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal"><br clear="all"><br>-- <u></u><u></u></p><div><div><p class="MsoNormal">regards,<u></u><u></u></p><div><p class="MsoNormal">Rami Rosen<u></u><u></u></p></div></div></div></div></div></blockquote></div>