Skip to content
Commit 64398223 authored by Dave Jiang's avatar Dave Jiang Committed by Jon Mason
Browse files

ntb: Check tx descriptors outstanding instead of head/tail for tx queue



Use existing function ntb_transport_tx_free_entry() instead of open coding
the check to see if there are outstanding tx descriptors.

Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 5a7693e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment