<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/vxge, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-04-24T23:26:44Z</updated>
<entry>
<title>MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@</title>
<updated>2015-04-24T23:26:44Z</updated>
<author>
<name>Hiren Panchasara</name>
<email>hiren@FreeBSD.org</email>
</author>
<published>2015-04-24T23:26:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8978b18bf3d25d96694ee2c9f5d4a411c1b57a44'/>
<id>urn:sha1:8978b18bf3d25d96694ee2c9f5d4a411c1b57a44</id>
<content type='text'>
r275358:
Start process of removing the use of the deprecated "M_FLOWID" flag
from the FreeBSD network code. The flag is still kept around in the
"sys/mbuf.h" header file, but does no longer have any users. Instead
the "m_pkthdr.rsstype" field in the mbuf structure is now used to
decide the meaning of the "m_pkthdr.flowid" field. To modify the
"m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX"
macros as defined in the "sys/mbuf.h" header file.

This patch introduces new behaviour in the transmit direction.
Previously network drivers checked if "M_FLOWID" was set in "m_flags"
before using the "m_pkthdr.flowid" field. This check has now now been
replaced by checking if "M_HASHTYPE_GET(m)" is different from
"M_HASHTYPE_NONE". In the future more hashtypes will be added, for
example hashtypes for hardware dedicated flows.

"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is
valid and has no particular type. This change removes the need for an
"if" statement in TCP transmit code checking for the presence of a
valid flowid value. The "if" statement mentioned above is now a direct
variable assignment which is then later checked by the respective
network drivers like before.

r275483:
Remove M_FLOWID from SCTP code.

r276982:
Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr
manpage.

Note: The FreeBSD version has been bumped.

Reviewed by:    hps, tuexen
Sponsored by:   Limelight Networks
</content>
</entry>
<entry>
<title>MFC r263710, r273377, r273378, r273423 and r273455:</title>
<updated>2014-10-27T14:38:00Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-10-27T14:38:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d8d5d69aa6ecf430bc909103c271461db8cafb11'/>
<id>urn:sha1:d8d5d69aa6ecf430bc909103c271461db8cafb11</id>
<content type='text'>
- De-vnet hash sizes and hash masks.
- Fix multiple issues related to arguments passed to SYSCTL macros.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r260056:</title>
<updated>2014-01-04T21:23:49Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-01-04T21:23:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb45cb03dfd9a1884f82338bb045a05a0e84c37f'/>
<id>urn:sha1:bb45cb03dfd9a1884f82338bb045a05a0e84c37f</id>
<content type='text'>
In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function.
</content>
</entry>
<entry>
<title>Clean up -Wheader-guard warnings.</title>
<updated>2013-06-17T20:11:04Z</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2013-06-17T20:11:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77b2b60dcf8aee5c71cbfa3150c2c225ac4ebb28'/>
<id>urn:sha1:77b2b60dcf8aee5c71cbfa3150c2c225ac4ebb28</id>
<content type='text'>
Submitted by:	&lt;dt71@gmx.com&gt;
MFC after:	3 days
X-MFC with:	r251848
</content>
</entry>
<entry>
<title>Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays</title>
<updated>2013-01-30T18:01:20Z</updated>
<author>
<name>Sofian Brabez</name>
<email>sbz@FreeBSD.org</email>
</author>
<published>2013-01-30T18:01:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61bfd867626dad25026bafcbc5fbc595d9e85417'/>
<id>urn:sha1:61bfd867626dad25026bafcbc5fbc595d9e85417</id>
<content type='text'>
Reviewed by:	cognet
Approved by:	cognet
</content>
</entry>
<entry>
<title>Mechanically substitute flags from historic mbuf allocator with</title>
<updated>2012-12-04T09:32:43Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-12-04T09:32:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6499eccad497913a5025fbde8ae76da70e08043'/>
<id>urn:sha1:c6499eccad497913a5025fbde8ae76da70e08043</id>
<content type='text'>
malloc(9) flags in sys/dev.
</content>
</entry>
<entry>
<title>The drbr(9) API appeared to be so unclear, that most drivers in</title>
<updated>2012-09-28T18:28:27Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-09-28T18:28:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=063efed28c45a81e9f92c69b2fbe1f4f278c8f1a'/>
<id>urn:sha1:063efed28c45a81e9f92c69b2fbe1f4f278c8f1a</id>
<content type='text'>
tree used it incorrectly, which lead to inaccurate overrated
if_obytes accounting. The drbr(9) used to update ifnet stats on
drbr_enqueue(), which is not accurate since enqueuing doesn't
imply successful processing by driver. Dequeuing neither mean
that. Most drivers also called drbr_stats_update() which did
accounting again, leading to doubled if_obytes statistics. And
in case of severe transmitting, when a packet could be several
times enqueued and dequeued it could have been accounted several
times.

o Thus, make drbr(9) API thinner. Now drbr(9) merely chooses between
  ALTQ queueing or buf_ring(9) queueing.
  - It doesn't touch the buf_ring stats any more.
  - It doesn't touch ifnet stats anymore.
  - drbr_stats_update() no longer exists.

o buf_ring(9) handles its stats itself:
  - It handles br_drops itself.
  - br_prod_bytes stats are dropped. Rationale: no one ever
    reads them but update of a common counter on every packet
    negatively affects performance due to excessive cache
    invalidation.
  - buf_ring_enqueue_bytes() reduced to buf_ring_enqueue(), since
    we no longer account bytes.

o Drivers handle their stats theirselves: if_obytes, if_omcasts.

o mlx4(4), igb(4), em(4), vxge(4), oce(4) and  ixv(4) no longer
  use drbr_stats_update(), and update ifnet stats theirselves.

o bxe(4) was the most correct driver, it didn't call
  drbr_stats_update(), thus it was the only driver accurate under
  moderate load. Now it also maintains stats itself.

o ixgbe(4) had already taken stats from hardware, so just
  - drop software stats updating.
  - take multicast packet count from hardware as well.

o mxge(4) just no longer needs NO_SLOW_STATS define.

o cxgb(4), cxgbe(4) need no change, since they obtain stats
  from hardware.

Reviewed by:	jfv, gnn
</content>
</entry>
<entry>
<title>s/teh/the/g</title>
<updated>2012-09-14T21:59:55Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-09-14T21:59:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=582212fa0478f40e7927a374e7ba53098e054d0a'/>
<id>urn:sha1:582212fa0478f40e7927a374e7ba53098e054d0a</id>
<content type='text'>
Approved by:	cperciva
MFC after:	3 days
</content>
</entry>
<entry>
<title>Fix warning generated by clang;</title>
<updated>2012-06-01T04:23:20Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-06-01T04:23:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=829ac2c3e08c18ee23b64717c5acbe9c7048f172'/>
<id>urn:sha1:829ac2c3e08c18ee23b64717c5acbe9c7048f172</id>
<content type='text'>
	warning: equality comparison with extraneous parentheses
	[-Wparentheses-equality]

Reported by:	arundel
Reviewed by:	gnn
Approved by:	cperciva
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove spurious 8bit chars, turning files into plain ASCII.</title>
<updated>2012-01-15T13:23:54Z</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2012-01-15T13:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1eb6fc2b27aec80a23f7d23ba1b8627203192cda'/>
<id>urn:sha1:1eb6fc2b27aec80a23f7d23ba1b8627203192cda</id>
<content type='text'>
</content>
</entry>
</feed>
