[dpdk-dev] [PATCH] vdpa/mlx5: improve interrupt management
Thomas Monjalon
thomas at monjalon.net
Sun Apr 11 11:07:50 CEST 2021
07/04/2021 08:49, Xia, Chenbo:
> > Signed-off-by: Matan Azrad <matan at nvidia.com>
> > Acked-by: Xueming Li <xuemingl at nvidia.com>
>
> Patch applied to next-virtio/main with conflict resolved.
>
> Thanks!
Sorry it cannot be pulled in the main tree because it breaks
compilation with musl libc.
It can be fixed in the same way as in
41b5a7a8494e ("vdpa/mlx5: replace pthread functions unavailable in musl")
The function pthread_attr_setaffinity_np() must be replaced with
pthread_setaffinity_np() if moved after the call to pthread_create().
We could add a checkpatch check for forbidden functions like
pthread_yield, pthread_attr_setaffinity_np
and forbidden includes:
<error.h>, <sys/fcntl.h>
More information about the dev
mailing list