net/sfc/base: support FW subvariant choice
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 4 Apr 2018 14:23:56 +0000 (15:23 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commit480a13044b8b161d1868858733b58cad76f5ee80
tree25d9db7d7958f829977f4aa3ca215f77ea70d3e0
parent26c71cfe11cf17d5f72ff5aae396fce12d6c0379
net/sfc/base: support FW subvariant choice

If DPDK application or OS does not need checksumming on transmit,
it may be disabled in firmware to achieve higher packet rates.
Choice must be done before VIS allocation and is allowed if
no other non-preboot and firmware subvariant-unaware drivers are
attached.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
drivers/net/sfc/base/ef10_impl.h
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_nic.c