net: bcmgenet: Turn on offloads by default
authorDoug Berger <opendmb@gmail.com>
Wed, 18 Dec 2019 00:51:13 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 02:11:10 +0000 (18:11 -0800)
commitae895c49905cd99aca24d23361b72ed559b30f4f
tree4347802b85dbd2b285847eb630b792942d001444
parent206f54b66cbf6f71e9e86f50f60ffdf7f565c3b7
net: bcmgenet: Turn on offloads by default

We can turn on the RX/TX checksum offloads and the scatter/gather
features by default and make sure that those are properly reflected
back to e.g: stacked devices such as VLAN.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c