APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: mlxbf_gige: syncup with v1.21 content
Tim Gardner
tim.gardner at canonical.com
Fri May 7 18:47:35 UTC 2021
Applied to focal:bluefield/master-next. Thanks.
-rtg
On 5/4/21 1:22 PM, David Thompson wrote:
> BugLink: https://bugs.launchpad.net/bugs/1927134
>
> The Mellanox BlueField Gigabit ethernet driver (mlxbf_gige) is out of date.
> There have been changes internal to Mellanox/Nvidia that need to be shared
> with the Canonical repo:
> a) v1.20 changes - properly handle negotiated pause settings
> b) v1.21 changes - modify copyright notice from Nvidia back to Mellanox
>
> SRU Justification:
>
> [Impact]
> * The output of "ethtool -a oob_net0" will be incorrect.
>
> [Fix]
> * This delivery updates the logic in mlxbf_gige_adjust_link()
> to store the negotiated pause settings into the driver's
> private settings. The pause settings, as reported by the
> PHY device when link comes up, are thereafter returned in
> the get_pauseparam() driver callback.
>
> [Test Case]
> * After booting platform, verify dmesg from mlxbf_gige driver as such:
> mlxbf_gige MLNXBF17:00 oob_net0: Link is Up - 1Gbps/Full - flow control rx/tx
> * Execute the command "ethtool -a oob_net0" when link is up for different
> peer configurations (RX / TX pause negotiate enabled or not)
>
> [Regression Potential]
> * There is low potential for this change to create any regression
>
> [Other]
> * The copyright notices have been updated per legal guidance
>
> David Thompson (1):
> UBUNTU: SAUCE: mlxbf_gige: syncup with v1.21 content
>
> .../net/ethernet/mellanox/mlxbf_gige/mlxbf_gige.h | 2 +-
> .../mellanox/mlxbf_gige/mlxbf_gige_ethtool.c | 6 +--
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_intr.c | 2 +-
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 51 ++++++++++++++--------
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_mdio.c | 2 +-
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h | 2 +-
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_rx.c | 2 +-
> .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_tx.c | 2 +-
> 8 files changed, 41 insertions(+), 28 deletions(-)
>
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list