-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
hi Team,
We would like to specify certain CPU to a specific NIC ports (E810 card). Basically, we would like to set the affinity with the specific IRQ's. As example below, IRQ 1056 has been mapped with CPU core 100. But we would like to map the IRQ (1056 ) to a specific CPU as like( set_irq_affinity -X 0-7,64-71 em3).
Looking for support on this would be really helpful.
tuna -Q | grep -i 1056
1056 ice-em3-TxRx-126 100
Debug output
cat /proc/irq/1056/smp_affinity
00000010,00000000,00000000,00000000
- '[' '' == 1 ']'
- set_affinity
- build_mask
- VEC=7
- '[' 7 -ge 32 ']'
- MASK_TMP=128
++ printf %X 128 - MASK=80
- printf %s 80
- printf '%s %d %s -> /proc/irq/1056/smp_affinity\n' em3 7 80
em3 7 80 -> /proc/irq/1056/smp_affinity
++ sed -E 's/^[0,]*//' /proc/irq/1056/smp_affinity - SMP_I=10,00000000,00000000,00000000
- '[' 10,00000000,00000000,00000000 '!=' 80 ']'
- printf ' ACTUAL\t%s %d %s <- /proc/irq/1056/smp_affinity\n' em3 7 10,00000000,00000000,00000000
ACTUAL em3 7 10,00000000,00000000,00000000 <- /proc/irq/1056/smp_affinity - printf ' WARNING -- SMP_AFFINITY setting failed\n'
WARNING -- SMP_AFFINITY setting failed
NOTE : irqbalance has been disabled.
systemctl disable irqbalance
systemctl stop irqbalance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels