Messages in this thread | | | Subject | Re: [PATCH net-next v2] bnxt_en: Allow to set switchdev mode without existing VFs | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 13 Apr 2023 09:20:16 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <pabeni@redhat.com>:
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
| |