Re: [PATCH net-next v2] bnxt_en: Allow to set switchdev mode without existing VFs

From: patchwork-bot+netdevbpf
Date: Thu Apr 13 2023 - 05:20:22 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 11 Apr 2023 14:04:42 +0200 you wrote:
> Remove an inability of bnxt_en driver to set eswitch to switchdev
> mode without existing VFs by:
>
> 1. Allow to set switchdev mode in bnxt_dl_eswitch_mode_set() so
> representors are created only when num_vfs > 0 otherwise just
> set bp->eswitch_mode
> 2. Do not automatically change bp->eswitch_mode during
> bnxt_vf_reps_create() and bnxt_vf_reps_destroy() calls so
> the eswitch mode is managed only by an user by devlink.
> Just set temporarily bp->eswitch_mode to legacy to avoid
> re-opening of representors during destroy.
> 3. Create representors in bnxt_sriov_enable() if current eswitch
> mode is switchdev one
>
> [...]

Here is the summary with links:
- [net-next,v2] bnxt_en: Allow to set switchdev mode without existing VFs
https://git.kernel.org/netdev/net-next/c/f032d8a9c8b3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html