<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/e1000, branch release/8.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC stable/8 r217711</title>
<updated>2011-01-25T23:20:22+00:00</updated>
<author>
<name>Jack F Vogel</name>
<email>jfv@FreeBSD.org</email>
</author>
<published>2011-01-25T23:20:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=17cbbe2bf754a649061a5aa356619c6c6a1b9fa2'/>
<id>17cbbe2bf754a649061a5aa356619c6c6a1b9fa2</id>
<content type='text'>
	Fix for kern/152853, pullup in the wrong
	place in em_xmit causes UDP failure. Thanks
	to Petr Lampa for the patch.

Approved by: re (bz)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix for kern/152853, pullup in the wrong
	place in em_xmit causes UDP failure. Thanks
	to Petr Lampa for the patch.

Approved by: re (bz)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC stable/8 r217710</title>
<updated>2011-01-25T22:25:50+00:00</updated>
<author>
<name>Jack F Vogel</name>
<email>jfv@FreeBSD.org</email>
</author>
<published>2011-01-25T22:25:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=05707fd7918674aee46db3eb20615833527e41f3'/>
<id>05707fd7918674aee46db3eb20615833527e41f3</id>
<content type='text'>
	- Pieces of the failure path in em_xmit got deleted along
	  the way, correct this.
	- local_timer had a leftover TX_UNLOCK without matching
	  LOCK in the error path, remove it.

Approved by:  re (bz)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	- Pieces of the failure path in em_xmit got deleted along
	  the way, correct this.
	- local_timer had a leftover TX_UNLOCK without matching
	  LOCK in the error path, remove it.

Approved by:  re (bz)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r216173</title>
<updated>2010-12-15T22:59:50+00:00</updated>
<author>
<name>Jack F Vogel</name>
<email>jfv@FreeBSD.org</email>
</author>
<published>2010-12-15T22:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=727998f369a1d7e50e38bb6a51ff186ed837461e'/>
<id>727998f369a1d7e50e38bb6a51ff186ed837461e</id>
<content type='text'>
Remove the test for a minimum frame size from the IPV6 TX context
descriptor setup, when using VLANs and HW TAGGING the length of
an ICMP6 frame will fail this test and be discarded.

Approved by: re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the test for a minimum frame size from the IPV6 TX context
descriptor setup, when using VLANs and HW TAGGING the length of
an ICMP6 frame will fail this test and be discarded.

Approved by: re
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r216172, r216176:</title>
<updated>2010-12-14T19:59:39+00:00</updated>
<author>
<name>Jack F Vogel</name>
<email>jfv@FreeBSD.org</email>
</author>
<published>2010-12-14T19:59:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1ba7d2e38316fc2ac2882f10c889c3fbe1b37699'/>
<id>1ba7d2e38316fc2ac2882f10c889c3fbe1b37699</id>
<content type='text'>
Correct the RX discard and refresh_mbuf logic to match igb, the old
discard code could cause panics due to a bad pointer, now simply
have discard always free mbufs and depend on refresh. In the refresh
code, make sure the mbuf and soft buf struct are properly reset.

Approved by: re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct the RX discard and refresh_mbuf logic to match igb, the old
discard code could cause panics due to a bad pointer, now simply
have discard always free mbufs and depend on refresh. In the refresh
code, make sure the mbuf and soft buf struct are properly reset.

