sfc: Prepare for RX scatter on EF10
authorJon Cooper <jcooper@solarflare.com>
Fri, 8 Mar 2013 10:18:28 +0000 (10:18 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Aug 2013 17:12:12 +0000 (18:12 +0100)
RX DMA scatter is always enabled on EF10.  Adjust the common RX
completion handling to allow for this.

RX completion events on EF10 include the length used from a single
descriptor, not the cumulative length used.  Add a field to struct
efx_rx_queue to hold the cumulative length.

[bwh: Also fix a related comment]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found