ixgbe: use new queue try_stop/try_wake macros
authorJakub Kicinski <kuba@kernel.org>
Fri, 7 Apr 2023 01:25:34 +0000 (18:25 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Apr 2023 00:56:18 +0000 (17:56 -0700)
commit9ded5bc77fe5f396a58da95627695a89a427c962
treeb4df616e1bc5de2b452243fa7c5ee27a96f08e7c
parentc91c46de6bbc1147ae5dfe046b87f5f3d6593215
ixgbe: use new queue try_stop/try_wake macros

Convert ixgbe to use the new macros, I think a lot of people
copy the ixgbe code. The only functional change is that the
unlikely() in ixgbe_clean_tx_irq() turns into a likely()
inside the new macro and no longer includes

  total_packets && netif_carrier_ok(tx_ring->netdev)

which is probably for the best, anyway.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c