summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-04-06 18:25:35 -0700
committerJakub Kicinski <kuba@kernel.org>2023-04-10 17:56:18 -0700
commit08a096780d9239e69909c48f4b1fcd99c860b2ef (patch)
tree26ace3f1c368bdfa92f1bc5a590337e8750788e4 /drivers/net/ethernet/intel/ixgbe
parent9ded5bc77fe5f396a58da95627695a89a427c962 (diff)
downloadlinux-stable-08a096780d9239e69909c48f4b1fcd99c860b2ef.tar.gz
linux-stable-08a096780d9239e69909c48f4b1fcd99c860b2ef.tar.bz2
linux-stable-08a096780d9239e69909c48f4b1fcd99c860b2ef.zip
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')
0 files changed, 0 insertions, 0 deletions