net/sfc: discard scattered packet on Rx correctly
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 29 Nov 2016 16:19:22 +0000 (16:19 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:26 +0000 (19:39 +0100)
commit09a09b6f8be1535f44b091048f95add7efd23d9c
tree538511eaca18dbf89f66ea2d4fb7f8ebfc617050
parent921f6cf18f9e670ec72b55c1c5c599042ac8af36
net/sfc: discard scattered packet on Rx correctly

Since Rx scatter is not supported, all scattered packets are discarded.
It is not always possible to disable scatter on Huntington, so we
should handle scattered packets correctly in any case.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/sfc/sfc_ev.c
drivers/net/sfc/sfc_rx.c