<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/stge, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2008-04-11T04:03:36Z</updated>
<entry>
<title>MFC if_stge.c rev 1.12 to RELENG_7.</title>
<updated>2008-04-11T04:03:36Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-04-11T04:03:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b4d1b784236634838fbefef2c54c134a952440b5'/>
<id>urn:sha1:b4d1b784236634838fbefef2c54c134a952440b5</id>
<content type='text'>
  Use m_collapse(9) to collapse mbuf chains instead of relying on
  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>MFC if_stge.c rev 1.11, if_stgereg.h rev 1.4 to RELENG_7.</title>
<updated>2008-04-11T04:01:25Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-04-11T04:01:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be7fadd0770f85942a929dfa6a57c263b44f7dde'/>
<id>urn:sha1:be7fadd0770f85942a929dfa6a57c263b44f7dde</id>
<content type='text'>
  Implement WOL capability.
   - 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>MFC: Fix function prototype for device_shutdown method.</title>
<updated>2008-03-13T07:50:48Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-03-13T07:50:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b9251501098ece76306aa0fd7417efc01883a316'/>
<id>urn:sha1:b9251501098ece76306aa0fd7417efc01883a316</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>
<entry>
<title>Change the remainder of the drivers for DMA'ing devices enabled in the</title>
<updated>2007-01-21T19:32:51Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-01-21T19:32:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2175ff5cadf1e22b3054180ba69548b00a4a0de'/>
<id>urn:sha1:c2175ff5cadf1e22b3054180ba69548b00a4a0de</id>
<content type='text'>
sparc64 GENERIC and the sound device drivers known working on sparc64
to use bus_get_dma_tag() to obtain the parent DMA tag so we can get rid
of the sparc64_root_dma_tag kludge eventually. Except for ath(4), sk(4),
stge(4) and ti(4) these changes are runtime tested (unless I booted up
the wrong kernels again...).
</content>
</entry>
<entry>
<title>Move ethernet VLAN tags from mtags to its own mbuf packet header field</title>
<updated>2006-09-17T13:33:30Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2006-09-17T13:33:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78ba57b9e1fd08812b6f5a1b48a20d624a23b31d'/>
<id>urn:sha1:78ba57b9e1fd08812b6f5a1b48a20d624a23b31d</id>
<content type='text'>
m_pkthdr.ether_vlan.  The presence of the M_VLANTAG flag on the mbuf
signifies the presence and validity of its content.

Drivers that support hardware VLAN tag stripping fill in the received
VLAN tag (containing both vlan and priority information) into the
ether_vtag mbuf packet header field:

	m-&gt;m_pkthdr.ether_vtag = vlan_id;	/* ntohs()? */
	m-&gt;m_flags |= M_VLANTAG;

to mark the packet m with the specified VLAN tag.

On output the driver should check the mbuf for the M_VLANTAG flag to
see if a VLAN tag is present and valid:

	if (m-&gt;m_flags &amp; M_VLANTAG) {
		... = m-&gt;m_pkthdr.ether_vtag;	/* htons()? */
		... pass tag to hardware ...
	}

VLAN tags are stored in host byte order.  Byte swapping may be necessary.

(Note: This driver conversion was mechanic and did not add or remove any
byte swapping in the drivers.)

Remove zone_mtag_vlan UMA zone and MTAG_VLAN definition.  No more tag
memory allocation have to be done.

Reviewed by:	thompsa, yar
Sponsored by:	TCP/IP Optimization Fundraise 2005
</content>
</entry>
</feed>
