Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux/ena: Free copybreak page if NUMA is incorrect
RX page allocation mechanism allocates pages on the NUMA node associated with the CPU which serves the queue's napi routine. Specifically, in LPC case, we check the allocated cache pages per RX refill routine, and re-allocate them in case they are located in the wrong NUMA node. These mechanisms were not applied to copybreak pages, as their content is being copied and the pages are being reused, without checking whether they are allocated on the correct NUMA node. This patch makes sure that an RX page is re-allocated if it's on the wrong NUMA for packets on the copybreak path. Fixes: 798070a ("First commit of Amazon Elastic Network Adapter (ENA) Linux driver") Signed-off-by: Shahar Itzko <itzko@amazon.com>
- Loading branch information