<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mxge, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-02-04T03:36:42Z</updated>
<entry>
<title>MFC r258779,r258780,r258787,r258822:</title>
<updated>2014-02-04T03:36:42Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-02-04T03:36:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eca45e57193faeac9fd7a519ed8aef106f2234b5'/>
<id>urn:sha1:eca45e57193faeac9fd7a519ed8aef106f2234b5</id>
<content type='text'>
Fix undefined behavior: (1 &lt;&lt; 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U &lt;&lt; 31) which gets the
expected result.

Similar to the (1 &lt;&lt; 31) case it is not defined to do (2 &lt;&lt; 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
</content>
</entry>
<entry>
<title>Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI</title>
<updated>2013-08-12T23:30:01Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2013-08-12T23:30:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c68534f1d5bab4ad466384c4fb9bb2956811e8b9'/>
<id>urn:sha1:c68534f1d5bab4ad466384c4fb9bb2956811e8b9</id>
<content type='text'>
command register.  The lazy BAR allocation code in FreeBSD sometimes
disables this bit when it detects a range conflict, and will re-enable
it on demand when a driver allocates the BAR.  Thus, the bit is no longer
a reliable indication of capability, and should not be checked.  This
results in the elimination of a lot of code from drivers, and also gives
the opportunity to simplify a lot of drivers to use a helper API to set
the busmaster enable bit.

This changes fixes some recent reports of disk controllers and their
associated drives/enclosures disappearing during boot.

Submitted by:	jhb
Reviewed by:	jfv, marius, achadd, achim
MFC after:	1 day
</content>
</entry>
<entry>
<title>- Correct mispellings of word resource</title>
<updated>2013-04-17T11:47:32Z</updated>
<author>
<name>Gabor Kovesdan</name>
<email>gabor@FreeBSD.org</email>
</author>
<published>2013-04-17T11:47:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b78540b1c760bfe90782ae8f92498119c0631283'/>
<id>urn:sha1:b78540b1c760bfe90782ae8f92498119c0631283</id>
<content type='text'>
Submitted by:	Christoph Mallon &lt;christoph.mallon@gmx.de&gt;
</content>
</entry>
<entry>
<title>Several cleanups and fixes to mxge:</title>
<updated>2013-02-25T16:22:40Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-25T16:22:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dedbe8362f4173d7fd1b6d9de1ef678d8f9d5bb5'/>
<id>urn:sha1:dedbe8362f4173d7fd1b6d9de1ef678d8f9d5bb5</id>
<content type='text'>
- Remove vestigial null pointer tests after malloc(..., M_WAITOK).

- Remove vestigal qualhack union

- Use strlcpy() instead of the error-prone strncpy() when parsing
  EEPROM and copying strings

- Check the MAC address in the EEPROM strings more strictly.

- Expand the macro MXGE_NEXT_STRING() at its only user. Due to a typo,
  the macro was very confusing.

- Remove unnecessary buffer limit check.  The buffer is double-NUL
  terminated per construction.

PR:		kern/176369
Submitted by:	Christoph Mallon &lt;christoph.mallon gmx.de&gt;
</content>
</entry>
<entry>
<title>Bump mxge copyright.</title>
<updated>2013-02-22T19:23:33Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-22T19:23:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cabc512fe4b1c162457bedc4937f1abe1d779f3d'/>
<id>urn:sha1:cabc512fe4b1c162457bedc4937f1abe1d779f3d</id>
<content type='text'>
Sponsored by: Myricom

MFC After: 7 days
</content>
</entry>
<entry>
<title>Improvements for newer mxge nics:</title>
<updated>2013-02-22T19:21:29Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-22T19:21:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4b233dd068cda269db3fa9f8fe8479234a91730'/>
<id>urn:sha1:a4b233dd068cda269db3fa9f8fe8479234a91730</id>
<content type='text'>
- Some mxge nics may store the serial number in the SN2 field of the
  EEPROM.  These will also have an SN=0 field, so parse the SN2 field,
  and give it precedence.

- Skip MXGEFW_CMD_UNALIGNED_TEST on mxge nics which do not require it.
  This saves roughly 10ms per port at device attach time.

Sponsored by: Myricom

MFC After: 7 days
</content>
</entry>
<entry>
<title>Try harder to make mxge safe for all combinations of INET and INET6</title>
<updated>2013-02-22T16:46:28Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-22T16:46:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=abc5b96b991d3326b1f97c02115109ef495149e3'/>
<id>urn:sha1:abc5b96b991d3326b1f97c02115109ef495149e3</id>
<content type='text'>
- Re-fix build by restoring local removed in r247151, but protected
  by #if defined(INET) || defined(INET6) so that the compile
  succeeds in the !(INET||INET6) case.

- Protect call to in_pseudo() with an #ifdef INET, to allow
  a kernel to link with mxge when INET is not compiled in.

- Also remove an errant (improperly commented) obsolete debugging printf

Thanks to Glebius for pointing out the !(INET||INET6) build issue.

Sponsored by: Myricom

MFC After: 7 days
</content>
</entry>
<entry>
<title>Fix build.</title>
<updated>2013-02-22T12:41:24Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2013-02-22T12:41:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=60f27516705885214a40c70b268c94f6159784e9'/>
<id>urn:sha1:60f27516705885214a40c70b268c94f6159784e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve mxge's receive performance for IPv6:</title>
<updated>2013-02-21T21:28:33Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-21T21:28:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26dd49c61d6c54d760571d04f558d08303e45e5a'/>
<id>urn:sha1:26dd49c61d6c54d760571d04f558d08303e45e5a</id>
<content type='text'>
- Add support for IPv6 rx csum offload
- Finally switch mxge from using its own driver lro, to
	using tcp_lro

MFC after:	7 days
Sponsored by: Myricom Inc.
</content>
</entry>
<entry>
<title>Add support to mxge for IPv6 TX csum offload &amp; IPv6 TSO.</title>
<updated>2013-02-19T21:33:21Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2013-02-19T21:33:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a7a780eee27bfb92b03e34899de5e1e4b82b4d5'/>
<id>urn:sha1:0a7a780eee27bfb92b03e34899de5e1e4b82b4d5</id>
<content type='text'>
Sponsored by: Myricom, Inc.
MFC after: 7 days
</content>
</entry>
</feed>
