]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r301309
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Jun 2016 09:02:51 +0000 (09:02 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Jun 2016 09:02:51 +0000 (09:02 +0000)
commit22f86600e13c857cb2f45f68b0774a5f2728d7c5
tree6624d7ef18a205946f95202b74037358d9bbfa63
parentbc5bc9e45cb708bec3deb7c53f9e841cd0c1e6fa
MFC r301309

sfxge(4): always be ready to receive batched events

When the low-latency firmware variant is running, it is reported as not
being capable of batching RX events, but it can still do so if the
FORCE_EV_MERGING flag is set on an RXQ.  Therefore we need to handle
batched RX events even if the capability isn't set.

If this bug is fixed in the firmware such that the capability is set
even when running the low-latency firmware variant, it will almost
always be reported so I don't think we lose much by removing the check.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D6705

git-svn-id: svn://svn.freebsd.org/base/stable/10@301985 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/ef10_nic.c
sys/dev/sfxge/sfxge_ev.c