]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): enforce packed stream fake buffer size
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 11:39:13 +0000 (11:39 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 11:39:13 +0000 (11:39 +0000)
commit3caf31e90e848278d83e7a54daf5f704aac4ba8b
tree0641ab349037fee3407bed6b2add1e994f2faf34
parent5fb80fd41bedb7a63938fcfb3f9ac1788b3f4bdc
sfxge(4): enforce packed stream fake buffer size

In the case of packed stream real size of the buffer does not fit in
Rx descriptor byte count. Real size is specified on Rx queue setup.
Non-zero fake should be used to bypass hardware checks.

Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18100
sys/dev/sfxge/common/ef10_rx.c
sys/dev/sfxge/common/efx.h