**NOTE** January 2022 - Changes to Gstreamer and Pipewire packages from PackmanPlease read the following thread about the current changes
-
How to fiind pci-bus of netwrok interface using ioctl
Hi,
I want to find which network adpter(pci-bus) is associated with which network interface. I tried using IRQ numaber. I can find IRQ number of netwrok adapter usig lspci command. I found the IRQ number of network interface using ioctl and ifrq struct. Since multiple network adapter can share IRQ, it didn't worked properly.
I found that using pci-bus device id i can find association network adapter and network interface. I want to know which struct will provide this value for the network interface. I am using ioctl.
Regards,
Pradeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|