IRQ assignment for queues

Srivats P <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <CANzUK5-QPBHuGBVvrdcXvsjo2BVcQcfeQrWmZV5__WuhgnpiDQ@mail.gmail.com>
Hi,

Not a XDP question, but more generic about IRQ assignment for queues.

For a NIC which has separate RX and TX queues (no COMBINED queues), I
see in /proc/interrupts that only 1 IRQ is assigned.

srivatsp@EXA8:~$ sudo ethtool -L enp5s0f1 rx 1 tx 1 combined 0
combined unmodified, ignoring
srivatsp@EXA8:~$ ethtool -l enp5s0f1
Channel parameters for enp5s0f1:
Pre-set maximums:
RX:             4
TX:             4
Other:          0
Combined:       0
Current hardware settings:
RX:             1
TX:             1
Other:          0
Combined:       0

srivatsp@EXA8:~$ cat /proc/interrupts | grep enp5s0f1
 73:          0          2          0          0   ITS-MSI 2623488
Edge      enp5s0f1-rxtx-0
 89:          0          0          0          0   ITS-MSI 2623504
Edge      enp5s0f1-rbdr-0
 92:          0          0          0          0   ITS-MSI 2623507
Edge      enp5s0f1-qset-err-0

Is the IRQ for the RX queue or TX queue or both? Does Tx need an IRQ?

Srivats
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.