Approved by: re
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r214646, r215781, 215789, 215808</title>
<updated>2010-11-27T00:04:29+00:00</updated>
<author>
<name>Jack F Vogel</name>
<email>jfv@FreeBSD.org</email>
</author>
<published>2010-11-27T00:04:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2d55767d4aa576904a5d0fd39987f7882a715f9d'/>
<id>2d55767d4aa576904a5d0fd39987f7882a715f9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r211913:</title>
<updated>2010-09-27T17:54:04+00:00</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-09-27T17:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b959929f0ef75dc6f4c3b901ebf6838068bf73f'/>
<id>6b959929f0ef75dc6f4c3b901ebf6838068bf73f</id>
<content type='text'>
  Do not allocate multicast array memory in multicast filter
  configuration function. For failed memory allocations, em(4)/lem(4)
  called panic(9) which is not acceptable on production box.
  igb(4)/ixgb(4)/ix(4) allocated the required memory in stack which
  consumed 768 bytes of stack memory which looks too big.

  To address these issues, allocate multicast array memory in device
  attach time and make multicast configuration success under any
  conditions. This change also removes the excessive use of memory in
  stack.

  Reviewed by:	jfv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Do not allocate multicast array memory in multicast filter
  configuration function. For failed memory allocations, em(4)/lem(4)
  called panic(9) which is not acceptable on production box.
  igb(4)/ixgb(4)/ix(4) allocated the required memory in stack which
  consumed 768 bytes of stack memory which looks too big.

  To address these issues, allocate multicast array memory in device
  attach time and make multicast configuration success under any
  conditions. This change also removes the excessive use of memory in
  stack.

  Reviewed by:	jfv
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r211909:</title>
<updated>2010-09-27T17:50:56+00:00</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-09-27T17:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=41e76d4d137896925d8f32e079266dad06fd1b43'/>
<id>41e76d4d137896925d8f32e079266dad06fd1b43</id>
<content type='text'>
  If em(4) failed to allocate RX buffers, do not call panic(9).
  Just showing some buffer allocation error is more appropriate
  action for drivers. This should fix occasional panic reported on
  em(4) when driver encountered resource shortage.

  Reviewed by:	jfv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  If em(4) failed to allocate RX buffers, do not call panic(9).
  Just showing some buffer allocation error is more appropriate
  action for drivers. This should fix occasional panic reported on
  em(4) when driver encountered resource shortage.

  Reviewed by:	jfv
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r211907:</title>
<updated>2010-09-27T17:49:05+00:00</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-09-27T17:49:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=504a807e2e1c478ebda9006a9fa8d69098ecf5f9'/>
<id>504a807e2e1c478ebda9006a9fa8d69098ecf5f9</id>
<content type='text'>
  Do not call voluntary panic(9) in case of if_alloc() failure.

  Reviewed by:	jfv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Do not call voluntary panic(9) in case of if_alloc() failure.

  Reviewed by:	jfv
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r211906:</title>
<updated>2010-09-27T17:46:11+00:00</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-09-27T17:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b4e8a0f6c8788b02c5a72de0f267587c74c1af9'/>
<id>3b4e8a0f6c8788b02c5a72de0f267587c74c1af9</id>
<content type='text'>
  Make sure not to access unallocated stats memory.

  Reviewed by:	jfv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Make sure not to access unallocated stats memory.

  Reviewed by:	jfv
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC 212902:</title>
<updated>2010-09-27T16:29:25+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-09-27T16:29:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=40e7fadb9892576fe39d3fdcc2e364a3d200dadd'/>
<id>40e7fadb9892576fe39d3fdcc2e364a3d200dadd</id>
<content type='text'>
Tweak the stats exported by the e1000 drivers:
- Add a single sysctl procedure to all three drivers to read an arbitrary
  register (the register is passed as arg2).  Use it to replace existing
  routines in igb(4) that used a separate routine for each register, and
  to add support for missing stats in em(4) and lem(4).
- Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats
  section as they are driver stats, not MAC counters.
- Simplify the code that creates per-queue stats in igb(4) to use a single
  loop and remove duplicated code.
- Properly read all 64 bits of the 'good octets received/transmitted' in
  em(4) and lem(4).
- Actually read the interrupt count registers in em(4), and drop the
  'host to card' sysctl stats from em(4) as they are not implemented in
  any of the hardware this driver supports.
- Restore several stats to em(4) that were lost in the earlier stats
  conversion including per-queue stats.
- Export several MAC stats in em(4) that were exported in igb(4) but not
  in em(4).
- Export stats in lem(4) using individual sysctls as in em(4) and igb(4).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tweak the stats exported by the e1000 drivers:
- Add a single sysctl procedure to all three drivers to read an arbitrary
  register (the register is passed as arg2).  Use it to replace existing
  routines in igb(4) that used a separate routine for each register, and
  to add support for missing stats in em(4) and lem(4).
- Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats
  section as they are driver stats, not MAC counters.
- Simplify the code that creates per-queue stats in igb(4) to use a single
  loop and remove duplicated code.
- Properly read all 64 bits of the 'good octets received/transmitted' in
  em(4) and lem(4).
- Actually read the interrupt count registers in em(4), and drop the
  'host to card' sysctl stats from em(4) as they are not implemented in
  any of the hardware this driver supports.
- Restore several stats to em(4) that were lost in the earlier stats
  conversion including per-queue stats.
- Export several MAC stats in em(4) that were exported in igb(4) but not
  in em(4).
- Export stats in lem(4) using individual sysctls as in em(4) and igb(4).
</pre>
</div>
</content>
</entry>
</feed>
