]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7db4504c5abd9f8677ce74ffee5795b6f78c4a4f
tree27de28a6c05415007eb9d4f7c89aa4667aecf2dc
parentee73375fa53e9bb89eb6fb87182546da5fd6350a
sfc: Prepare for RX scatter on EF10

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>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/rx.c