<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/sge, 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>2010-06-08T19:26:22Z</updated>
<entry>
<title>MFC r208806:</title>
<updated>2010-06-08T19:26:22Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-06-08T19:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c4d83ac0a94d26ac14abbd343f4c675798290a38'/>
<id>urn:sha1:c4d83ac0a94d26ac14abbd343f4c675798290a38</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;
  Approved by:	re (bz)
</content>
</entry>
<entry>
<title>MFC r208512:</title>
<updated>2010-05-31T22:03:56Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-31T22:03:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1cf8f2c43130815dc9771f108dd5876bfb17c02f'/>
<id>urn:sha1:1cf8f2c43130815dc9771f108dd5876bfb17c02f</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
  Approved by:	re (bz)
</content>
</entry>
<entry>
<title>MFC r207852:</title>
<updated>2010-05-17T17:12:35Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-17T17:12:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0fb00d128a6cc4200711135480c132779b57c933'/>
<id>urn:sha1:0fb00d128a6cc4200711135480c132779b57c933</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:02:42Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-17T17:02:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cfd81a4a1d3503cb4849b05c0b4b43afab5cd1d9'/>
<id>urn:sha1:cfd81a4a1d3503cb4849b05c0b4b43afab5cd1d9</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:47:37Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-10T19:47:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=862e7d9d59aeffbaab290193493c40a619fbfb4e'/>
<id>urn:sha1:862e7d9d59aeffbaab290193493c40a619fbfb4e</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>
<entry>
<title>MFC r207545,207625:</title>
<updated>2010-05-10T18:37:46Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-10T18:37:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=143f0c7b6df425604556e3a4b13fce9d6e0fab9b'/>
<id>urn:sha1:143f0c7b6df425604556e3a4b13fce9d6e0fab9b</id>
<content type='text'>
r207545:
  Fix wrong dma tag usage. Previously it used TX descriptor ring dma
  tag which should be TX mbuf dma tag.

r207625:
  Remove clearing RxHashTable2 register. The register is reprogrammed
  in sge_rxfilter().
</content>
</entry>
<entry>
<title>MFC r207380:</title>
<updated>2010-05-06T18:34:15Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-06T18:34:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=854e8c0af135efb4bc4a18fa870ccf7209d5cd01'/>
<id>urn:sha1:854e8c0af135efb4bc4a18fa870ccf7209d5cd01</id>
<content type='text'>
  Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190
  controller, I'm not sure whether this is also applicable to SiS190
  so this feature is only activated on SiS191 controller.
  In theory, controller reinitialization is not needed when VLAN tag
  configuration is changed, but xclin said controller was not stable
  whenever toggling VLAN tag bit. To address that, sge(4)
  reinitialize controller for VLAN configuration which seems to work
  as expected. VLAN tag information for TX/RX descriptor and
  configure bit of RxMacControl register was found by xclin.

  Submitted by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt; (initial version)
  Tested by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;
</content>
</entry>
<entry>
<title>MFC r207379:</title>
<updated>2010-05-06T18:30:46Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-06T18:30:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c033f53b7ed3a1e112fefbd8819a01883fcf418c'/>
<id>urn:sha1:c033f53b7ed3a1e112fefbd8819a01883fcf418c</id>
<content type='text'>
  Enable FCS stripping and padding 10 bytes bit of RX MAC control
  register. Due to lack of SiS190 controller, I'm not sure whether
  this is also applicable to SiS190 so this feature is only activated
  on SiS191 controller.
  The controller can pad 10 bytes before DMAing a received frame to
  RX buffer and received bytes include the padded bytes. This padding
  is very useful on strict-alignment architectures because driver
  does not have to copy received frame to align IP header on 4 bytes
  boundary. It also gives better RX performance on non-strict
  alignment architectures. Special thanks to xclin to give me
  valuable register information. Without his enthusiastic trial and
  errors this wouldn't be even possible.

  While I'm here tighten validity check of received frame. Controller
  clears RDS_CRCOK bit when it received bad CRC frames. xclin found
  that using loop back testing.

  Tested by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;
</content>
</entry>
<entry>
<title>MFC r207375-207377.</title>
<updated>2010-05-06T18:17:36Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-05-06T18:17:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac61735c1d47b517e24eb511ba2230b177550ecf'/>
<id>urn:sha1:ac61735c1d47b517e24eb511ba2230b177550ecf</id>
<content type='text'>
r207375:
  Preserve unknown bits of RX MAC control register when driver
  programs RX filter configuration. It seems RX MAC control register
  is one of key registers to get various offloading features as well
  as performance. Blindly clearing unrelated bits can result in
  unexpected results.

  Tested by:    xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;

r207376:
  Remove wrong link state chage.

r207377:
  Explicitly marks SiS190 to differentiate it from SiS191.
</content>
</entry>
<entry>
<title>MFC r207071:</title>
<updated>2010-04-26T18:07:55Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2010-04-26T18:07:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e1961268ecf12ff4ba5f522b3d6a8e185bdc1c0'/>
<id>urn:sha1:3e1961268ecf12ff4ba5f522b3d6a8e185bdc1c0</id>
<content type='text'>
  Intialize interrupt moderation control register. The magic value
  was chosen by lots of trial and errors. The chosen value shows
  good interrupt moderation without additional latency.
  Without this change, controller can generate more than 140k
  interrupts per second under high network load.

  Submitted by:	xclin &lt;xclin &lt;&gt; cs dot nctu dot edu dot tw &gt;
</content>
</entry>
</feed>
