dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Add rudimentary support for getting interrupt information #52

Closed dankamongmen closed 1 year ago

dankamongmen commented 1 year ago

Use sysfs to get IRQ information for devices, exported through netstack_iface_irq() and netstack_iface_irqcount(). These functions assume that IRQs are contiguous for a device, which i'm not sure about. This only works thus far for directly-connected PCIe NICs making use of MSI. Closes #51.