DPDK usage discussions
 help / color / mirror / Atom feed
* RE: how to bind VF interface into dpdk (Balakrishnan K)
@ 2022-09-15 11:26 Varghese, Vipin
  0 siblings, 0 replies; only message in thread
From: Varghese, Vipin @ 2022-09-15 11:26 UTC (permalink / raw)
  To: users

[AMD Official Use Only - General]

Hi Balakrishnan K,

With respect to error (shared below), I believe this is expected 

```
> [ 1394.034137] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no support for interrupts?
> [ 1394.037596] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no support for interrupts?
> [ 1421.498627] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no support for interrupts?
> [ 1421.500976] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no support for interrupts?
```

Please refer https://doc.dpdk.org/guides/nics/ixgbe.html, section `30.4.5. X550 does not support legacy interrupt mode`.

With respect to the original error (shared below)

```
>     I am trying to bind VF interface to dpdk using dpdk-devbind.py. Unable to bind getting error ?.
```

As per the IXGBE PMD documentation, one has to follow

```
Step-1: insmod ixgbe.ko MDD=0,0
Step-2: PF port is Kernel driver
Step-3: create VF
Step-4: modprobe vfio `` ``nointxmask=1
Step-5: then bind the VF devices with `vfio-pci`
```

For your question ` cannot bind to driver uio_pci_generic?`, I humbly request to check ` The errata is the item #22 from X550 spec update` in section ` 30.4.5.1. Description`. Then check with Intel Network PMD maintainer if this can be fixed.

Note: please do let us know if vfio-pci or igb_uio works for VF devices under X540 (as I do not have similar card I unable to test it out for you).

> -----Original Message-----
> From: users-request@dpdk.org <users-request@dpdk.org>
> Sent: Thursday, September 15, 2022 12:42 PM
> To: users@dpdk.org
> Subject: users Digest, Vol 356, Issue 6
> 
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
> 
> 
> Send users mailing list submissions to
>         users@dpdk.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail
> s.dpdk.org%2Flistinfo%2Fusers&amp;data=05%7C01%7Cvipin.varghese%40a
> md.com%7C2ba1c25ba37744b1a16608da96e9a8de%7C3dd8961fe4884e608e1
> 1a82d994e183d%7C0%7C0%7C637988227558550775%7CUnknown%7CTWFpb
> GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> 6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=u6aC9rcEHPpC3OCZ6X2ztHj%2F
> NXJQQfEG6626NHpHohk%3D&amp;reserved=0
> or, via email, send a message with subject or body 'help' to
>         users-request@dpdk.org
> 
> You can reach the person managing the list at
>         users-owner@dpdk.org
> 
> When replying, please edit your Subject line so it is more specific than "Re:
> Contents of users digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: how to bind VF interface into dpdk (Balakrishnan K)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 15 Sep 2022 07:12:18 +0000
> From: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
> To: Satish Patel <satish.txt@gmail.com>
> Cc: "users@dpdk.org" <users@dpdk.org>
> Subject: RE: how to bind VF interface into dpdk
> Message-ID:
> 
> <PSAPR04MB5516A8F5642DE6BA160F37B1D6499@PSAPR04MB5516.apcprd0
> 4.prod.outlook.com>
> 
> Content-Type: text/plain; charset="utf-8"
> 
> Hi Sathish,
>   Thanks for the input .
> Checked the dmesg  below are the error msg.
> [ 1394.034137] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no
> support for interrupts?
> [ 1394.037596] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no
> support for interrupts?
> [ 1421.498627] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no
> support for interrupts?
> [ 1421.500976] uio_pci_generic 0000:06:00.0: No IRQ assigned to device: no
> support for interrupts?
> 
> Is any BIOS setting needed to resolve the issue.
> 
> 
> Regards,
> Bala
> 
> 
> 
> From: Satish Patel <satish.txt@gmail.com>
> Sent: 15 September 2022 08:00
> To: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
> Cc: users@dpdk.org
> Subject: Re: how to bind VF interface into dpdk
> 
> 
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.
> Hi,
> 
>  I would also check dmesg logs for any indication or warning. I had an issue
> like that and it turned out to be a BIOS setting related to some nic shared
> memory.
> 
> On Wed, Sep 14, 2022 at 8:30 AM Balakrishnan K
> <Balakrishnan.K1@tatacommunications.com<mailto:Balakrishnan.K1@tataco
> mmunications.com>> wrote:
> Hi All,
>     I am trying to bind VF interface to dpdk using dpdk-devbind.py.
> Unable to bind getting error ?cannot bind to driver uio_pci_generic?.
> Steps followed:
> 1.modprobe uio_pci_generic
> 2. dpdk-devbind.py -b uio_pci_generic 0000:05:00.0
> 
> Also tried with vfio-pci driver not succeeded.
> Attaching the dpdk-devbind -s output and the error which I got.
> 
> Am I missing something could any one please help on this.
> 
> [cid:image001.png@01D8C900.9517D660]
> 
> [cid:image002.png@01D8C900.9517D660]
> 
> Regards,
> Bala
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail
> s.dpdk.org%2Farchives%2Fusers%2Fattachments%2F20220915%2F3dab7cbe
> %2Fattachment.htm&amp;data=05%7C01%7Cvipin.varghese%40amd.com%7
> C2ba1c25ba37744b1a16608da96e9a8de%7C3dd8961fe4884e608e11a82d994e
> 183d%7C0%7C0%7C637988227558550775%7CUnknown%7CTWFpbGZsb3d8ey
> JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
> 7C3000%7C%7C%7C&amp;sdata=CON81BCV4BYdGlNWrfEk3w4HVonmTL%2B
> EC%2BvY%2BBMmUvo%3D&amp;reserved=0>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.png
> Type: image/png
> Size: 11521 bytes
> Desc: image001.png
> URL:
> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail
> s.dpdk.org%2Farchives%2Fusers%2Fattachments%2F20220915%2F3dab7cbe
> %2Fattachment.png&amp;data=05%7C01%7Cvipin.varghese%40amd.com%7
> C2ba1c25ba37744b1a16608da96e9a8de%7C3dd8961fe4884e608e11a82d994e
> 183d%7C0%7C0%7C637988227558550775%7CUnknown%7CTWFpbGZsb3d8ey
> JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
> 7C3000%7C%7C%7C&amp;sdata=EOaetp1Fo1OjPeYGR2YZvotPVH2%2FOh2zX
> qmyQa6eIKQ%3D&amp;reserved=0>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image002.png
> Type: image/png
> Size: 10449 bytes
> Desc: image002.png
> URL:
> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail
> s.dpdk.org%2Farchives%2Fusers%2Fattachments%2F20220915%2F3dab7cbe
> %2Fattachment-
> 0001.png&amp;data=05%7C01%7Cvipin.varghese%40amd.com%7C2ba1c25b
> a37744b1a16608da96e9a8de%7C3dd8961fe4884e608e11a82d994e183d%7C0
> %7C0%7C637988227558550775%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC
> 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
> 7C%7C%7C&amp;sdata=oHq35WzlChH3PqbJ57lGFUf3iQeo85cLg1GH3q62suk
> %3D&amp;reserved=0>
> 
> End of users Digest, Vol 356, Issue 6
> *************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-15 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 11:26 how to bind VF interface into dpdk (Balakrishnan K) Varghese, Vipin

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).