svn commit: r225640 - head/sys/dev/e1000

[ Available lists | Index of svn-src-head | Month of Sep 2011 | Week of 17 Sep 2011 | Raw email | View thread | Wrap long lines | Reply ]
From
Ryan Stone <rstone@FreeBSD.org>
Date
17 Sep 2011 13:48:10
Subject
svn commit: r225640 - head/sys/dev/e1000
Message-ID
201109171348.p8HDmAVd085730@svn.freebsd.org


[ Hide this part ]
Author: rstone
Date: Sat Sep 17 13:48:09 2011
New Revision: 225640
URL: http://svn.freebsd.org/changeset/base/225640

Log:
Clear transmit checksum offload context state upon lem(4) interface
initialization. Prior to this change packets may be transmitted with an
incorrect checksum.

Em(4) already has an equivalent change in r213234.

Obtained From: Sandvine
MFC After: 1 week
Approved by: re (bz)

Modified:
head/sys/dev/e1000/if_lem.c

Modified: head/sys/dev/e1000/if_lem.c
==============================================================================
--- head/sys/dev/e1000/if_lem.c Sat Sep 17 11:08:40 2011 (r225639)
+++ head/sys/dev/e1000/if_lem.c Sat Sep 17 13:48:09 2011 (r225640)
@@ -2654,6 +2654,7 @@ lem_setup_transmit_structures(struct ada
}

/* Reset state */
+ adapter->last_hw_offload = 0;
adapter->next_avail_tx_desc = 0;
adapter->next_tx_to_clean = 0;
adapter->num_tx_desc_avail = adapter->num_tx_desc;

Elapsed time: 0.066 seconds