Skip to content

Commit

Permalink
Revert "net: bcmgenet: Turn on offloads by default"
Browse files Browse the repository at this point in the history
This reverts commit ae895c4.

See: #3850

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Sep 24, 2020
1 parent 671a082 commit 017d4f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/net/ethernet/broadcom/genet/bcmgenet.c
Original file line number Diff line number Diff line change
Expand Up @@ -3962,11 +3962,9 @@ static int bcmgenet_probe(struct platform_device *pdev)

priv->msg_enable = netif_msg_init(-1, GENET_MSG_DEFAULT);

/* Set default features */
dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |
NETIF_F_RXCSUM;
dev->hw_features |= dev->features;
dev->vlan_features |= dev->features;
/* Set hardware features */
dev->hw_features |= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |
NETIF_F_RXCSUM;

/* Request the WOL interrupt and advertise suspend if available */
priv->wol_irq_disabled = true;
Expand Down

0 comments on commit 017d4f3

Please sign in to comment.