<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ixgbe/ixgbe_vf.c, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ix/ixv: Add support for new Intel Ethernet E610 family devices</title>
<updated>2025-10-15T15:26:26+00:00</updated>
<author>
<name>Bhosale, Yogeshnull</name>
<email>nullyogesh.bhosale@intel.com</email>
</author>
<published>2025-08-19T14:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a728b96686e69cc3237f94b07f3bced44eeed8e9'/>
<id>a728b96686e69cc3237f94b07f3bced44eeed8e9</id>
<content type='text'>
This is part 1 of the support for the new Intel Ethernet E610 family of devices.

Introduce new PCI device IDs:
• 57AE: Intel(R) E610 (Backplane)
• 57AF: Intel(R) E610 (SFP)
• 57B0: Intel(R) E610 (10 GbE)
• 57B1: Intel(R) E610 (2.5 GbE)
• 57B2: Intel(R) E610 (SGMII)

Key updates for E610 family:
• Firmware manages Link and PHY
• Implement new CSR-based Admin Command Interface (ACI) for SW-FW interaction
• Tested exclusively for x64 operating systems on E610-XT2/XT4 (10G) and E610-IT4 (2.5G)
• Enable link speeds above 1G: 2.5G, 5G and 10G
• NVM Recovery Mode and Rollback support

Signed-off-by: Yogesh Bhosale yogesh.bhosale@intel.com
Co-developed-by: Krzysztof Galazka krzysztof.galazka@intel.com

Approved by:	kbowling (mentor), erj (mentor)
Tested by:	gowtham.kumar.ks_intel.com
Sponsored by:   Intel Corporation
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50067

(cherry picked from commit dea5f973d0c8d29a79b433283d0a2de8f4615957)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is part 1 of the support for the new Intel Ethernet E610 family of devices.

Introduce new PCI device IDs:
• 57AE: Intel(R) E610 (Backplane)
• 57AF: Intel(R) E610 (SFP)
• 57B0: Intel(R) E610 (10 GbE)
• 57B1: Intel(R) E610 (2.5 GbE)
• 57B2: Intel(R) E610 (SGMII)

Key updates for E610 family:
• Firmware manages Link and PHY
• Implement new CSR-based Admin Command Interface (ACI) for SW-FW interaction
• Tested exclusively for x64 operating systems on E610-XT2/XT4 (10G) and E610-IT4 (2.5G)
• Enable link speeds above 1G: 2.5G, 5G and 10G
• NVM Recovery Mode and Rollback support

Signed-off-by: Yogesh Bhosale yogesh.bhosale@intel.com
Co-developed-by: Krzysztof Galazka krzysztof.galazka@intel.com

Approved by:	kbowling (mentor), erj (mentor)
Tested by:	gowtham.kumar.ks_intel.com
Sponsored by:   Intel Corporation
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50067

(cherry picked from commit dea5f973d0c8d29a79b433283d0a2de8f4615957)
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: introduce new mailbox API</title>
<updated>2024-09-27T03:32:06+00:00</updated>
<author>
<name>Jakub Chylkowski</name>
<email>jakubx.chylkowski@intel.com</email>
</author>
<published>2024-09-20T02:30:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8abae0be0fcec059dba0682def252995f38bc300'/>
<id>8abae0be0fcec059dba0682def252995f38bc300</id>
<content type='text'>
DPDK commit message

Current mailbox API does not work as described in documentation and
is prone to errors (for example, it is doing locks on read). Introduce
new mailbox API and provide compatibility functions with old API.

New error codes have been introduced:
- IXGBE_ERR_CONFIG - ixgbe_mbx_operations is not correctly set
- IXGBE_ERR_TIMEOUT - mailbox operation, e.g. poll for message, timedout
- IXGBE_ERR_MBX_NOMSG - no message available on read

In addition, some refactoring has been done: mailbox structures were
defined twice: in ixgbe_type.h and ixgbe_vf.h. Move them into
ixgbe_mbx.h as this header is dedicated for mailbox.

Signed-off-by: Jakub Chylkowski &lt;jakubx.chylkowski@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;
Reviewed-by: Piotr Pietruszewski &lt;piotr.pietruszewski@intel.com&gt;
Tested-by: Alice Michael &lt;alice.michael@intel.com&gt;
Tested-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;

Obtained from:	DPDK (6d243d2)

Reapply message

This reverts commit d80c12ba682a6f23791f3d6e657f9e603b152aa2.

(cherry picked from commit 7234c3099947d202702e98d844ecd2d649c834d2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DPDK commit message

Current mailbox API does not work as described in documentation and
is prone to errors (for example, it is doing locks on read). Introduce
new mailbox API and provide compatibility functions with old API.

New error codes have been introduced:
- IXGBE_ERR_CONFIG - ixgbe_mbx_operations is not correctly set
- IXGBE_ERR_TIMEOUT - mailbox operation, e.g. poll for message, timedout
- IXGBE_ERR_MBX_NOMSG - no message available on read

In addition, some refactoring has been done: mailbox structures were
defined twice: in ixgbe_type.h and ixgbe_vf.h. Move them into
ixgbe_mbx.h as this header is dedicated for mailbox.

Signed-off-by: Jakub Chylkowski &lt;jakubx.chylkowski@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;
Reviewed-by: Piotr Pietruszewski &lt;piotr.pietruszewski@intel.com&gt;
Tested-by: Alice Michael &lt;alice.michael@intel.com&gt;
Tested-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;

Obtained from:	DPDK (6d243d2)

Reapply message

This reverts commit d80c12ba682a6f23791f3d6e657f9e603b152aa2.

(cherry picked from commit 7234c3099947d202702e98d844ecd2d649c834d2)
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: rename VF message type macros</title>
<updated>2024-09-26T03:29:02+00:00</updated>
<author>
<name>Jakub Chylkowski</name>
<email>jakubx.chylkowski@intel.com</email>
</author>
<published>2024-09-19T21:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d7364cb43fa34cc2d8d9741a1ef760a20227d3d2'/>
<id>d7364cb43fa34cc2d8d9741a1ef760a20227d3d2</id>
<content type='text'>
DPDK commit message

There is name similarity within IXGBE_VT_MSGTYPE_ACK and
PFMAILBOX.ACK / VFMAILBOX.ACK which may cause confusion. Rename MSGTYPE
macros to SUCCESS and FAILURE as they are not specified in datasheet and
now will be easily distinguishable.

Signed-off-by: Jakub Chylkowski &lt;jakubx.chylkowski@intel.com&gt;
Reviewed-by: Marek Zalfresso-jundzillo &lt;marekx.zalfresso-jundzillo@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;
Reviewed-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Reviewed-by: Slawomir Mrozowicz &lt;slawomirx.mrozowicz@intel.com&gt;
Tested-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Tested-by: Alice Michael &lt;alice.michael@intel.com&gt;

Obtained from:	DPDK (4f675c9)

(cherry picked from commit 10746040820ee5186caf4d4d61cf88196ec213ba)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DPDK commit message

There is name similarity within IXGBE_VT_MSGTYPE_ACK and
PFMAILBOX.ACK / VFMAILBOX.ACK which may cause confusion. Rename MSGTYPE
macros to SUCCESS and FAILURE as they are not specified in datasheet and
now will be easily distinguishable.

Signed-off-by: Jakub Chylkowski &lt;jakubx.chylkowski@intel.com&gt;
Reviewed-by: Marek Zalfresso-jundzillo &lt;marekx.zalfresso-jundzillo@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;
Reviewed-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Reviewed-by: Slawomir Mrozowicz &lt;slawomirx.mrozowicz@intel.com&gt;
Tested-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Tested-by: Alice Michael &lt;alice.michael@intel.com&gt;

Obtained from:	DPDK (4f675c9)

(cherry picked from commit 10746040820ee5186caf4d4d61cf88196ec213ba)
</pre>
</div>
</content>
</entry>
<entry>
<title>ixv: fix x550 VF link speed reported</title>
<updated>2024-09-26T03:28:30+00:00</updated>
<author>
<name>Piotr Skajewski</name>
<email>piotrx.skajewski@intel.com</email>
</author>
<published>2024-09-19T20:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cced5c203046549221e13eea66565bab1d11bae3'/>
<id>cced5c203046549221e13eea66565bab1d11bae3</id>
<content type='text'>
DPDK commit message

net/ixgbe/base: fix 5G link speed reported on VF
When 5000 Base-T was set on PF the VF reported 100 Base-T. This patch
changes ixgbe_check_mac_link_vf function where there was an incorrect
conditional which checks using PF mac types, now it is correctly
using VF mac types.

Fixes: 12e2090 ("net/ixgbe/base: include new speeds in VFLINK interpretation")
Cc: stable@dpdk.org

Signed-off-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Reviewed-by: Radoslaw Tyl &lt;radoslawx.tyl@intel.com&gt;
Reviewed-by: Slawomir Mrozowicz &lt;slawomirx.mrozowicz@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;

Obtained from:	DPDK (9eb7fdb)

(cherry picked from commit ab92cab02633580f763a38a329a5b25050bb4fbf)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DPDK commit message

net/ixgbe/base: fix 5G link speed reported on VF
When 5000 Base-T was set on PF the VF reported 100 Base-T. This patch
changes ixgbe_check_mac_link_vf function where there was an incorrect
conditional which checks using PF mac types, now it is correctly
using VF mac types.

Fixes: 12e2090 ("net/ixgbe/base: include new speeds in VFLINK interpretation")
Cc: stable@dpdk.org

Signed-off-by: Piotr Skajewski &lt;piotrx.skajewski@intel.com&gt;
Reviewed-by: Radoslaw Tyl &lt;radoslawx.tyl@intel.com&gt;
Reviewed-by: Slawomir Mrozowicz &lt;slawomirx.mrozowicz@intel.com&gt;
Reviewed-by: Alice Michael &lt;alice.michael@intel.com&gt;

Obtained from:	DPDK (9eb7fdb)

(cherry picked from commit ab92cab02633580f763a38a329a5b25050bb4fbf)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-16T17:54:24+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71625ec9ad2a9bc8c09784fbd23b759830e0ee5f'/>
<id>71625ec9ad2a9bc8c09784fbd23b759830e0ee5f</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>ixv(4): Allow PF to control the VF link state</title>
<updated>2022-03-04T18:53:07+00:00</updated>
<author>
<name>Piotr Pietruszewski</name>
<email>piotr.pietruszewski@intel.com</email>
</author>
<published>2022-03-04T18:33:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a3e719bbc21a56230a5b8adeb4c531a6dfb77940'/>
<id>a3e719bbc21a56230a5b8adeb4c531a6dfb77940</id>
<content type='text'>
This patch adds checks of a VF link state provided by PF via mailbox
API. Such change enables the PF to disable a VF administratively.

Since command needed by the PF to control the VF is introduced in
mailbox api version 1.2, this patch also bumps supported mailbox api
version to 1.2.

Co-authored-by: Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;

Reviewed By:	kbowling@
Tested by:	lukasz.szczepaniak@intel.com
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D32004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds checks of a VF link state provided by PF via mailbox
API. Such change enables the PF to disable a VF administratively.

Since command needed by the PF to control the VF is introduced in
mailbox api version 1.2, this patch also bumps supported mailbox api
version to 1.2.

Co-authored-by: Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;

Reviewed By:	kbowling@
Tested by:	lukasz.szczepaniak@intel.com
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D32004
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: Update shared code catchup</title>
<updated>2021-10-07T01:45:55+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-10-07T01:43:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f66b96d8658f8721e6b1c6f035611bec44675b9'/>
<id>3f66b96d8658f8721e6b1c6f035611bec44675b9</id>
<content type='text'>
Leftovers from DPDK sync

Reviewed by:	grehan
Obtained from:	DPDK
MFC after:	5 days
Differential Revision:	https://reviews.freebsd.org/D31621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leftovers from DPDK sync

Reviewed by:	grehan
Obtained from:	DPDK
MFC after:	5 days
Differential Revision:	https://reviews.freebsd.org/D31621
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: cleanup spelling mistakes in comments</title>
<updated>2021-09-07T04:17:19+00:00</updated>
<author>
<name>Guinan Sun</name>
<email>guinanx.sun@intel.com</email>
</author>
<published>2020-07-09T08:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=46981e903cf3e8e4a5bf7f6152f8ca5b92b37e07'/>
<id>46981e903cf3e8e4a5bf7f6152f8ca5b92b37e07</id>
<content type='text'>
Several functions in the driver code have a weird function comment
formatting which uses two spaces instead of only one space for the main
function body.

This formatting will be mechanically fixed by sed in a future patch, but
doing so leads to some spelling warnings on that patch. Cleanup the
spelling mistakes that will be detected first. This way, it is easier to
verify the mechanical transformation done by sed in the following patch.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: Guinan Sun &lt;guinanx.sun@intel.com&gt;
Reviewed-by: Wei Zhao &lt;wei.zhao1@intel.com&gt;

Approved by:	imp
Obtained from:	DPDK (fc75eee32037c1379e77e57031c1c353badd2272)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several functions in the driver code have a weird function comment
formatting which uses two spaces instead of only one space for the main
function body.

This formatting will be mechanically fixed by sed in a future patch, but
doing so leads to some spelling warnings on that patch. Cleanup the
spelling mistakes that will be detected first. This way, it is easier to
verify the mechanical transformation done by sed in the following patch.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: Guinan Sun &lt;guinanx.sun@intel.com&gt;
Reviewed-by: Wei Zhao &lt;wei.zhao1@intel.com&gt;

Approved by:	imp
Obtained from:	DPDK (fc75eee32037c1379e77e57031c1c353badd2272)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: remove whitespace in function comments</title>
<updated>2021-09-07T04:17:18+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-07T03:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cdc5e12a849871e4e8062a62a31f28545901d84'/>
<id>4cdc5e12a849871e4e8062a62a31f28545901d84</id>
<content type='text'>
Remove unnecessary extra whitespace on all function comments, replacing
' *  ' with ' * '.

This was done automatically via sed using the following transformation:

  sed 's/^ \*  / * /'

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: Guinan Sun &lt;guinanx.sun@intel.com&gt;
Reviewed-by: Wei Zhao &lt;wei.zhao1@intel.com&gt;

Approved by:	imp
Obtained from:	DPDK (40023f73c76579e58a859dab87b4c30278eb2e48)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnecessary extra whitespace on all function comments, replacing
' *  ' with ' * '.

This was done automatically via sed using the following transformation:

  sed 's/^ \*  / * /'

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: Guinan Sun &lt;guinanx.sun@intel.com&gt;
Reviewed-by: Wei Zhao &lt;wei.zhao1@intel.com&gt;

Approved by:	imp
Obtained from:	DPDK (40023f73c76579e58a859dab87b4c30278eb2e48)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</pre>
</div>
</content>
</entry>
<entry>
<title>ixgbe: Update copyright to 2020</title>
<updated>2021-09-07T03:13:28+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2021-09-07T03:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8455e365f77f5b66ac9521dbcd690f79345ce147'/>
<id>8455e365f77f5b66ac9521dbcd690f79345ce147</id>
<content type='text'>
Synced to the ixgbe shared code with DPDK shared code which has local
fixes on top of "not-released-cid-ixgbe.2020.06.09.tar.gz"

Approved by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Synced to the ixgbe shared code with DPDK shared code which has local
fixes on top of "not-released-cid-ixgbe.2020.06.09.tar.gz"

Approved by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
</pre>
</div>
</content>
</entry>
</feed>
