[PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU
Ferruh Yigit
ferruh.yigit at amd.com
Sun Jul 21 23:24:59 CEST 2024
On 7/18/2024 8:35 PM, longli at linuxonhyperv.com wrote:
> From: Stephen Hemminger <stephen at networkplumber.org>
>
> The current code uses unnecessary locking to set VF MTU, resulting in
> deadlock on hot add/remove path. Fix this by using rte_eth_dev_set_mtu()
> to set VF MTU.
>
> Fixes: 45c83603087e ("net/netvsc: support MTU set")
> Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Signed-off-by: Long Li <longli at microsoft.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list