Message ID | 168564116688.7284.6877238631049679250.stgit@anambiarhost.jf.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | Introduce napi queues support | expand |
On Thu, 01 Jun 2023 10:42:20 -0700 Amritha Nambiar wrote: > Introduce support for associating napi instances with > corresponding RX and TX queue set. Add the capability > to export napi information supported by the device. > Extend the netdev_genl generic netlink family for netdev > with napi data. The napi fields exposed are: > - napi id > - queue/queue-set (both RX and TX) associated with each > napi instance Would you mind throwing in the IRQ vector number already? Should be pretty easy to find the IRQ from NAPI, and it'd make this code immediately very useful for IRQ pinning. > Additional napi fields such as PID association for napi > thread etc. can be supported in a follow-on patch set. > > This series only supports 'get' ability for retrieving > napi fields (specifically, napi ids and queue[s]). The 'set' > ability for setting queue[s] associated with a napi instance > via netdev-genl will be submitted as a separate patch series.
On 6/2/2023 11:00 PM, Jakub Kicinski wrote: > On Thu, 01 Jun 2023 10:42:20 -0700 Amritha Nambiar wrote: >> Introduce support for associating napi instances with >> corresponding RX and TX queue set. Add the capability >> to export napi information supported by the device. >> Extend the netdev_genl generic netlink family for netdev >> with napi data. The napi fields exposed are: >> - napi id >> - queue/queue-set (both RX and TX) associated with each >> napi instance > > Would you mind throwing in the IRQ vector number already? > Should be pretty easy to find the IRQ from NAPI, and it'd > make this code immediately very useful for IRQ pinning. > Sorry for the delayed response as I was on vacation. Sure, I can add in the IRQ vector number as well in the next version of the series. >> Additional napi fields such as PID association for napi >> thread etc. can be supported in a follow-on patch set. >> >> This series only supports 'get' ability for retrieving >> napi fields (specifically, napi ids and queue[s]). The 'set' >> ability for setting queue[s] associated with a napi instance >> via netdev-genl will be submitted as a separate patch series.