Re: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU

2024-07-21 Thread Ferruh Yigit
On 7/18/2024 8:35 PM, lon...@linuxonhyperv.com wrote: > From: Stephen Hemminger > > 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

Re: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU

2024-07-21 Thread Ferruh Yigit
On 7/19/2024 10:20 PM, Stephen Hemminger wrote: > On Fri, 19 Jul 2024 21:39:04 +0100 > Ferruh Yigit wrote: > >>> --- a/drivers/net/netvsc/hn_vf.c >>> +++ b/drivers/net/netvsc/hn_vf.c >>> @@ -264,7 +264,7 @@ int hn_vf_add(struct rte_eth_dev *dev, struct hn_data >>> *hv) >>> go

Re: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU

2024-07-19 Thread Ferruh Yigit
On 7/18/2024 8:35 PM, lon...@linuxonhyperv.com wrote: > From: Stephen Hemminger > > 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. > > Signed-off-by: Stephen Hemminger > > Fixes:

RE: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU

2024-07-18 Thread Wei Hu
> Subject: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU > > From: Stephen Hemminger > > 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. > > Signed-off-by: Stephen Hemmi