<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/oce, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-06-22T21:28:51Z</updated>
<entry>
<title>MFC r362201:</title>
<updated>2020-06-22T21:28:51Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-06-22T21:28:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49ea81284416447c8c59ea372120c8ce8ce4880d'/>
<id>urn:sha1:49ea81284416447c8c59ea372120c8ce8ce4880d</id>
<content type='text'>
Avoid trying to toggle TSO twice

Remove TSO from the toggle mask when automatically disabled by TXCKSUM* in
various NIC drivers.

Reviewed by:    hselasky, np, gallatin, jpaetzel
Approved by:    mav (mentor)
Sponsored by:   iXsystems, Inc.
Differential Revision:  https://reviews.freebsd.org/D25120
</content>
</entry>
<entry>
<title>MFC r356047:</title>
<updated>2019-12-26T16:56:42Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2019-12-26T16:56:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26c3a6385ce3ed9661d250c8d2ec2dbbd42df186'/>
<id>urn:sha1:26c3a6385ce3ed9661d250c8d2ec2dbbd42df186</id>
<content type='text'>
oce: Disallow the passthrough ioctl for unprivileged users.
</content>
</entry>
<entry>
<title>MFC r355885:</title>
<updated>2019-12-21T18:50:25Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2019-12-21T18:50:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ffdce71b3696d1a2661a1bbf72db1557a3b2d22'/>
<id>urn:sha1:4ffdce71b3696d1a2661a1bbf72db1557a3b2d22</id>
<content type='text'>
oce: Tighten input validation in the SIOCGI2C handler.
</content>
</entry>
<entry>
<title>MFC r350630, r350657: static analysis fixes from Haiku</title>
<updated>2019-08-16T21:03:55Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-08-16T21:03:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2112835ed5eecb23e673f0797d4750fccf3a0d44'/>
<id>urn:sha1:2112835ed5eecb23e673f0797d4750fccf3a0d44</id>
<content type='text'>
r350630:
oce(4): potential out of bounds access before vector validation

r350657:
ral: rt2860: fix wcid2ni access/size issue

RT2860_WCID_MAX is supposed to describe the max STA index for wcid2ni, and
was instead being used as the size -- off-by-one.

rt2860_drain_stats_fifo was range-checking wcid only after accessing
out-of-bounds potentially.
</content>
</entry>
<entry>
<title>MFC r348332: Fix array out of bound panic introduced in r306219.</title>
<updated>2019-06-11T01:09:54Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-06-11T01:09:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=24a556b1dd7481cfac036d5138bbbfa1bde832b4'/>
<id>urn:sha1:24a556b1dd7481cfac036d5138bbbfa1bde832b4</id>
<content type='text'>
As I see, different NICs in different configurations may have different
numbers of TX and RX queues.  The code was assuming 1:1 mapping between
event queues (interrupts) and TX/RX queues.  Since number of interrupts
is set to maximum of TX and RX queues, when those two are different, the
system is doomed.

I have no documentation or deep knowledge about this hardware, so this
change is based on general observations and code reading.  If some of my
guesses are wrong, please do better.  I just confirmed HP NC550SFP NICs
are working now.
</content>
</entry>
<entry>
<title>MFC r342856: Added support for the SIOCGI2C ioctl.</title>
<updated>2019-01-22T04:20:00Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2019-01-22T04:20:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dcc7d14471079b054658bfd926be36fcd42e55c7'/>
<id>urn:sha1:dcc7d14471079b054658bfd926be36fcd42e55c7</id>
<content type='text'>
Submitted by:	Ram Kishore Vegesna &lt;ram.vegesna@broadcom.com&gt;
Obtained from:	Broadcom
</content>
</entry>
<entry>
<title>Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv,</title>
<updated>2018-09-26T17:12:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-09-26T17:12:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0dc34160f3241087ca7d0485f0ba3813406d04ca'/>
<id>urn:sha1:0dc34160f3241087ca7d0485f0ba3813406d04ca</id>
<content type='text'>
mfi, mps, mpr, mvs, my, oce, pcn, ral, rl. This only labels existing
pci device tables, and has no probe / attach code changes.

Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy &lt;lakhanshiva@gmail.com&gt;
Sponsored by: Google, Inc. (GSoC 2018)
Approved by: re (glen)
</content>
</entry>
<entry>
<title>ifnet: Replace if_addr_lock rwlock with epoch + mutex</title>
<updated>2018-05-18T20:13:34Z</updated>
<author>
<name>Matt Macy</name>
<email>mmacy@FreeBSD.org</email>
</author>
<published>2018-05-18T20:13:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7c5a620e2b99e914f1770abde956cf0d0a970b7'/>
<id>urn:sha1:d7c5a620e2b99e914f1770abde956cf0d0a970b7</id>
<content type='text'>
Run on LLNW canaries and tested by pho@

