HomeFreeBSD

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

Description

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.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6705

Details

Provenance
arybchikAuthored on
Differential Revision
D6705: sfxge(4): always be ready to receive batched events
Parents
rS301308: sfxge(4): add helper to compute timer quantum
Branches
Unknown
Tags
Unknown