pub fn affinity_mask(cpu: usize) -> StringExpand description
The /proc/irq/<n>/smp_affinity mask that names exactly cpu:
comma-separated 32-bit hex words, most significant first.
scripts/tune-nic.sh writes the same format, so a worker’s log line and the
IRQ it should be fed by can be compared by eye.
assert_eq!(compio_pool::cpu::affinity_mask(3), "00000008");
assert_eq!(compio_pool::cpu::affinity_mask(35), "00000008,00000000");