[PATCH] net/ixgbe: fix inverted test and set conditional
David Marchand
david.marchand at redhat.com
Mon Jun 19 09:53:39 CEST 2023
On Thu, Jun 15, 2023 at 9:30 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> Correct a mistake when converting ixgbe to use __atomic_test_and_set
> instead of rte_atomic32_test_and_set. The return value from
> __atomic_test_and_set is inverted relative to rte_atomic32_test_and_set.
>
> Fixes: e90baf6b82f6 ("net/ixgbe: replace legacy atomics with GCC builtin atomics")
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
Thanks for the fix Tyler.
--
David Marchand
More information about the dev
mailing list