sfc: Tighten the check for RX merged completion events
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 24 Sep 2013 22:21:57 +0000 (23:21 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:06:49 +0000 (22:06 +0000)
commit92a04168390a2cb67cb60891e5870626d58c2abb
tree4585cbe20c49086826e4606147382515c49d8eed
parent74cd60a4d7b4f686146efd7ed211974691f0c2c1
sfc: Tighten the check for RX merged completion events

The addition of RX event merging support means we don't reliably
detect dropped RX events now.  Currently we will only detect them if
the previous event for the RX queue had the CONT bit set.

Only accept RX completion events as merged if the
GET_CAPABILITIES_OUT_RX_BATCHING bit is set in datapath_caps (which it
won't be for the low-latency datapath) and the CONT bit is not set on
the event.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c