]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r308416:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Nov 2016 09:00:01 +0000 (09:00 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Nov 2016 09:00:01 +0000 (09:00 +0000)
commit9b4c7cda8c9e7d33f87f1a454422966ed3e41cb3
tree8ad4f6eecfd7c55e069356aaaaafbd9ffcb506ac
parentf8a7dc2101967a410e956d2816bb8ba991c790d0
MFC r308416:
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@308685 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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