[PATCH v3 2/3] net/mlx5: remove weak stub functions
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Mar 2 18:19:07 CET 2023
On Thu, Mar 02, 2023 at 02:21:49PM +0100, Thomas Monjalon wrote:
> The vector Rx functions are conditionally compiled.
> Some stub functions were also always compiled with weak attribute.
> If there is no vector support, the weak functions were linked.
>
> These weak functions are moved in a specific file
> which is compiled only if there is no vector support.
> This way it is simpler to understand,
> and the weak attributes can be removed.
>
> This change helps to compile with MinGW GCC
> which has no support for weak functions.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list