<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/sge, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-12-31T01:10:29Z</updated>
<entry>
<title>MFC r226478:</title>
<updated>2011-12-31T01:10:29Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-31T01:10:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b1edb1d47a06cc90022e55051658ccde362a10d8'/>
<id>urn:sha1:b1edb1d47a06cc90022e55051658ccde362a10d8</id>
<content type='text'>
  Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.
  Because driver is accessing a common MII structure in
  mii_pollstat(), updating user supplied structure should be done
  before dropping a driver lock.

  Reported by:	Karim (fodillemlinkarimi &lt;&gt; gmail dot com)
</content>
</entry>
<entry>
<title>MFC: r221407 (partial)</title>
<updated>2011-09-11T20:25:57Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-09-11T20:25:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99e4ce3e7b07bcdeca71fdffa04401cb54e795aa'/>
<id>urn:sha1:99e4ce3e7b07bcdeca71fdffa04401cb54e795aa</id>
<content type='text'>
- Let mii_phy_add_media() also announce the support of IFM_NONE.
- Add a PHY-specific reset routine is for lxtphy(4) which disables MII
  interrupts.
- Remove redundant checks in NIC drivers for mii-&gt;mii_instance not being
  zero before calling the reset routines because as soon as one PHY driver
  attaches mii-&gt;mii_instance is incremented and we hardly can end up in
  their media change callbacks etc if no PHY driver has attached as
  mii_attach() would have failed in that case and not attach a miibus(4)
  instance.
- Convert the mebers of the MII data structure to unsigned where
  appropriate. This is partly inspired by NetBSD/OpenBSD.
- Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that
  weren't explicitly converted to support flow control before. It's
  unclear whether flow control actually works with these but typically
  it should and their net behavior should be more correct with these
  changes in place than without if the MAC driver sets MIIF_DOPAUSE.

Obtained from:	NetBSD (partially)
</content>
</entry>
<entry>
<title>MFC: r213894, r213896, r214913</title>
<updated>2010-11-07T17:38:54Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-11-07T17:38:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5ef253ad3271b78ee1e9eb8cad20afaf6e613671'/>
<id>urn:sha1:5ef253ad3271b78ee1e9eb8cad20afaf6e613671</id>
<content type='text'>
Converted the remainder of the NIC drivers to use the mii_attach()
introduced in r213878 (MFC'ed to stable/7 in r214685) instead of
mii_phy_probe(). Unlike r213893 (MFC'ed to stable/7 in r214910)
these are mostly straight forward conversions though.
</content>
</entry>
<entry>
<title>MFC r213844:</title>
<updated>2010-10-24T21:17:23Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-10-24T21:17:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=467026d2d19bc3ded238604d71f58d45845b3856'/>
<id>urn:sha1:467026d2d19bc3ded238604d71f58d45845b3856</id>
<content type='text'>
  Make sure to not use stale ip/tcp header pointers. The ip/tcp
  header parser uses m_pullup(9) to get access to mbuf chain.
  m_pullup(9) can allocate new mbuf chain and free old one if the
  space left in the mbuf chain is not enough to hold requested
  contiguous bytes. Previously drivers can use stale ip/tcp header
  pointer if m_pullup(9) returned new mbuf chain.

  Reported by:	Andrew Boyer (aboyer &lt;&gt; averesystems dot com)
</content>
</entry>
<entry>
<title>MFC r209818:</title>
<updated>2010-08-15T21:58:05Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-08-15T21:58:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6d5e75e70135fb838cf1fad97382e271a59ca82b'/>
<id>urn:sha1:6d5e75e70135fb838cf1fad97382e271a59ca82b</id>
<content type='text'>
  Remove enabling RX checksum offloading in RX filter setup. RX
  checksum is enabled in sge_init_locked().
  While I'm here do not set RX checksum bits in RX descriptor
  initialization. It is controller's job to set these bits.

  Tested by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;
</content>
</entry>
<entry>
<title>MFC r208806:</title>
<updated>2010-06-08T19:36:41Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-06-08T19:36:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=34da376f86cb12e8291a6b7d8852da1812fc0520'/>
<id>urn:sha1:34da376f86cb12e8291a6b7d8852da1812fc0520</id>
<content type='text'>
  Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there
  is no queued frame, IFF_DRV_OACTIVE would never be cleared.

  Submitted by:	Nikolay Denev &lt; ndenev &lt;&gt; gmail at com &gt;
</content>
</entry>
<entry>
<title>MFC r208512:</title>
<updated>2010-05-31T22:07:18Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-31T22:07:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9e51a50bf31fbb792e563f26850e4f6650f4f5c2'/>
<id>urn:sha1:9e51a50bf31fbb792e563f26850e4f6650f4f5c2</id>
<content type='text'>
  sge_encap() can sometimes return an error with m_head set to NULL.
  Make sure not to requeue freed mbuf in sge_start_locked(). This
  should fix NULL pointer dereference panic.

  Reported by:	Nikolay Denev &lt;ndenev &lt;&gt; gmail dot com&gt;
  Submitted by:	jhb
</content>
</entry>
<entry>
<title>MFC r207852:</title>
<updated>2010-05-17T17:14:25Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-17T17:14:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06b1d5c78e14b4dee65a6faa021e326e59577b34'/>
<id>urn:sha1:06b1d5c78e14b4dee65a6faa021e326e59577b34</id>
<content type='text'>
  SiS190 supports RX 10 bytes padding, CRC stripping as well as VLAN
  hardware tag insertion/stripping. Remove conditional code that
  disables these hardware features on SiS190. Also nuke RX fixup code
  which is no more required on strict-alignment architectures because
  SiS190 supports RX 10 bytes padding.
  Now all hardware features except jumbo frame and WOL are supported.
  Thanks to Masa Murayama who confirmed SiS190 also has the same
  hardware features of SiS191.
  I guess the only difference between SiS191 and SiS190 would be
  jumbo frame support. It will be implemented in near future.
</content>
</entry>
<entry>
<title>MFC r207851:</title>
<updated>2010-05-17T17:04:09Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-17T17:04:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cfbddc8ff174474ae6d0825862d1bcebb3d26b95'/>
<id>urn:sha1:cfbddc8ff174474ae6d0825862d1bcebb3d26b95</id>
<content type='text'>
  Implement TSO and TSO over VLAN. Increase number of allowed
  fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB
  sized packet which in turn requires long list of mbuf chain. Due to
  lack of documentation, I'm not sure whether driver have to pull up
  ethernet/IP/TCP header with options to make controller work but
  driver have to parse TCP header to update pseudo TCP checksum
  anyway. The controller expects pseudo TCP checksum computed by
  upper stack and the checksum should follow the MS NDIS
  specification to make TSO work.

  Tested by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;
</content>
</entry>
<entry>
<title>MFC r207628,207635:</title>
<updated>2010-05-10T19:54:01Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-10T19:54:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=578bf98b273b3aadd4605166917bd44292884f75'/>
<id>urn:sha1:578bf98b273b3aadd4605166917bd44292884f75</id>
<content type='text'>
r207628:
  Enable multi-descriptor transmisstion for fragmented mbufs. There
  is no more need to defragment mbufs. After transmitting the
  multi-fragmented frame, the controller updates only the first
  descriptor of multi-descriptor transmission so it's driver's
  responsibility to clear OWN bits of remaining descriptor of
  multi-descriptor transmission. It seems the controller behaves much
  like jme(4) controllers in descriptor handling.

r207635:
  Free entire mbuf chain instead of the first mbuf.
</content>
</entry>
</feed>
