| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue Description:
The RequestCredits field of IOCFacts got changed between the Phase23
firmware to Phase24 firmware. So as part of firmware update operation,
driver has to free the resources & pools which are created with the Phase23
Firmware's IOCFacts data (i.e. during driver load time) and has to
reallocate the resources and pools using Phase24's IOCFacts data. Here
driver has freed the interrupts but missed to reallocate the interrupts and
hence config page read operation is getting timed out and controller is
going for recursive reinit (controller reset) operations and leading to
kernel panic.
Fix:
Reallocate the interrupts if the interrupts are disabled as part of
firmware update/downgrade operation.
Submitted by: Sreekanth Ready <sreekanth.reddy@broadcom.com>
Tested by: ken
MFC after: 3 days
(cherry picked from commit 11778fca4a83f5e3b597c75785aa5c0ee0dc518e)
|
| |
|
|
|
|
| |
MFC after: 2 weeks
(cherry picked from commit e4e91353c62e2af425061a4e56e1f24dcca2dd0f)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hw and ifp of a vsi will be NULL if such ixl_vsi is allocated
for a VF. When ixl_reconfigure_filters called, it is trying to
access vsi->ifp and hw->mac.addr and therefore is casuing panic.
This commit add checks to determine if vsi is a VF by checking
if vsi->hw is NULL, before adding IXL_VLAN_ANY filter (which
is already in a VF vsi's filter list) and VLAN filters.
(erj's Note: The SR-IOV flows need revisiting; this will help
prevent panics for now)
Reviewed by: krzysztof.galazka@intel.com, erj@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35649
(cherry picked from commit e706512a2b64fa2741144caf056c9fe923b60004)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Intel introduces a new line of 1G Ethernet adapters
with Device ID 0x0DD2. While at that also remove
non-inclusive language.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: kbowling@
Tested by: gowtham.kumar.ks@intel.com
MFC after: 1 week
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34924
(cherry picked from commit b7b40e4a38d8521a40494d868d0870dfb9d6d77d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows the "irdma" driver to communicate with the ice(4)
driver to allow it access to the underlying device's hardware
resources as well as synchronize access to shared resources.
This interface already existed in the standalone out-of-tree
1.34.2 driver; this commit adds and enables it in the in-kernel
driver.
Note:
Adds hack to module Makefile to compile interface/.m files
These are required for the RDMA client interface, but they don't
build as-is like the normal .c files. The source directory doesn't
seem to be included by default, so add lines that specifically
add them as libraries so that ice_rdma.h can be found and the
interface files will compile.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D30889
(cherry picked from commit 8a13362d49bf07dfc654e25976d057adbe0ac9c1)
(cherry picked from commit d8cce8145c39812cc31b50070c44d66ca21a5127)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change enables the user to control 2.5G and 5G autonegotiation
speeds via advertise_speed sysctl for X550T devices. Due to reported
interoperability issues with switches, 2.5G and 5G speeds will not be
advertised by default.
Signed-off-by: Piotr Pietruszewski <piotr.pietruszewski@intel.com>
Co-authored-by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Tested by: gowtham.kumar.ks@intel.com
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D26245
(cherry picked from commit d381c807510de2ebb453a563540bd17e344a2aab)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <krzysztof.galazka@intel.com>
Reviewed By: kbowling@
Tested by: lukasz.szczepaniak@intel.com
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D32004
(cherry picked from commit a3e719bbc21a56230a5b8adeb4c531a6dfb77940)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds FW logging support
- Once enabled, this lets the firmware print event and error messages
to the log, increasing the visibility into what the hardware is
doing; this is useful for debugging
- General bug fixes
- Adds initial DCB support to the driver
- Notably, this adds support for DCBX to the driver; now with the
fw_lldp sysctl set to 1, the driver and adapter will adopt a DCBX
configuration sent from a link partner
- Adds statistcs sysctls for priority flow control frames
- Adds new configuration sysctls for DCB-related features: (VLAN) user
priority to TC mapping; ETS bandwidth allocation; priority flow
control
- Remove unused SR-IOV files (until support gets added)
(MFC node: This adds support for E82x devices (codename Columbia Park)
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Tested by: jeffrey.e.pieper@intel.com
MFC with: 213e91399b, e438f0a975
Relnotes: yes
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34024
(cherry picked from commit 56429daea255fa719169bb23ded66f8edb6f5408)
(cherry picked from commit 61d83041ab111fe491409f2eca2b528108b9ec29)
|
| |
|
|
|
|
|
|
|
|
|
| |
Since FreeBSD 12.4 is missing functions found in newer versions,
replace some of the usages of missing ones with implementations
that work for 12.4.
This is a direct commit to stable/12; this fix isn't necessary on
newer branches.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
|
| |
|
|
|
|
|
|
| |
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Sponsored by: Intel Corporation
(cherry picked from commit 0e8181c01237141ed94d2efbb5b7efae39e6232e)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Since iavf(4) no longer shares code with ixl(4) as of commit
f2fbd56a8d07665bc0a5e8b7e40026b50a591e2a and now has its own directory,
remove these now-unused iavf(4)-only files.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28638
(cherry picked from commit 409b36ad911d0a12a45c1488369b458965691379)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The iavf(4) driver now uses a different source base from ixl(4), since
it will be the standard VF driver for new Intel Ethernet products going
forward, including ice(4). It continues to use the iflib framework
for network drivers.
Since it now uses a different source code base, this commit adds a new
sys/dev/iavf entry, but it re-uses the existing module name so no
configuration changes are necessary.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: kbowling@
Tested by: lukasz.szczepaniak@intel.com
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28636
(cherry picked from commit ca853dee3b8f26f53d48d685f32ec0b8396369e8)
(cherry picked from commit 5577aa338a675f2a465a58356894fbe24ba20407)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes various feature improvements and bug fixes.
Notable changes include:
- Link management flow changes
- New sysctl to report aggregated error counts
- Health Status Event reporting from firmware (Use the new read-only
tunables hw.ice.enable_health_events / dev.ice.#.enable_health_events
to turn this off)
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Sponsored by: Intel Corporation
(cherry picked from commit 9cf1841c4aaf8fbab06132ab9f76094f34ad7c7b)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
X700 family of controllers has limited number of available VLAN
HW filters. Driver did not handle properly a case when user
assigned more VLANs to the interface which had all filters
already in use. Fix that by disabling HW filtering when
it is impossible to create filters for all requested VLANs.
Keep track of registered VLANs using bitstring to be able
to re-enable HW filtering when number of requested VLANs
drops below the limit.
Also switch all allocations to use M_IXL malloc type
to ease detecting memory leaks in the driver.
Reviewed by: erj
Tested by: gowtham.kumar.ks@intel.com
Differential Revision: https://reviews.freebsd.org/D28137
(cherry picked from commit 7d4dceec103039e2b2fa90793ceeb71a8d6684aa)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adapt 2796f7cab10785ef40efbba97ef67ab319c96e9c to igc(4)
* Don't reset the entire adapter for vlan changes, fix up the problems
* Remove the VFTA, this hardware doesn't seem to implement it
Approved by: grehan
Differential Revision: https://reviews.freebsd.org/D31979
(cherry picked from commit 2eaef8ec4af1f7576a1444180020e23d2e142107)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I225 devices have only one PHY vendor. There is unnecessary to check
_I_PHY_ID during the link establishment and auto-negotiation process,
the checking also caused devices like i225-IT failed. This patch is to
remove the mentioned unnecessary checking.
Cc: stable@dpdk.org
Signed-off-by: Mah Yock Gen <yock.gen.mah@intel.com>
Signed-off-by: Taripin Samuel <samuel.taripin@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Approved by: grehan
Differential Revision: https://reviews.freebsd.org/D36923
(cherry picked from commit 29d7f1ff579579711dd5a3325480728b8ed45f8c)
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 9ab4dfce8feda8cf3545be0c3c7569095b1fcd24.
OPNsense users have reported a regression with fixed configs.
The e1000 api is not ready for this change.
(cherry picked from commit 66dad2db0a484d65df331df76db0b68ef518f4db)
|
| |
|
|
|
|
| |
- s/paramters/parameters/
(cherry picked from commit a5c1b9e3322a5124cea173d428e65ddefa5ebb5f)
|
| |
|
|
|
|
|
|
|
| |
Otherwise, we'll trigger a DMA write error and render the device
unusable.
Obtained from: OpenBSD (via Haiku, waddlesplash)
(cherry picked from commit 8cdb6b2dd78793628d7c36198598c85741e44119)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It was observed that on RockPro64 hardware, the dwc interface is unable
to receive packets after being assigned a new MAC address. The fix is
simply to call mii_mediachg() before touching any device registers in
dwc_init_locked(). This is consistent with what the OpenBSD driver does.
PR: 263820
MFC after: 1 week
(cherry picked from commit 6501fcdc0a97faa3c59f6ece314bf7754303db6f)
|
| |
|
|
|
|
| |
- s/to to/to/
(cherry picked from commit 13604a80f7a4b0dbb2594482e233baa3f3926523)
|
| |
|
|
|
|
| |
- s/to to/to/
(cherry picked from commit eb2f7d9a5a61588e4a218a5636cab5dd9fb8bfba)
|
| |
|
|
|
|
| |
- s/to to/to/
(cherry picked from commit a5beac3992fb874e57768b3c8d852a806bcb8b21)
|
| |
|
|
|
|
|
|
| |
- s/that that/that/
MFC after: 3 days
(cherry picked from commit dfd3777085503a215632b003e917afd73e070a9a)
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 8ca67bf1273a5168f8a3787183159c477632e582.
The original comment was correct; changing it loses a key part.
Reported by: jrtc27
(cherry picked from commit 94466c432ed611a49cacae7ff99b224b37c906bb)
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D36483
(cherry picked from commit c4e591c9abc90749f91774fda77a1a5f7ee7dad1)
|
| |
|
|
|
|
|
|
|
|
|
| |
This is based off the Linux file sound/hda/intel-dsp-config.c.
Reviewed by: imp (src)
Tested on: HP Spectre x360 16-f0023dx
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D36476
(cherry picked from commit 22ecfc580b4834e3e9871944de62ce0c5ff0cd38)
|
| |
|
|
|
|
| |
- s/settting/setting/
(cherry picked from commit dc79640e92197b3d55174824891243dbb03e4f01)
|
| |
|
|
|
|
| |
- s/ouput/output
(cherry picked from commit e1a40dd29427af594a733fcad7553145b4f5a7a7)
|
| |
|
|
|
|
| |
- s/the the/the/
(cherry picked from commit 26d6e38604494539ee96935e9fd6cfa1341bf6e2)
|
| |
|
|
|
|
| |
- s/that that/that/
(cherry picked from commit 8ca67bf1273a5168f8a3787183159c477632e582)
|
| |
|
|
|
|
| |
- s/occured/occurred/
(cherry picked from commit f2e13c27bbd1c2d385a572e97cc19ba122b74986)
|
| |
|
|
|
|
| |
- s/the the/the/
(cherry picked from commit d6f9a3c0a8b11fa0e26e364266e37805ca1dcca2)
|
| |
|
|
|
|
| |
- s/the the/the/
(cherry picked from commit 2f9de90b22a6478752534eb5b772d2c1d134b309)
|
| |
|
|
|
|
| |
- s/the the/the/
(cherry picked from commit 591a9b5ea339feda45cd0dafaac4b581495a57d2)
|
| |
|
|
|
|
| |
- s/that that/that the/
(cherry picked from commit 6e9e7b0583593a8e45a3e97458c7a74fee4d43bf)
|
| |
|
|
|
|
|
|
| |
- s/occured/occurred/
While here, fix some whitespace issues.
(cherry picked from commit 88cdf609e411a1ba398e9e3e93ad82345ad8b516)
|
| |
|
|
|
|
| |
- s/Unsupport/Unsupported/
(cherry picked from commit 630c51774523274cb3f616aefd0be7b747dca991)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some controllers like the XHCI(4) loose track of the data toggle value when
USB receive transfers are cancelled at close. This in turn can lead to to
data loss after the next open.
To avoid data loss, make sure both the receive and transmit data toggles
get reset, before trying to read or write any data.
Differential Revision: https://reviews.freebsd.org/D36391
Submitted by: Dave Baukus <daveb@spectralogic.com>
Sponsored by: NVIDIA Networking
(cherry picked from commit 40e43b056df9aa2392f673fcacc72725c2201658)
|
| |
|
|
|
|
|
|
|
|
| |
To avoid issues starting any USB transfers before the open
function is complete.
Differential Revision: https://reviews.freebsd.org/D36391
Sponsored by: NVIDIA Networking
(cherry picked from commit cbc5350359b9be916cc0dc1986147013c6f90483)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit d0ddb5aacabab2cc5bbfbd18c3f07507b6acdb92)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit cc280cac3478d39a5231aec06d50ebd27b2aa1bb)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit ac34f366cc8186ec747248f31079838699b389a6)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit f93ef3ff068c96062fadd503979473fe1b1db139)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit 05e1ac3cbfedf12e4b7a41729ad2ff6e748983a1)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit ddf38e0204f8146709d3a278520873a68d1802a4)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit 310d144a83411abedc17bfeec07f1f7ccee2434e)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit 6b497700885b21106235a1ee7bfd31194e4ca42b)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit f9a9fe46dc3ed37c9b44cd2b6561b324819fa81e)
|
| |
|
|
|
|
| |
- s/overriden/overridden/
(cherry picked from commit de47bf0d52a0dd2cfcb19a8b49a55253945342ca)
|