gallatin:
Using a 14-core, 28-HTT single socket E5-2697 v3 with a 40GbE MLX5
based ConnectX 4-LX NIC, I see an almost 12% improvement in received
packet rate, and a larger improvement in bytes delivered all the way
to userspace.

When the host receiving 64 streams of netperf -H $DUT -t UDP_STREAM -- -m 1,
I see, using nstat -I mce0 1 before the patch:

InMpps OMpps  InGbs  OGbs err TCP Est %CPU syscalls csw     irq GBfree
4.98   0.00   4.42   0.00 4235592     33   83.80 4720653 2149771   1235 247.32
4.73   0.00   4.20   0.00 4025260     33   82.99 4724900 2139833   1204 247.32
4.72   0.00   4.20   0.00 4035252     33   82.14 4719162 2132023   1264 247.32
4.71   0.00   4.21   0.00 4073206     33   83.68 4744973 2123317   1347 247.32
4.72   0.00   4.21   0.00 4061118     33   80.82 4713615 2188091   1490 247.32
4.72   0.00   4.21   0.00 4051675     33   85.29 4727399 2109011   1205 247.32
4.73   0.00   4.21   0.00 4039056     33   84.65 4724735 2102603   1053 247.32

After the patch

InMpps OMpps  InGbs  OGbs err TCP Est %CPU syscalls csw     irq GBfree
5.43   0.00   4.20   0.00 3313143     33   84.96 5434214 1900162   2656 245.51
5.43   0.00   4.20   0.00 3308527     33   85.24 5439695 1809382   2521 245.51
5.42   0.00   4.19   0.00 3316778     33   87.54 5416028 1805835   2256 245.51
5.42   0.00   4.19   0.00 3317673     33   90.44 5426044 1763056   2332 245.51
5.42   0.00   4.19   0.00 3314839     33   88.11 5435732 1792218   2499 245.52
5.44   0.00   4.19   0.00 3293228     33   91.84 5426301 1668597   2121 245.52

Similarly, netperf reports 230Mb/s before the patch, and 270Mb/s after the patch

Reviewed by:	gallatin
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D15366
</content>
</entry>
<entry>
<title>Add ability to perform a firmware reset during driver initialization.</title>
<updated>2018-05-01T17:39:20Z</updated>
<author>
<name>Josh Paetzel</name>
<email>jpaetzel@FreeBSD.org</email>
</author>
<published>2018-05-01T17:39:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dced0d18217c1b21dbbd4654e812d7c9b86e0618'/>
<id>urn:sha1:dced0d18217c1b21dbbd4654e812d7c9b86e0618</id>
<content type='text'>
Required by Lancer Gen 5 hardware.

Submitted by:	Ram Kishore Vegesna &lt;ram.vegesna@broadcom.com&gt;
Obtained from:	Broadcom
</content>
</entry>
<entry>
<title>Use an accessor function to access ifr_data.</title>
<updated>2018-03-30T18:50:13Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-03-30T18:50:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=541d96aaaf46cde0f4247c226ed29d635b1915c4'/>
<id>urn:sha1:541d96aaaf46cde0f4247c226ed29d635b1915c4</id>
<content type='text'>
This fixes 32-bit compat (no ioctl command defintions are required
as struct ifreq is the same size).  This is believed to be sufficent to
fully support ifconfig on 32-bit systems.

Reviewed by:	kib
Obtained from:	CheriBSD
MFC after:	1 week
Relnotes:	yes
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14900
</content>
</entry>
</feed>
