#
c58d34dd |
| 24-Nov-2024 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: Style pass on FreeBSD part of driver
Fix up some indentation and reflow long lines
MFC after: 3 days Sponsored by: BBOX.io
|
#
eea2e089 |
| 21-Nov-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
ixgbe: sysctl for TCP flag handling during TSO
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 o
ixgbe: sysctl for TCP flag handling during TSO
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 fix the masks appropriate for classical ECN and to configure appropriate masks for accurate ECN.
Michael notes emperically 82599 has an unexpected middle mask: Chip First Middle Last 82599 0xFF6 0xFF6 0xF7F
which should be fixed up to 0xF76 (RFC 3168) in a future commit.
Reviewed by: rrs, rscheff MFC after: 3 days Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D44258
show more ...
|
#
48ddd1b9 |
| 14-Nov-2024 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: Add support for 1Gbit DAC links
This is a relatively well known trick for the X520 (82599), can be useful for testing and lab settings. It's not an official standard or particularly common b
ixgbe: Add support for 1Gbit DAC links
This is a relatively well known trick for the X520 (82599), can be useful for testing and lab settings. It's not an official standard or particularly common but ubiquitous Broadcom switch ASICs deal with it.
We'll call it 1000Base-KX because it's SerDes on the passive cable and I don't think it's worth adding another media type for this.
Reviewed by: emaste MFC after: 1 week Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D47352
show more ...
|
#
a924b5ee |
| 21-Sep-2024 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: fix fw_recovery_mode callout
Need to pass the softc in with the callout arg
MFC after: 1 week
|
#
f72de14e |
| 21-Sep-2024 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes
MFC after: 1 week
|
#
7234c309 |
| 20-Sep-2024 |
Jakub Chylkowski <jakubx.chylkowski@intel.com> |
ixgbe: introduce new mailbox API
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 m
ixgbe: introduce new mailbox API
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 <jakubx.chylkowski@intel.com> Reviewed-by: Alice Michael <alice.michael@intel.com> Reviewed-by: Piotr Pietruszewski <piotr.pietruszewski@intel.com> Tested-by: Alice Michael <alice.michael@intel.com> Tested-by: Piotr Skajewski <piotrx.skajewski@intel.com>
Obtained from: DPDK (6d243d2) MFC after: 1 week
Reapply message
This reverts commit d80c12ba682a6f23791f3d6e657f9e603b152aa2.
show more ...
|
#
d80c12ba |
| 20-Sep-2024 |
Kevin Bowling <kbowling@FreeBSD.org> |
Revert "ixgbe: introduce new mailbox API"
This is missing the ixgbe_mbx.h changes, revert so it can be committed atomically.
This reverts commit 68ba3eabd4869577bf11c03a6ec6f472502be07d.
|
#
68ba3eab |
| 20-Sep-2024 |
Jakub Chylkowski <jakubx.chylkowski@intel.com> |
ixgbe: introduce new mailbox API
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 m
ixgbe: introduce new mailbox API
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 <jakubx.chylkowski@intel.com> Reviewed-by: Alice Michael <alice.michael@intel.com> Reviewed-by: Piotr Pietruszewski <piotr.pietruszewski@intel.com> Tested-by: Alice Michael <alice.michael@intel.com> Tested-by: Piotr Skajewski <piotrx.skajewski@intel.com>
Obtained from: DPDK (6d243d2) MFC after: 1 week
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
725e4008 |
| 24-Aug-2023 |
Kevin Bowling <kbowling@FreeBSD.org> |
iflib: invert default restart on VLAN changes
In rS360398, a new iflib device method was added to opt out of VLAN events needing an interface reset.
I am switching the default to not requiring a re
iflib: invert default restart on VLAN changes
In rS360398, a new iflib device method was added to opt out of VLAN events needing an interface reset.
I am switching the default to not requiring a restart for: * VLAN events * unknown events
After fixing various bugs, I do not think this would be a common need of hardware and it is undesirable from the user's perspective causing link flaps and much slower VLAN configuration. Currently, there are no other restart events besides VLAN events, and setting the ifdi_needs_restart default to false will alleviate the need to churn every driver if an odd event is added in the future for specific hardware.
markj points out this could cause churn in the other direction; I will solve that problem with an event registration system as he mentions in the review should we need it in the future.
These drivers will opt into restart and need further inspection or work: * ixv (needs code audit, 61a8231 fixed principal issue; re-init probably not necessary) * axgbe (needs code audit; re-init probably not necessary) * iavf - (needs code audit; interaction with Malicious Driver Detection mentioned in rS360398) * mgb - no VLAN functions are currently implemented. Left a comment.
MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D41558
show more ...
|
#
51e23514 |
| 16-Aug-2023 |
Marius Strobl <marius@FreeBSD.org> |
iflib drivers: Constify PCI ID LUTs
Since d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is ready for this change. While at it, make isc_driver_version strings (static) const where not apparentl
iflib drivers: Constify PCI ID LUTs
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.
show more ...
|
#
71625ec9 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
73fa89e0 |
| 10-Aug-2023 |
Piotr Pietruszewski <piotr.pietruszewski@intel.com> |
ix: Fix accessing wrong register
Use IXGBE_GRC_BY_MAC(hw) macro instead of IXGBE_GRC as IXGBE_GRC's address is different on Denverton platform.
This patch is part of change made in NetBSD kernel by
ix: Fix accessing wrong register
Use IXGBE_GRC_BY_MAC(hw) macro instead of IXGBE_GRC as IXGBE_GRC's address is different on Denverton platform.
This patch is part of change made in NetBSD kernel by Masanobu Saitoh, NetBSD maintainer.
Differential Revision: https://reviews.freebsd.org/D19175 Approved by: erj
show more ...
|
#
9228ac3a |
| 10-Aug-2023 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: Add support for 82599 LS
Obtained from: DPDK 549ccd3dc01539e060597b503f2b65b272de3347 MFC after: 1 week
|
#
8b4a3fbd |
| 10-Aug-2023 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: Check for fw_recovery
The x550 uses an upgradable flash code. Check for recovery condition like other flashable intel cards do in case of fw errors.
MFC after: 1 week Differential Revision:
ixgbe: Check for fw_recovery
The x550 uses an upgradable flash code. Check for recovery condition like other flashable intel cards do in case of fw errors.
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31869
show more ...
|
#
5ddb1aa3 |
| 11-Jul-2023 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
ix, ixv: fix kernel build
struct adapter was renamed to struct sc.
Reported by: FreeBSD User <freebsd@walstatt-de.de>
|
#
6ad2a9a6 |
| 11-Jul-2023 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
ix: remove stale comment
Reported by: Navdeep Parhar
|
#
a0302c92 |
| 11-Jul-2023 |
Piotr Pietruszewski <piotr.pietruszewski@intel.com> |
ix, ixv: Update link status with autonegotiated baudrate value
Use autonegotiated link speed value while updating link status to iflib.
This patch is part of change made in NetBSD kernel by Masanob
ix, ixv: Update link status with autonegotiated baudrate value
Use autonegotiated link speed value while updating link status to iflib.
This patch is part of change made in NetBSD kernel by Masanobu Saitoh, NetBSD maintainer.
Differential Revision: https://reviews.freebsd.org/D19176 Approved by: erj
show more ...
|
#
156424fc |
| 25-May-2023 |
Przemyslaw Lewandowski <przemyslawx.lewandowski@intel.com> |
ixgbe: Change if condition for RSS and rxcsum
This patch fixes TCP connection hangs for 1 rxq and 1 txq without rxcsum enabled. Documentation for 10G cards and other drivers suggest enabling rxcsum
ixgbe: Change if condition for RSS and rxcsum
This patch fixes TCP connection hangs for 1 rxq and 1 txq without rxcsum enabled. Documentation for 10G cards and other drivers suggest enabling rxcsum for RSS and disabling otherwise. When PCSD bit is not set then fragment checksum and IP identification are reported in the rx descriptor. When PCSD bit is set then RSS hash value is reported in the rx descriptor. RSS and RX IPP checksum are mutually exclusive.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
PR: 268910 Reviewed by: erj@ Tested by: jeffrey.e.pieper@intel.com MFC after: 1 week Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D38621
show more ...
|
Revision tags: release/13.2.0 |
|
#
8de48df3 |
| 02-Feb-2023 |
Andrew Gallatin <gallatin@FreeBSD.org> |
ixgbe: Do not count L3/L4 checksum errors as input errors
NIC input errors have traditionally indicated problems at the link level (crc errors, runts, etc). People tend to build monitoring infrastr
ixgbe: Do not count L3/L4 checksum errors as input errors
NIC input errors have traditionally indicated problems at the link level (crc errors, runts, etc). People tend to build monitoring infrastructure around such errors in order to monitor for bad network hardware. When L3/L4 checksum errors are included in the category of input errors, it breaks such monitoring, as these errors can originate anywhere on the internet, and do not necessarily indicate faulty local network hardware.
Reviewed by: erj, glebius Differential Revision: https://reviews.freebsd.org/D38346 Sponsored by: Netflix
show more ...
|
Revision tags: release/12.4.0 |
|
#
ff06a8db |
| 20-Aug-2022 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Mechanically convert ixgbe(4) to IfAPI
Reviewed by: erj Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37845
|
#
8526120a |
| 10-Nov-2022 |
Andrey V. Elsukov <ae@FreeBSD.org> |
ixgbe: workaround errata about UDP frames with zero checksum
Intel 82599 has errata related to IPv4 UDP frames with zero checksum. It reports such datagrams with L4 integrity errors in IXGBE_XEC reg
ixgbe: workaround errata about UDP frames with zero checksum
Intel 82599 has errata related to IPv4 UDP frames with zero checksum. It reports such datagrams with L4 integrity errors in IXGBE_XEC register. And after afb1aa4e6df2 commit such errors are reported via IFCOUNTER_IERRORS. This confuses users, since actually all frames are handled correctly by the system. To workaround the problem, let's ignore the XEC register value for 82599 cards for now.
PR: 266048 Discussed with: erj MFC after: 1 week Sponsored by: Yandex LLC
show more ...
|
#
e7abb897 |
| 11-Aug-2022 |
Kristof Provost <kp@FreeBSD.org> |
ixgbe: fix software vlan handling
If hardware vlan tagging is disabled (after a vlan has been added) we receive double-tagged packets, even if the packet on the wire only has a
single VLAN tag. Th
ixgbe: fix software vlan handling
If hardware vlan tagging is disabled (after a vlan has been added) we receive double-tagged packets, even if the packet on the wire only has a
single VLAN tag. That looks like this:
17:29:30.370787 00:51:82:11:22:02 > 90:ec:77:1f:8a:5f, ethertype 802.1Q (0x8100), length 64: vlan 0, p 0, ethertype 802.1Q, vlan 1001, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.101.0.12 is-at 00:51:82:11:22:02, length 42
This happens because the ixgbe driver does not clear the vlan flags in the hardware (such as IXGBE_RXDCTL_VME) if IFCAP_VLAN_HWTAGGING is cleared.
Add code to do so, which fixes this issue.
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D36139
show more ...
|
#
4f1d91e4 |
| 22-Jun-2022 |
Neel Chauhan <nc@FreeBSD.org> |
if_ix: Reset on an ECC error
This mirrors the Linux behavior as seen in the kernel commit d773ce2.
Reviewed by: kbowling MFH after: 3 days Differential Revision: https://reviews.freebsd.org/D35542
|
Revision tags: release/13.1.0 |
|
#
964c2b3a |
| 20-Apr-2022 |
John Baldwin <jhb@FreeBSD.org> |
ix/ixv: Remove unused devclass arguments to DRIVER_MODULE.
|
#
395cc55d |
| 13-Apr-2022 |
Kevin Bowling <kbowling@FreeBSD.org> |
ixgbe: Update mc filter before FCTRL flags
Update mc filter array before changing FCTRL flags, similar to 5a3eb6207a35
Approved by: grehan MFC after: 2 weeks
|