<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/iavf, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-04-29T14:24:32Z</updated>
<entry>
<title>pci: Don't cache the count of MSI/MSI-X messages before allocation</title>
<updated>2025-04-29T14:24:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-02-11T14:11:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a515a8d36ad41e21c4af00f9d97a32ae9fa61e0'/>
<id>urn:sha1:0a515a8d36ad41e21c4af00f9d97a32ae9fa61e0</id>
<content type='text'>
A device can in theory change the read-only fields in the MSI/MSI-X
control registers that indicate the maximum number of supported
registers in response to changing other device registers.  For
example, certain Intel networking VFs change the number of messages as
a result of changes in the PCI_IOV_ADD_VF callback.

To support this, always read the current value of the relevant control
register in the *_count and *_alloc methods.  Once messages have been
allocated, the control register value remains cached.

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

(cherry picked from commit 346020138a0fd20085ebc285f090df38d7d18527)
</content>
</entry>
<entry>
<title>iavf(4): Get MSI-X BAR index at runtime instead of hardcoding it</title>
<updated>2024-10-31T16:54:24Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2024-08-30T00:58:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8ab635de4b5cac9eb91dff57e9457d7d1f7f533'/>
<id>urn:sha1:b8ab635de4b5cac9eb91dff57e9457d7d1f7f533</id>
<content type='text'>
This allows iavf to load on E830 devices since those devices place their MSI-X
BAR at a different location than in previous 800 series products.

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

Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D46952

(cherry picked from commit e53a21abdf2953714e44e3c54b4bb78557cb096c)
</content>
</entry>
<entry>
<title>Fix enum warning in iavf</title>
<updated>2024-08-04T10:21:33Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2024-07-31T11:01:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=646d5b96b41db9296a64569a58f83a7af11cd9ca'/>
<id>urn:sha1:646d5b96b41db9296a64569a58f83a7af11cd9ca</id>
<content type='text'>
This fixes a clang 19 warning:

    sys/dev/iavf/iavf_lib.c:514:39: error: comparison of different enumeration types ('enum virtchnl_vsi_type' and 'enum iavf_vsi_type') [-Werror,-Wenum-compare]
      514 |                 if (sc-&gt;vf_res-&gt;vsi_res[i].vsi_type == IAVF_VSI_SRIOV)
          |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~

The `vsi_type` field of `struct virtchnl_vsi_resource` is of type `enum
virtchnl_vsi_type`, not `enum iavf_vsi_type`. In this case, we can
seamlessly replace the value with `VIRTCHNL_VSI_SRIOV`, which is
numerically equal to `IAVF_VSI_SRIOV`.

MFC after:	3 days

(cherry picked from commit 67be1e195acfaec99ce4fffeb17111ce085755f7)
</content>
</entry>
<entry>
<title>iavf: Add explicit ifdi_needs_reset for VLAN changes</title>
<updated>2023-08-24T20:46:56Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2023-08-24T20:36:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d6c12c511ae2a394d3ca1998a10f3d3bd25d313'/>
<id>urn:sha1:1d6c12c511ae2a394d3ca1998a10f3d3bd25d313</id>
<content type='text'>
In rS360398, a new iflib device method was added with default of opt out
for VLAN events needing an interface reset.

iavf(4) was the original need for this, because VLAN filter changes
currently have negative interactions with Malicious Driver Detection.

Add iavf_if_needs_restart and explicitly enable VLAN re-init.

MFC after:	2 weeks
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D41558
</content>
</entry>
<entry>
<title>iavf: remove compatibility code and address some warnings</title>
<updated>2023-08-23T12:48:11Z</updated>
<author>
<name>Piotr Kubaj</name>
<email>pkubaj@FreeBSD.org</email>
</author>
<published>2023-08-22T10:45:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0834f13da9e3b2912368f9ee3467997cd76911a4'/>
<id>urn:sha1:0834f13da9e3b2912368f9ee3467997cd76911a4</id>
<content type='text'>
Code for pre-11 FreeBSD versions is removed.
Also removed are macros that are not used anymore and "i" variable
does not shadow anymore other "i" variable.

Differential Revision: https://reviews.freebsd.org/D41547
Approved by:	erj
</content>
</entry>
<entry>
<title>iflib drivers: Constify PCI ID LUTs</title>
<updated>2023-08-17T18:34:23Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2023-08-16T16:49:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=51e235148a4becba94e824a44bd69687644a7f56'/>
<id>urn:sha1:51e235148a4becba94e824a44bd69687644a7f56</id>
<content type='text'>
Since d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is ready
for this change.
While at it, make isc_driver_version strings (static) const where
not apparently un-const on purpose, too.
This reduces the size of the amd64 GENERIC by about 10 KiB.
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-16T17:54:24Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71625ec9ad2a9bc8c09784fbd23b759830e0ee5f'/>
<id>urn:sha1:71625ec9ad2a9bc8c09784fbd23b759830e0ee5f</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</content>
</entry>
<entry>
<title>iavf: purge EOL release compatibility</title>
<updated>2023-02-04T16:13:08Z</updated>
<author>
<name>Elliott Mitchell</name>
<email>ehem+freebsd@m5p.com</email>
</author>
<published>2022-06-23T00:53:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=097e192a9c203d98c0b097d1517f87342896f676'/>
<id>urn:sha1:097e192a9c203d98c0b097d1517f87342896f676</id>
<content type='text'>
Drop code that differentiated between FreeBSD 10 and 11

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
</content>
</entry>
<entry>
<title>Mechanically convert iavf(4) to IfAPI</title>
<updated>2023-01-24T19:36:29Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2022-08-19T15:55:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d8096b2df282d7a50e56eddba523bcdda1676106'/>
<id>urn:sha1:d8096b2df282d7a50e56eddba523bcdda1676106</id>
<content type='text'>
Reviewed by:	erj
Sponsored by:	Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37858
</content>
</entry>
<entry>
<title>iavf/ice/ixl: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-06T22:46:59Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-06T22:46:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83c0a9e839e2430617ae511cf80e150a8984d414'/>
<id>urn:sha1:83c0a9e839e2430617ae511cf80e150a8984d414</id>
<content type='text'>
</content>
</entry>
</feed>
