Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134633
b: refs/heads/master
c: fcf495b
h: refs/heads/master
i:
  134631: 37c103a
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Feb 19, 2009
1 parent 883e392 commit 0c47c09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 5fbbcb79e5371d99565826a352c1003d0f1f0678
refs/heads/master: fcf495b415c5b7611768f54ee931ca165289c8e3
9 changes: 0 additions & 9 deletions trunk/drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3831,11 +3831,6 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
buffer_info = &tx_ring->buffer_info[i];
size = min(len, max_per_txd);

/* Workaround for premature desc write-backs
* in TSO mode. Append 4-byte sentinel desc */
if (mss && !nr_frags && size == len && size > 8)
size -= 4;

buffer_info->length = size;
/* set time_stamp *before* dma to help avoid a possible race */
buffer_info->time_stamp = jiffies;
Expand Down Expand Up @@ -3869,10 +3864,6 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
while (len) {
buffer_info = &tx_ring->buffer_info[i];
size = min(len, max_per_txd);
/* Workaround for premature desc write-backs
* in TSO mode. Append 4-byte sentinel desc */
if (mss && f == (nr_frags-1) && size == len && size > 8)
size -= 4;

buffer_info->length = size;
buffer_info->time_stamp = jiffies;
Expand Down

0 comments on commit 0c47c09

Please sign in to comment.