Message ID | 20210407040620.96841-2-saeed@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1a73704c82ed4ee95532ac04645d02075bd1ce3d |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/5] net/mlx5: Fix HW spec violation configuring uplink | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Pull request |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | fail | 3 blamed authors not CCed: moshe@mellanox.com roid@mellanox.com rondi@mellanox.com; 5 maintainers not CCed: roid@mellanox.com moshe@mellanox.com leon@kernel.org rondi@mellanox.com linux-rdma@vger.kernel.org |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | warning | WARNING: line length of 81 exceeds 80 columns WARNING: line length of 83 exceeds 80 columns |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
Hello: This series was applied to netdev/net.git (refs/heads/master): On Tue, 6 Apr 2021 21:06:16 -0700 you wrote: > From: Eli Cohen <elic@nvidia.com> > > Make sure to modify uplink port to follow only if the uplink_follow > capability is set as required by the HW spec. Failure to do so causes > traffic to the uplink representor net device to cease after switching to > switchdev mode. > > [...] Here is the summary with links: - [net,1/5] net/mlx5: Fix HW spec violation configuring uplink https://git.kernel.org/netdev/net/c/1a73704c82ed - [net,2/5] net/mlx5: Fix placement of log_max_flow_counter https://git.kernel.org/netdev/net/c/a14587dfc5ad - [net,3/5] net/mlx5: Fix PPLM register mapping https://git.kernel.org/netdev/net/c/ce28f0fd670d - [net,4/5] net/mlx5: Fix PBMC register mapping https://git.kernel.org/netdev/net/c/534b1204ca46 - [net,5/5] net/mlx5: fix kfree mismatch in indir_table.c https://git.kernel.org/netdev/net/c/d5f9b005c306 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c index a132fff7a980..8d39bfee84a9 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c @@ -1107,8 +1107,9 @@ static void mlx5e_uplink_rep_enable(struct mlx5e_priv *priv) mlx5e_rep_tc_enable(priv); - mlx5_modify_vport_admin_state(mdev, MLX5_VPORT_STATE_OP_MOD_UPLINK, - 0, 0, MLX5_VPORT_ADMIN_STATE_AUTO); + if (MLX5_CAP_GEN(mdev, uplink_follow)) + mlx5_modify_vport_admin_state(mdev, MLX5_VPORT_STATE_OP_MOD_UPLINK, + 0, 0, MLX5_VPORT_ADMIN_STATE_AUTO); mlx5_lag_add(mdev, netdev); priv->events_nb.notifier_call = uplink_rep_async_event; mlx5_notifier_register(mdev, &priv->events_nb);