Page MenuHomeFreeBSD

ixgbe: Update shared code
ClosedPublic

Authored by kbowling on Aug 20 2021, 6:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 12:00 AM
Unknown Object (File)
Sat, Oct 19, 3:14 AM
Unknown Object (File)
Fri, Oct 18, 9:14 AM
Unknown Object (File)
Fri, Oct 18, 12:32 AM
Unknown Object (File)
Oct 4 2024, 8:29 PM
Unknown Object (File)
Oct 3 2024, 4:05 AM
Unknown Object (File)
Oct 2 2024, 4:03 AM
Unknown Object (File)
Oct 1 2024, 6:49 AM

Details

Reviewers
grehan
gallatin
piotr.pietruszewski_intel.com
Group Reviewers
Intel Networking
Commits
rG8d4cf1a63e1d: ixgbe: Update shared code catchup
rG88d064c12188: ixgbe: Update shared code catchup
rG3f66b96d8658: ixgbe: Update shared code catchup
rG479184c29752: ixgbe: cleanup spelling mistakes in comments
rGebb3327d09ce: ixgbe: increase the timeout
rG900b6eedcc7b: ixgbe: remove unnecessary return value check
rG74e5adf09fd3: ixgbe: create function to restart autoneg
rG7e7e6f8a5c94: ixgbe: remove whitespace in function comments
rGbd6a3f4c8087: ixgbe: add register definitions for NVM update
rG4cfdd23e189f: ixgbe: move increments after evaluations
rGcf5be37b79fc: ixgbe: support DCB registers dump
rG19902306444a: ixgbe: Update copyright to 2020
rG461f788cc7e0: ixgbe: remove dead code
rGd29834819db1: ixgbe: update X550 SFP identification
rGe713db6b8ec7: ixgbe: Use C99 bool types
rG321343a8b6bb: ixgbe: replace an operation in X550 setup
rG834bb5a365ec: ixgbe: add FW recovery mode check
rGec3b6870a3f1: ixgbe: add typecast for type mismatch
rG6d034e061a96: ixgbe: check host interface return status
rG419dafe93aac: ixgbe: wait for link after copper MAC setup
rG9e971c3f9ad4: ixgbe: initialize data field in struct buffer
rGb41dfee36aea: ixgbe: wait longer for link after fiber MAC setup
rG4cb3405226c4: ixgbe: fix maximum wait time in comment
rG8b6d4eea1b52: ixgbe: fix x550em 10G NIC link status
rG5da82378ecce: ixgbe: fix response to apply-update command
rG722894a2049e: ixgbe: fix host interface shadow RAM read
rG925f00e23ea7: ixgbe: improve log about autoneg being disabled
rG0a1ea6cebe9e: ixgbe: add IPv6 mask for flow director
rG71d226bbd9f4: ixgbe: fix infinite recursion on PCIe link down
rGfa82c3b5ce38: ixgbe: clear all queues on VF reset
rG538d7e8b1acb: ixgbe: increase the timeout
rG61bb00e52838: ixgbe: cleanup spelling mistakes in comments
rG04e5691087aa: ixgbe: remove unnecessary return value check
rGae1d4986a529: ixgbe: create function to restart autoneg
rG815ff2d81d0f: ixgbe: move increments after evaluations
rGb469839bfdd0: ixgbe: add register definitions for NVM update
rG48a64ffc0dc4: ixgbe: remove whitespace in function comments
rG32a190803cc7: ixgbe: support DCB registers dump
rGd255eb15652b: ixgbe: update X550 SFP identification
rG329dce3d69f3: ixgbe: Update copyright to 2020
rG3d6eccd7211a: ixgbe: remove dead code
rG1fe6bec929a1: ixgbe: replace an operation in X550 setup
rG163e29cec622: ixgbe: Use C99 bool types
rGde5fcf118ace: ixgbe: add FW recovery mode check
rGf554c144fbaf: ixgbe: add typecast for type mismatch
rGb8f2ff6a43e3: ixgbe: wait for link after copper MAC setup
rG31b67f9a10df: ixgbe: check host interface return status
rGee690406343d: ixgbe: initialize data field in struct buffer
rG6cd58ec39351: ixgbe: fix x550em 10G NIC link status
rG2e6fe4187335: ixgbe: fix maximum wait time in comment
rG038c4f3f3fcc: ixgbe: wait longer for link after fiber MAC setup
rGba1995e65ce1: ixgbe: fix host interface shadow RAM read
rG388fa55dcf89: ixgbe: fix response to apply-update command
rG6bf001dfe549: ixgbe: improve log about autoneg being disabled
rG5755b5594be5: ixgbe: add IPv6 mask for flow director
rGd357a27643af: ixgbe: fix infinite recursion on PCIe link down
rGdf57aa230c7f: ixgbe: clear all queues on VF reset
rG5fd1f4be8d81: ixgbe: increase the timeout
rG46981e903cf3: ixgbe: cleanup spelling mistakes in comments
rG3a89005394bc: ixgbe: remove unnecessary return value check
rG80a39a2bda82: ixgbe: create function to restart autoneg
rGff8db817abbd: ixgbe: add register definitions for NVM update
rGdc11ba4eb3fe: ixgbe: move increments after evaluations
rG4cdc5e12a849: ixgbe: remove whitespace in function comments
rG9e65ae746da2: ixgbe: support DCB registers dump
rG0a4f0befab9d: ixgbe: update X550 SFP identification
rG8455e365f77f: ixgbe: Update copyright to 2020
rG0b487fb4547a: ixgbe: remove dead code
rGc85b6f2901e7: ixgbe: replace an operation in X550 setup
rG79b36ec91dec: ixgbe: Use C99 bool types
rGb622bdb4ebdf: ixgbe: add FW recovery mode check
rG994dd6328c66: ixgbe: add typecast for type mismatch
rGd5bbb5500cf2: ixgbe: wait for link after copper MAC setup
rGc1a56b6f5ffd: ixgbe: check host interface return status
rGb3ebe337ffa0: ixgbe: initialize data field in struct buffer
rG8e9f1b239dc0: ixgbe: fix x550em 10G NIC link status
rG96ef6eb3ae9d: ixgbe: fix maximum wait time in comment
rGaaa3af802f90: ixgbe: wait longer for link after fiber MAC setup
rG31a23e3eb531: ixgbe: fix host interface shadow RAM read
rGc966c431c764: ixgbe: fix response to apply-update command
rGf511cd22586a: ixgbe: improve log about autoneg being disabled
rGc4f73d5d6a6c: ixgbe: add IPv6 mask for flow director
rG8270b7174c48: ixgbe: fix infinite recursion on PCIe link down
rG7165504a1768: ixgbe: clear all queues on VF reset
Summary

