> -----Original Message----- > From: Tyler Retzlaff <roret...@linux.microsoft.com> > Sent: Friday, June 16, 2023 3:30 AM > To: dev@dpdk.org > Cc: Yang, Qiming <qiming.y...@intel.com>; Wu, Wenjun1 > <wenjun1...@intel.com>; m...@smartsharesystems.com; Tyler Retzlaff > <roret...@linux.microsoft.com>; david.march...@redhat.com > 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: roret...@linux.microsoft.com > Cc: david.march...@redhat.com > Cc: qiming.y...@intel.com > > Signed-off-by: Tyler Retzlaff <roret...@linux.microsoft.com> > ---
Tested-by: Lingli Chen <linglix.c...@intel.com>