Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203612
b: refs/heads/master
c: ca80244
h: refs/heads/master
v: v3
  • Loading branch information
Shreyas Bhatewara authored and David S. Miller committed Jul 16, 2010
1 parent ee2aa77 commit 15ec5f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f86586fa48a94c7a9c7f36650a2e0e4a947881c9
refs/heads/master: ca802447c0b9dc12a8aa6552c9c7b3c7af31f492
5 changes: 3 additions & 2 deletions trunk/drivers/net/vmxnet3/vmxnet3_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,11 @@ vmxnet3_set_flags(struct net_device *netdev, u32 data)

/* update harware LRO capability accordingly */
if (lro_requested)
adapter->shared->devRead.misc.uptFeatures &= UPT1_F_LRO;
adapter->shared->devRead.misc.uptFeatures |=
cpu_to_le64(UPT1_F_LRO);
else
adapter->shared->devRead.misc.uptFeatures &=
~UPT1_F_LRO;
cpu_to_le64(~UPT1_F_LRO);
VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_CMD,
VMXNET3_CMD_UPDATE_FEATURE);
}
Expand Down

0 comments on commit 15ec5f4

Please sign in to comment.