On Fri, Aug 07, 2026 at 08:24:36AM +0800, Feng Tang wrote:
> reuseport_bpf_numa case failed when testing on a platform with CXL
> memory:
> 
>     #./reuseport_bpf_numa
>     ---- IPv4 UDP ----
>     send node 0, receive socket 0
>     ./reuseport_bpf_numa: failed to pin to node: Invalid argument
> 
> The root cause is that the platform has 2 numa nodes: node 0 has
> both cpu and memory, while node 1 is a CXL node which only has
> memory, and caused numa_run_on_node() to fail.
> 
> Add sanity check to skip cpuless numa node for the numa binding test.
> 
> Signed-off-by: Feng Tang <[email protected]>
> ---
> Changelog:
>   since v2:
>     * fix spelling issue (Jakub, Sashiko)
>       * remove unnecessary 'inline' for is_cpuless_node() (Jakub)
> 
>   since v1:
>     * address comments from Sashiko bot
>       https://lore.kernel.org/all/[email protected]/
>     * lift the cpuless node check out of send_from_node() 

Reviewed-by: Simon Horman <[email protected]>


Reply via email to