Hey,
I am trying to figure out if there is a way to check which QP’s are mapped to which IRQ as seen in the /proc/interrupts file:
[root@nvme101 eliott]# cat /proc/interrupts | grep ens1
149: 0 0 0 0 0 0 319141058 340480 0 13057634 94143 0 0 0 0 0 0 0 0 217826 0 232449 0 0 IR-PCI-MSI-edge ens1-12
150: 0 0 0 0 0 0 0 219867439 0 1647483 0 0 0 0 0 0 0 0 0 19729035 0 0 0 0 IR-PCI-MSI-edge ens1-13
151: 0 0 0 0 0 0 0 0 136004829 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-edge ens1-14
152: 0 0 0 0 0 0 0 0 0 1573337 0 0 0 0 0 0 0 0 37493613 0 0 0 0 0 IR-PCI-MSI-edge ens1-15
155: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1975255376 0 0 0 0 0 IR-PCI-MSI-edge ens1-0
156: 0 0 0 0 0 0 202624 0 0 0 0 0 0 0 0 0 0 0 0 199828517 0 13153183 0 0 IR-PCI-MSI-edge ens1-1
157: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 116234175 0 0 0 IR-PCI-MSI-edge ens1-2
158: 0 0 0 0 0 0 0 0 0 0 0 112023074 0 0 0 0 0 0 0 0 0 127688879 5 0 IR-PCI-MSI-edge ens1-3
159: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1435783855 0 IR-PCI-MSI-edge ens1-4
160: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 240198063 IR-PCI-MSI-edge ens1-5
167: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 169419823 0 0 0 0 0 IR-PCI-MSI-edge ens1-6
168: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 81519183 1 3742930 0 0 IR-PCI-MSI-edge ens1-7
169: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 91266031 0 0 0 IR-PCI-MSI-edge ens1-8
170: 0 0 0 0 0 0 0 0 0 0 5448319 0 0 0 0 0 0 0 0 118 0 154722364 0 0 IR-PCI-MSI-edge ens1-9
171: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 268194063 0 IR-PCI-MSI-edge ens1-10
172: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 190925030 IR-PCI-MSI-edge ens1-11
So in my case, I can see that device ens1 have a total of 16 IRQs, I would like to understand for example how many QPs are mapped under ‘ens1-0’ and what are them QP number.
Also I would like to understand if there is a way to affect this mapping to something more customizable ?
Following the lspci output of my NIC:
82:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
Subsystem: Mellanox Technologies Device 0008
Physical Slot: 1
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 39
NUMA node: 1
Region 0: Memory at fbe00000 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at fb000000 (64-bit, prefetchable) [size=8M]
Expansion ROM at fbd00000 [disabled] [size=1M]
Capabilities: [9c] MSI-X: Enable+ Count=128 Masked-
Vector table: BAR=0 offset=0007c000
PBA: BAR=0 offset=0007d000
a.zip (2.09 KB)