net/sfc/base: request info about outer frame in Rx events
authorMark Spender <mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:17 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit9a57eee01860bfbd203d3db5d3be220ddaf1e4be
tree73489eac98a98da1ba8be5147e3945ad2238cf21
parent596b7d428dc51d88a7ce24b385b8735cbe32b427
net/sfc/base: request info about outer frame in Rx events

For encapsulated packets, the firmware gives info about the inner frame
fields by default. When not using encapsulation offload, ask for info
about the outer frame instead.

On SFN8xxx with firmware version before v6.4.2.1007 driver reload is
needed after switching from full-feature to low-latency firmware
variant since the driver still thinks that firmware supports
encapsulation, but firmware does not tolerate request to provide info
about outer frame in Rx events.

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_rx.c