]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS r353182:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 12:54:28 +0000 (12:54 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 12:54:28 +0000 (12:54 +0000)
commit1f4bd4741ebbb77004c25bdf33c1253ea8451545
treea8dfd9e34e0ede1b663c144a58aa81fcebd8fd64
parent10a53980e9ca2bd052f63e5a8de5167d0def6406
MFS r353182:
Make sure the transmit loop doesn't get starved in ipoib.

When the software send queue gets filled up, callbacks to
if_transmit will stop. Make sure the transmit callback
routine checks the send queue and outputs any remaining
mbufs. Else the remaining mbufs may simply sit in the
output queue blocking the transmit path.

Sponsored by: Mellanox Technologies
Approved by: re (gjb)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c