]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2a6896ed2ff1b7a0bde52494abec76f72ad1aa2
tree4585cbe20c49086826e4606147382515c49d8eed
parenta327ebcae4209bd34f18bdcfe4d59072481d5e2d
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