]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): guard Rx scale code with corresponding option
authorarybchik <arybchik@FreeBSD.org>
Fri, 30 Nov 2018 07:09:34 +0000 (07:09 +0000)
committerarybchik <arybchik@FreeBSD.org>
Fri, 30 Nov 2018 07:09:34 +0000 (07:09 +0000)
commit714d5748da141d433ce928a7877560ca3ddfc2cb
treefe4c9322f93b4429f92d82fca9514c7a55d947ea
parentba4dad973eb273d7a65a01b255e00340887fe4b2
sfxge(4): guard Rx scale code with corresponding option

Previously only some of the code was guarded by this which caused
a build error when EFSYS_OPT_RX_SCALE is 0 (e.g. in manftest).

Submitted by:   Tom Millington <tmillington at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18280
sys/dev/sfxge/common/ef10_nic.c
sys/dev/sfxge/common/efx.h
sys/dev/sfxge/common/siena_nic.c