ixgbe: fix scalar scattered Rx with CRC
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 28 Jul 2015 11:39:22 +0000 (12:39 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jul 2015 00:15:32 +0000 (02:15 +0200)
commit1b20b07d86872475ecca28af1a00ad9ad45c4c07
treea7a8edfb54ceeb4e352957ff4b0fe3d4257a99b9
parent2e49ae79ebb9db4864cdb65bd0a2c021c1da872d
ixgbe: fix scalar scattered Rx with CRC

For 2.1 release, in attempt to minimize number of RX routines to support,
ixgbe scatter and ixgbe LRO RX routines were merged into one
that can handle both cases.
Though I completely missed the fact, that while LRO could only be used
when HW CRC strip is enabled, scatter RX should work for both cases
(HW CRC strip on/off).
That patch restores missed functionality.

Fixes: 9d8a92628f21 ("ixgbe: remove simple scalar scattered Rx method")

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c