IRQ-CPU affinity for AF_XDP TX?
Srivats P <[email protected]> Fri, 6 Sep 2024 18:34:52 +0530
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CANzUK5_hTi0gWX_9xK3ycbqNpwbovJdhFaDoojn-NEUJ8ivn4Q@mail.gmail.com> |
Hi, For AF_XDP (in ZC or copy mode), the IRQ-CPU affinity plays a role in the RX direction to bind a CPU core to a particular NIC queue (mapping the CPU core to the NIC queue's IRQ). My question is does the IRQ or IRQ-CPU affinity play any role in the TX direction? An xsk is specific to a NIC queue and assuming there is only one core doing TX on that xsk, is there some IRQ/CPU configuration recommended for better performance? Does the recommendation change if busy-polling mode is used or not used? ZC or non-ZC? Srivats