<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/stge, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-26T11:45:06Z</updated>
<entry>
<title>Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/</title>
<updated>2009-06-26T11:45:06Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-06-26T11:45:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eb956cd041f956275522092d6ba66671356ff84f'/>
<id>urn:sha1:eb956cd041f956275522092d6ba66671356ff84f</id>
<content type='text'>
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs.  This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.

For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.

Approved by:	re (kib)
MFC after:	6 weeks
</content>
</entry>
<entry>
<title>When user_frac in the polling subsystem is low it is going to busy the</title>
<updated>2009-05-30T15:14:44Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2009-05-30T15:14:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1abcdbd127e95ffe08399ec75a7001edd1ca2f5f'/>
<id>urn:sha1:1abcdbd127e95ffe08399ec75a7001edd1ca2f5f</id>
<content type='text'>
CPU for too long period than necessary.  Additively, interfaces are kept
polled (in the tick) even if no more packets are available.
In order to avoid such situations a new generic mechanism can be
implemented in proactive way, keeping track of the time spent on any
packet and fragmenting the time for any tick, stopping the processing
as soon as possible.

In order to implement such mechanism, the polling handler needs to
change, returning the number of packets processed.
While the intended logic is not part of this patch, the polling KPI is
broken by this commit, adding an int return value and the new flag
IFCAP_POLLING_NOCOUNT (which will signal that the return value is
meaningless for the installed handler and checking should be skipped).

Bump __FreeBSD_version in order to signal such situation.

Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
</content>
</entry>
<entry>
<title>Use m_collapse(9) to collapse mbuf chains instead of relying on</title>
<updated>2008-01-18T08:32:08Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-01-18T08:32:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7eb12306d655acf3ae93902abbcfdbf40253a238'/>
<id>urn:sha1:7eb12306d655acf3ae93902abbcfdbf40253a238</id>
<content type='text'>
shortest possible chain of mbufs of m_defrag(9). What we want is
chains of mbufs that can be safely stored to a Tx descriptor which
can have up to STGE_MAXTXSEGS mbufs. The ethernet controller does
not need to align Tx buffers on 32bit boundary. So the use of
m_defrag(9) was waste of time.
</content>
</entry>
<entry>
<title>Implement WOL capability.</title>
<updated>2008-01-14T07:16:48Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-01-14T07:16:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=346de09f2a744541ac49c079348005ad130ecb97'/>
<id>urn:sha1:346de09f2a744541ac49c079348005ad130ecb97</id>
<content type='text'>
 - Turn on WOL bits in suspend/shutdown method.
 - WOL is disabled in resume routine as WOL can interfere normal
   Rx operation.
 - Move stge_reset() to stge_init_locked() as resetting hardware
   clears configured Rx information which in turn results in
   non-working Rx module after suspend/shutdown operation.
</content>
</entry>
<entry>
<title>Fix function prototype for device_shutdown method.</title>
<updated>2007-11-22T02:45:00Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2007-11-22T02:45:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a087a8722f8f5730da0236d0656ed363b8f87b3'/>
<id>urn:sha1:6a087a8722f8f5730da0236d0656ed363b8f87b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If we've got watchdog timeouts try to get more packets going after</title>
<updated>2007-05-01T03:40:57Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2007-05-01T03:40:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=787b3ade61fa8b4a0a00da21340bd90bca4885e8'/>
<id>urn:sha1:787b3ade61fa8b4a0a00da21340bd90bca4885e8</id>
<content type='text'>
resetting the hardware.
</content>
</entry>
<entry>
<title>Honor link up/down state in stge_start().</title>
<updated>2007-05-01T03:35:48Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2007-05-01T03:35:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ef4ec5d3478bc43497b56416ff9b383a80a37a7'/>
<id>urn:sha1:7ef4ec5d3478bc43497b56416ff9b383a80a37a7</id>
<content type='text'>
While I'm here move MAC control settings to stge_link_task, a task
queue which handles link state and duplex/flow controls.
</content>
</entry>
<entry>
<title>Use our own timer for watchdog instead of if_watchdog/if_timer</title>
<updated>2007-05-01T03:15:04Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2007-05-01T03:15:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eb7a67da1a3edadfa6f7a064e952bf95856460f2'/>
<id>urn:sha1:eb7a67da1a3edadfa6f7a064e952bf95856460f2</id>
<content type='text'>
interface.
</content>
</entry>
<entry>
<title>Catch up the rest of the drivers with the ether_vlan_mtap modifications.</title>
<updated>2007-03-04T03:38:08Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2007-03-04T03:38:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59a0d28bacbcc668a45c393f836f97cd8b536f8a'/>
<id>urn:sha1:59a0d28bacbcc668a45c393f836f97cd8b536f8a</id>
<content type='text'>
If these drivers are setting M_VLANTAG because they are stripping the
layer 2 802.1Q headers, then they need to be re-inserting them so any
bpf(4) peers can properly decode them.

It should be noted that this is compiled tested only.

MFC after:	3 weeks
</content>
</entry>
<entry>
<title>o break newbus api: add a new argument of type driver_filter_t to</title>
<updated>2007-02-23T12:19:07Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2007-02-23T12:19:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef544f631226436ef590825881e7a28369df82f6'/>
<id>urn:sha1:ef544f631226436ef590825881e7a28369df82f6</id>
<content type='text'>
  bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@
</content>
</entry>
</feed>
