Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150599
b: refs/heads/master
c: e486973
h: refs/heads/master
i:
  150597: ef03a52
  150595: ac35b24
  150591: 5b34939
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Jun 2, 2009
1 parent 0515583 commit d665edd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f813cad836ab14b764cfe76f42a3b50bb9677b30
refs/heads/master: e486973e9c1477bf2be13c3883ada9ee87222e72
4 changes: 4 additions & 0 deletions trunk/drivers/net/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,9 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
* Set driver features
*/
dev->features |= NETIF_F_SG;
dev->vlan_features |= NETIF_F_SG;
dev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;
dev->vlan_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;
dev->features |= NETIF_F_HIGHDMA;
dev->features |= NETIF_F_HW_VLAN_TX |
NETIF_F_HW_VLAN_RX |
Expand All @@ -1048,6 +1050,8 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
if (mdev->LSO_support) {
dev->features |= NETIF_F_TSO;
dev->features |= NETIF_F_TSO6;
dev->vlan_features |= NETIF_F_TSO;
dev->vlan_features |= NETIF_F_TSO6;
}

mdev->pndev[port] = dev;
Expand Down

0 comments on commit d665edd

Please sign in to comment.