summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-04-07 04:25:35 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-11 03:56:18 +0300
commit08a096780d9239e69909c48f4b1fcd99c860b2ef (patch)
tree26ace3f1c368bdfa92f1bc5a590337e8750788e4 /drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
parent9ded5bc77fe5f396a58da95627695a89a427c962 (diff)
downloadlinux-08a096780d9239e69909c48f4b1fcd99c860b2ef.tar.xz
bnxt: use new queue try_stop/try_wake macros
Convert bnxt to use new macros rather than open code the logic. Two differences: (1) bnxt_tx_int() will now only issue a memory barrier if it sees enough space on the ring to wake the queue. This should be fine, the mb() is between the writes to the ring pointers and checking queue state. (2) we'll start the queue instead of waking on race, this should be safe inside the xmit handler. Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_main.c')
0 files changed, 0 insertions, 0 deletions