Skip to content

Commit

Permalink
bnx2x: resurrect RX hashing
Browse files Browse the repository at this point in the history
bnx2x used to be able to set rxhash, but this was lost in the conversion
to hw_features (commit 66371c4).
Restore it and enable it by default.

Signed-off-by: Michal Schmidt <[email protected]>
CC: Vladislav Zolotarov <[email protected]>
CC: Eilon Greenstein <[email protected]>
CC: Dmitry Kravkov <[email protected]>
CC: Michał Mirosław <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
michich authored and davem330 committed Aug 26, 2011
1 parent bc59ba3 commit 6e68c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10285,8 +10285,8 @@ static int __devinit bnx2x_init_dev(struct pci_dev *pdev,
dev->priv_flags |= IFF_UNICAST_FLT;

dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6 |
NETIF_F_RXCSUM | NETIF_F_LRO | NETIF_F_HW_VLAN_TX;
NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6 | NETIF_F_LRO |
NETIF_F_RXCSUM | NETIF_F_RXHASH | NETIF_F_HW_VLAN_TX;

dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6 | NETIF_F_HIGHDMA;
Expand Down

0 comments on commit 6e68c91

Please sign in to comment.