diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-08-22 09:05:02 -0700 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2023-08-22 12:38:19 -0400 |
commit | 643982232860887fed493144957ea5794b6557d1 (patch) | |
tree | cf1d163baad1e20518161ab258d0d6759097eeeb /rust/kernel | |
parent | 5a7693e6bbf19b22fd6c1d2c4b7beb0a03969e2c (diff) |
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: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions