<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/igc, branch releng/14.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>dev: Use recently added improvements to PME# support to simplify drivers</title>
<updated>2025-04-29T14:45:07+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-03-27T20:55:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f27822152e46c1890db0a17737517c1beba8ea3'/>
<id>6f27822152e46c1890db0a17737517c1beba8ea3</id>
<content type='text'>
Depend on the PCI bus driver clearing PME# after resume to remove the
need for clearing PME# from DEVICE_RESUME methods.

Use pci_has_pm and pci_enable_pme.

Reviewed by:	Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;
Differential Revision:	https://reviews.freebsd.org/D49251

(cherry picked from commit ddaf6524682b3ab9e50f7575db319814dbbd053a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Depend on the PCI bus driver clearing PME# after resume to remove the
need for clearing PME# from DEVICE_RESUME methods.

Use pci_has_pm and pci_enable_pme.

Reviewed by:	Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;
Differential Revision:	https://reviews.freebsd.org/D49251

(cherry picked from commit ddaf6524682b3ab9e50f7575db319814dbbd053a)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc(4): Fix attach for I226-K and LMVP devices</title>
<updated>2025-04-03T19:59:47+00:00</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2025-02-26T17:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f034ddd2fa38cb2b0e3d16059cb059626a770e19'/>
<id>f034ddd2fa38cb2b0e3d16059cb059626a770e19</id>
<content type='text'>
Summary:
The device IDs for these were in the driver's list of PCI ids to attach
to, but igc_set_mac_type() had never been setup to set the correct mac
type for these devices. Fix this by adding these IDs to the switch block
in order for them to be recognized by the driver instead of returning an
error.

This fixes the igc(4) attach for the I226-K LOM on the ASRock Z790
PG-ITX/TB4 motherboard, allowing it to be recognized and used.

Signed-off-by: Eric Joyner &lt;erj@FreeBSD.org&gt;

Reviewed by:	kbowling@
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D49147

(cherry picked from commit 7ee310c80ea7b336972f53cc48b8c3d03029941e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The device IDs for these were in the driver's list of PCI ids to attach
to, but igc_set_mac_type() had never been setup to set the correct mac
type for these devices. Fix this by adding these IDs to the switch block
in order for them to be recognized by the driver instead of returning an
error.

This fixes the igc(4) attach for the I226-K LOM on the ASRock Z790
PG-ITX/TB4 motherboard, allowing it to be recognized and used.

Signed-off-by: Eric Joyner &lt;erj@FreeBSD.org&gt;

Reviewed by:	kbowling@
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D49147

(cherry picked from commit 7ee310c80ea7b336972f53cc48b8c3d03029941e)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: Remove unused register IGC_RXD_SPC_VLAN_MASK</title>
<updated>2025-02-16T00:25:41+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2025-02-13T18:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=07e712e4d1f0e0227c774a9621035b949deb5aae'/>
<id>07e712e4d1f0e0227c774a9621035b949deb5aae</id>
<content type='text'>
We don't use legacy receive descriptors and masking out the vlan ID
isn't necessary since the tag is in the standard format, so remove it.

(cherry picked from commit 124b7722aad7d4cf12d96c030659aef78175aa9c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't use legacy receive descriptors and masking out the vlan ID
isn't necessary since the tag is in the standard format, so remove it.

(cherry picked from commit 124b7722aad7d4cf12d96c030659aef78175aa9c)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc.4: Add I226 and other additions to supported list</title>
<updated>2024-12-23T22:00:51+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-12-03T00:43:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6cfff795e5aae0ec1ba834666c55fe02ff586aac'/>
<id>6cfff795e5aae0ec1ba834666c55fe02ff586aac</id>
<content type='text'>
(cherry picked from commit 850f78d5a191d0058fcd20beb8b1309b795ecdbd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 850f78d5a191d0058fcd20beb8b1309b795ecdbd)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: disable hw.igc.sbp</title>
<updated>2024-11-27T00:28:44+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-11-24T21:08:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9b7f8ee3a1a6e216092d735f54878d41bf323c18'/>
<id>9b7f8ee3a1a6e216092d735f54878d41bf323c18</id>
<content type='text'>
Similar to 548d8a131d536d5f in e1000, disable this by default.

Sponsored by:	BBOX.io

(cherry picked from commit e80419da6cef3fb6ea1902bd9a250ca21072a42c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to 548d8a131d536d5f in e1000, disable this by default.

Sponsored by:	BBOX.io

(cherry picked from commit e80419da6cef3fb6ea1902bd9a250ca21072a42c)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: Style pass igc_txrx</title>
<updated>2024-11-27T00:28:21+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-11-24T07:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cb9c9b0c35a03915d235dfd4d1232db857a267ae'/>
<id>cb9c9b0c35a03915d235dfd4d1232db857a267ae</id>
<content type='text'>
Fix up indentation and reflow long lines.

Sponsored by:	BBOX.io

(cherry picked from commit c7fb7b5d9fcd1fc67794228820aa54df388d47b4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix up indentation and reflow long lines.

Sponsored by:	BBOX.io

(cherry picked from commit c7fb7b5d9fcd1fc67794228820aa54df388d47b4)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: Reflow long lines</title>
<updated>2024-11-27T00:27:57+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-11-24T05:58:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bfabd58a9b58c88a3df6036b47d2812666b941a6'/>
<id>bfabd58a9b58c88a3df6036b47d2812666b941a6</id>
<content type='text'>
Sponsored by:	BBOX.io

(cherry picked from commit 9efc7325f1acb85ac8772096cc2b54fd0c6a60ff)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	BBOX.io

(cherry picked from commit 9efc7325f1acb85ac8772096cc2b54fd0c6a60ff)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: Normalize indentation a bit</title>
<updated>2024-11-27T00:27:32+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-11-24T03:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=23a4b5497a379fd417b19453107a8490384d875d'/>
<id>23a4b5497a379fd417b19453107a8490384d875d</id>
<content type='text'>
Sponsored by:	BBOX.io

(cherry picked from commit d1bb1a501118851b02a182afdd9dd1413e9f4ce0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	BBOX.io

(cherry picked from commit d1bb1a501118851b02a182afdd9dd1413e9f4ce0)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: sysctl for TCP flag handling during TSO</title>
<updated>2024-11-24T03:21:30+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2024-11-21T02:38:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6890e1e79341b52665792978899b94a1bbe311dd'/>
<id>6890e1e79341b52665792978899b94a1bbe311dd</id>
<content type='text'>
Add tso_tcp_flags_mask_first_segment, tso_tcp_flags_mask_middle_segment,
and tso_tcp_flags_mask_last_segment sysctl-variables to control the
handling of TCP flags during TSO.

This allows to change the masks appropriate for classical ECN and to
configure appropriate masks for accurate ECN.

Sponsored by:	Netflix

(cherry picked from commit ab540d44ba3201ff8313b90ba0096004603b2e34)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tso_tcp_flags_mask_first_segment, tso_tcp_flags_mask_middle_segment,
and tso_tcp_flags_mask_last_segment sysctl-variables to control the
handling of TCP flags during TSO.

This allows to change the masks appropriate for classical ECN and to
configure appropriate masks for accurate ECN.

Sponsored by:	Netflix

(cherry picked from commit ab540d44ba3201ff8313b90ba0096004603b2e34)
</pre>
</div>
</content>
</entry>
<entry>
<title>igc: Remove a bogus register write in igc_if_queues_free()</title>
<updated>2024-11-02T14:29:26+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-10-26T21:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16b24ba8722735ee2657f07e32e5a5bf7ee62a2e'/>
<id>16b24ba8722735ee2657f07e32e5a5bf7ee62a2e</id>
<content type='text'>
As explained in PR 277038, iflib calls IFDI_DETACH() and then
IFDI_QUEUES_FREE().  With igc, the latter writes to a register after it
has been unmapped.

igc_if_detach() already calls igc_release_hw_control(), and looking at
callers of igc_if_queues_free(), that appears to be sufficient.  So,
just remove the igc_release_hw_control() call.

PR:		277038
Reported by:	Mike Belanger &lt;mibelanger@qnx.com&gt;
Reviewed by:	kbowling
Tested by:	kbowling
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47293

(cherry picked from commit 35d05a14ed7e9935be1ed0fe965b91aaaa4c92ef)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As explained in PR 277038, iflib calls IFDI_DETACH() and then
IFDI_QUEUES_FREE().  With igc, the latter writes to a register after it
has been unmapped.

igc_if_detach() already calls igc_release_hw_control(), and looking at
callers of igc_if_queues_free(), that appears to be sufficient.  So,
just remove the igc_release_hw_control() call.

PR:		277038
Reported by:	Mike Belanger &lt;mibelanger@qnx.com&gt;
Reviewed by:	kbowling
Tested by:	kbowling
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47293

(cherry picked from commit 35d05a14ed7e9935be1ed0fe965b91aaaa4c92ef)
</pre>
</div>
</content>
</entry>
</feed>
