]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add timer to watch the RQ when we are out of mbufs.
authorhselasky <hselasky@FreeBSD.org>
Mon, 7 Nov 2016 11:39:45 +0000 (11:39 +0000)
committerhselasky <hselasky@FreeBSD.org>
Mon, 7 Nov 2016 11:39:45 +0000 (11:39 +0000)
commitc3180648b23d983bbcebb49b6b9b462cdbb56edc
tree96331973af59ff61bd8ed83b54502b1982bb88dc
parent467812cdaf0cbac5b0abb34cb198bba5b8c10346
Add timer to watch the RQ when we are out of mbufs.

The firmware/hardware does not generate additional completion
events unless we post new buffers. Use a timer to try to post
more buffers in case we are temporarily out of mbufs. Else
the receive schedule completely stops.

Sponsored by: Mellanox Technologies
MFC after: 1 week
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c