<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/ae, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-04-21T20:30:38Z</updated>
<entry>
<title>Yet more redundant parenthesis from r298431.</title>
<updated>2016-04-21T20:30:38Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T20:30:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a380994fff81ff425769164b7422beb260c60f14'/>
<id>urn:sha1:a380994fff81ff425769164b7422beb260c60f14</id>
<content type='text'>
Mea culpa.
</content>
</entry>
<entry>
<title>sys: use our nitems() macro when param.h is available.</title>
<updated>2016-04-21T19:40:10Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T19:40:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=323b076e9c3bdccf78698ad0f1934ca8ec5438ce'/>
<id>urn:sha1:323b076e9c3bdccf78698ad0f1934ca8ec5438ce</id>
<content type='text'>
This should cover all the remaining cases in the kernel.

Discussed in:	freebsd-current
</content>
</entry>
<entry>
<title>Fix a potentially "forever" loop.</title>
<updated>2016-02-17T21:24:26Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-02-17T21:24:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7b0c04c29c08952e4ec9a7730d557114b01a0ccd'/>
<id>urn:sha1:7b0c04c29c08952e4ec9a7730d557114b01a0ccd</id>
<content type='text'>
Found by:	PVS-Studio
</content>
</entry>
<entry>
<title>Mechanically convert to if_inc_counter().</title>
<updated>2014-09-19T03:51:26Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2014-09-19T03:51:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a'/>
<id>urn:sha1:c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use define from if_var.h to access a field inside struct if_data,</title>
<updated>2014-08-30T19:55:54Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2014-08-30T19:55:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1bffa9511fe94125820858b0ead796db54ac019d'/>
<id>urn:sha1:1bffa9511fe94125820858b0ead796db54ac019d</id>
<content type='text'>
that resides in struct ifnet.

Sponsored by:	Nginx, Inc.
</content>
</entry>
<entry>
<title>Fix various NIC drivers to properly cleanup static DMA resources.</title>
<updated>2014-06-11T14:53:58Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-06-11T14:53:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=068d8643adb13434b57fdd5febf43a11194d508f'/>
<id>urn:sha1:068d8643adb13434b57fdd5febf43a11194d508f</id>
<content type='text'>
In particular, don't check the value of the bus_dma map against NULL
to determine if either bus_dmamem_alloc() or bus_dmamap_load() succeeded.
Instead, assume that bus_dmamap_load() succeeeded (and thus that
bus_dmamap_unload() should be called) if the bus address for a resource
is non-zero, and assume that bus_dmamem_alloc() succeeded (and thus
that bus_dmamem_free() should be called) if the virtual address for a
resource is not NULL.

In many cases these bugs could result in leaks when a driver was detached.

Reviewed by:	yongari
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Failed m_devget(9) indicates lack of free mbuf cluster.  Update</title>
<updated>2013-12-18T07:23:42Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2013-12-18T07:23:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2e6383a8e8ede6c437544a3bdc211b465b643bfc'/>
<id>urn:sha1:2e6383a8e8ede6c437544a3bdc211b465b643bfc</id>
<content type='text'>
if_iqdrops counter for that case since the received frame is ok.
While here, simplify updating counter logic.
</content>
</entry>
<entry>
<title>The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare</title>
<updated>2013-10-26T17:58:36Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2013-10-26T17:58:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=76039bc84fae9915788b54ff28fe0cc4876952d2'/>
<id>urn:sha1:76039bc84fae9915788b54ff28fe0cc4876952d2</id>
<content type='text'>
to this event, adding if_var.h to files that do need it. Also, include
all includes that now are included due to implicit pollution via if_var.h

Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
</content>
</entry>
<entry>
<title>Avoid magic constant.</title>
<updated>2013-07-17T01:34:25Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2013-07-17T01:34:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fcb1bf41530e241c43310e48d4c8320c083da698'/>
<id>urn:sha1:fcb1bf41530e241c43310e48d4c8320c083da698</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title> o TxD ring requires 8 bytes alignment to work so change alignment</title>
<updated>2013-07-17T01:24:23Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2013-07-17T01:24:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b9a17c6ce4dc2cd4860ca4990edb40effe0824a9'/>
<id>urn:sha1:b9a17c6ce4dc2cd4860ca4990edb40effe0824a9</id>
<content type='text'>
   constraint to 8. Previously it may have triggered watchdog
   timeouts.
 o Check whether interrupt is ours or not.
 o Enable interrupts before attemping to transmit queued packets.
   This will slightly improve TX performance.
 o No need to clear IFF_DRV_OACTIVE in a loop. AE_FLAG_TXAVAIL is
   used to know whether there are enough available TxD ring space.
 o Added missing bus_dmamap_sync(9) in ae_rx_intr() and rearranged
   code to avoid unncessary register access.
 o Make sure to clear TxD, TxS, RxD rings in driver initialization.
   Otherwise some data in these rings could be interpreted as
   'updated' which in turn will advance internally maintained
   pointers and can trigger watchdog timeouts.

PR:	kern/180382
</content>
</entry>
</feed>