Sync the ixgbe shared code with DPDK shared code which has local fixes. Some judgement was applied during the merge, there are some features DPDK disabled (2.5G and 5G autoneg due to interop issues), and we support bypass adapters.

"not-released-cid-ixgbe.2020.06.09.tar.gz"

Obtained from: DPDK http://git.dpdk.org/dpdk/tree/drivers/net/ixgbe/base

Test Plan

Testing on x550em (Xeon-D)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Update with remaining catch-up diff

@imp For posterity, the way I generated the patches.. @erj maybe the DPDK team can use a method like this too so we stay in lockstep

Generate a patch file from the DPDK git repo:

git format-patch -1 <commit sha>

Merge it in the FreeBSD src git repo:

git am -p5 --reject --directory sys/dev/ixgbe ~/c/os/dpdk/drivers/net/ixgbe/base/0001-net-ixgbe-base-increase-the-timeout.patch

# If I need to fix it up, hack hack
git add <file>
git am --continue

Edit the commit message to include FreeBSD metadata:

git commit --amend
This revision was not accepted when it landed; it landed in state Needs Review.Sep 14 2021, 12:41 AM
This revision was automatically updated to reflect the committed changes.
kbowling updated this revision to Diff 95140.

I'd like to commit this on the 27th (2 week feedback window) if there is no other discussion.

This revision is now accepted and ready to land.Oct 7 2021, 1:37 AM