mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 00:16:57 +07:00
da3bc07171
This patch makes sfc invoke the GRO hooks instead of LRO. As GRO has a compatible external interface to LRO this is a very straightforward replacement. Everything should appear identical to the user except that the offload is now controlled by the GRO ethtool option instead of LRO. I've kept the lro module parameter as is since that's for compatibility only. I have eliminated efx_rx_mk_skb as the GRO layer can take care of all packets regardless of whether GRO is enabled or not. So the only case where we don't call GRO is if the packet checksum is absent. This is to keep the behaviour changes of the patch to a minimum. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
651 B
Plaintext
22 lines
651 B
Plaintext
config SFC
|
|
tristate "Solarflare Solarstorm SFC4000 support"
|
|
depends on PCI && INET
|
|
select MII
|
|
select CRC32
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
help
|
|
This driver supports 10-gigabit Ethernet cards based on
|
|
the Solarflare Communications Solarstorm SFC4000 controller.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called sfc.
|
|
config SFC_MTD
|
|
bool "Solarflare Solarstorm SFC4000 flash MTD support"
|
|
depends on SFC && MTD && !(SFC=y && MTD=m)
|
|
default y
|
|
help
|
|
This exposes the on-board flash memory as an MTD device (e.g.
|
|
/dev/mtd1). This makes it possible to upload new boot code
|
|
to the NIC.
|