]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Limit maximum size of Rx refill threshold in ENA
authormw <mw@FreeBSD.org>
Thu, 30 May 2019 13:31:35 +0000 (13:31 +0000)
committermw <mw@FreeBSD.org>
Thu, 30 May 2019 13:31:35 +0000 (13:31 +0000)
commitf67319fb3168530887ba370ba2ab9414e78ca5ae
tree67e2b1edc26e9af204d928ffb9f5ccee9d88f0d4
parent254fe35120784e540ff514766c317bf57dbde4fa
Limit maximum size of Rx refill threshold in ENA

The Rx ring size can be as high as 8k. Because of that we want to limit
the cleanup threshold by maximum value of 256.

Submitted by:  Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Amazon, Inc.
sys/dev/ena/ena.c
sys/dev/ena/ena.h