Skip to content
Commit 9ded5bc7 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarJakub Kicinski <kuba@kernel.org>
parent c91c46de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment