> -----Original Message----- > From: Tyler Retzlaff <[email protected]> > Sent: Friday, June 16, 2023 3:30 AM > To: [email protected] > Cc: Yang, Qiming <[email protected]>; Wu, Wenjun1 > <[email protected]>; [email protected]; Tyler Retzlaff > <[email protected]>; [email protected] > Subject: [PATCH] net/ixgbe: fix inverted test and set conditional > > 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") > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Tyler Retzlaff <[email protected]> > ---
Tested-by: Lingli Chen <[email protected]>

