<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/e1000, 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>2021-10-13T02:16:04Z</updated>
<entry>
<title>e1000: print EEPROM/NVM/OROM versions</title>
<updated>2021-10-13T02:16:04Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-10-06T23:25:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c60b5d477cb466ed11bc34d3808920298c29f09f'/>
<id>urn:sha1:c60b5d477cb466ed11bc34d3808920298c29f09f</id>
<content type='text'>
This is useful for diagnosing problems. In particular, the errata
sheets identify the EEPROM version for many fixes.

Reviewed by:	gallatin
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D32333

(cherry picked from commit 293663f4da9e8b8aeb106ce3b73a8ed2aa2a8a90)
</content>
</entry>
<entry>
<title>e1000: Lock nvm print sysctl</title>
<updated>2021-10-13T02:12:21Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-10-06T23:20:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38d7f1c5b39145a9ac58678dba59288ffa85fd5e'/>
<id>urn:sha1:38d7f1c5b39145a9ac58678dba59288ffa85fd5e</id>
<content type='text'>
Otherwise results in KASSERT with debug kernels because we rely on the
iflib CTX lock to implement the software serialization to the NVM model

Reviewed by:	gallatin
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D32333

(cherry picked from commit 9b3e252e59c6e63594fb20e3f65188dab9e1eeff)
</content>
</entry>
<entry>
<title>e1000: Function prototype cleanup</title>
<updated>2021-10-09T01:03:54Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-10-06T21:03:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b52edc0357efd881a403043ff6622e9d6211058f'/>
<id>urn:sha1:b52edc0357efd881a403043ff6622e9d6211058f</id>
<content type='text'>
Drop arguments of function prototypes since the file is mixed between
listing arg names and not.

No functional changes

Reviewed by:	markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D32329

(cherry picked from commit 28ccd780a96fe49364072955636829cff1589cfb)
</content>
</entry>
<entry>
<title>iflib: Make if_shared_ctx_t a pointer to const</title>
<updated>2021-10-03T01:55:49Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-03-08T17:39:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a13449e4daa28fd7be43c91017212818006ed5c'/>
<id>urn:sha1:3a13449e4daa28fd7be43c91017212818006ed5c</id>
<content type='text'>
This structure is shared among multiple instances of a driver, so we
should ensure that it doesn't somehow get treated as if there's a
separate instance per interface.  This is especially important for
software-only drivers like wg.

DEVICE_REGISTER() still returns a void * and so the per-driver sctx
structures are not yet defined with the const qualifier.

Reviewed by:	gallatin, erj
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29102

(cherry picked from commit ffe3def903a5f239c319e5fe12450659658974a5)
</content>
</entry>
<entry>
<title>e1000: fix K1 configuration</title>
<updated>2021-09-30T00:23:56Z</updated>
<author>
<name>Wenzhuo Lu</name>
<email>wenzhuo.lu@intel.com</email>
</author>
<published>2015-10-16T02:51:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b4c189e2fe07d67f8b2d92e5d29aaada48d6d882'/>
<id>urn:sha1:b4c189e2fe07d67f8b2d92e5d29aaada48d6d882</id>
<content type='text'>
This patch is for the following updates to the K1 configurations:
Tx idle period for entering K1 should be 128 ns.
Minimum Tx idle period in K1 should be 256 ns.

Signed-off-by: Wenzhuo Lu &lt;wenzhuo.lu@intel.com&gt;

PR:		258153
Reviewed by:	erj
Tested by:	iron.udjin@gmail.com
Approved by:	imp
Obtained from:	DPDK (6f934fa24dfd437c90ead96bc7598ee77a117ede)
MFC after:	1 week

(cherry picked from commit d5ad2f2a67df54ac40148cca21e726bc61a48982)
</content>
</entry>
<entry>
<title>e1000: Re-arm link changes</title>
<updated>2021-09-28T17:28:54Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-27T16:17:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a6640bca4827036ad9374696381513da7d9df0f9'/>
<id>urn:sha1:a6640bca4827036ad9374696381513da7d9df0f9</id>
<content type='text'>
A change to MSI-X link handler was somehow causing issues on
MSI-based em(4) NICs.

Revert the change based on user reports and testing.

PR:		258551
Reported by:	Franco Fichtner &lt;franco@opnsense.org&gt;, t_uemura@macome.co.jp
Reviewed by:	markj, Franco Fichtner &lt;franco@opnsense.org&gt;
Tested by:	t_uemura@macome.co.jp
MFC after:	1 day

(cherry picked from commit 450c3f8b3d259c7eb82488319aff45f1f6554aaf)
</content>
</entry>
<entry>
<title>e1000: Fix tabstop width in if_em.h</title>
<updated>2021-09-28T17:28:28Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-26T16:24:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54b159f9c34adbd82f61c38fae82e11e8cfaae43'/>
<id>urn:sha1:54b159f9c34adbd82f61c38fae82e11e8cfaae43</id>
<content type='text'>
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D32145

(cherry picked from commit 21ab8c75c940dd15343b4af28b18a66f377e670a)
</content>
</entry>
<entry>
<title>e1000: Rename 'struct adapter' to 'struct e1000_sc'</title>
<updated>2021-09-28T17:26:13Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-25T00:09:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c98a58f6448f6d3ff5ad5cb73b56f77ac3f3ca95'/>
<id>urn:sha1:c98a58f6448f6d3ff5ad5cb73b56f77ac3f3ca95</id>
<content type='text'>
Rename the 'struct adapter' to 'struct e1000_sc' to avoid type ambiguity
in things like kgdb.

Reviewed by:	jhb, markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D32129

(cherry picked from commit dc9260515449cde9a4b26b5448f7386388c55bbd)
</content>
</entry>
<entry>
<title>iflib: Free resources in a consistent order during detach</title>
<updated>2021-09-28T17:21:52Z</updated>
<author>
<name>Sai Rajesh Tallamraju</name>
<email>stallamr@netapp.com</email>
</author>
<published>2021-02-01T16:13:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b4cfd3f1315856029256a9847d78d3b1b717fb0'/>
<id>urn:sha1:5b4cfd3f1315856029256a9847d78d3b1b717fb0</id>
<content type='text'>
Memory and PCI resources are freed with no particular order.  This could
cause use-after-frees when detaching following a failed attach.  For
instance, iflib_tx_structures_free() frees ctx-&gt;ifc_txqs[] but
iflib_tqg_detach() attempts to access this array. Similarly, adapter
queues gets freed by IFDI_QUEUES_FREE() but IFDI_DETACH() attempts to
access adapter queues to free PCI resources.

MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D27634

(cherry picked from commit 38bfc6dee33bedb290e1ea2540f97a86fe3caee0)
</content>
</entry>
<entry>
<title>e1000: Consistently use FALLTHROUGH</title>
<updated>2021-09-28T17:07:34Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-17T03:13:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a02f614070a862b98dcb7c09fec7cfa9a701eefe'/>
<id>urn:sha1:a02f614070a862b98dcb7c09fec7cfa9a701eefe</id>
<content type='text'>
Approved by:	imp
MFC after:	1 week

(cherry picked from commit e05d9788b7e90ffd6405dc59656b52a63ba7ff3e)
</content>
</entry>
</feed>
