Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/netvsc: use ethdev API to set VF MTU
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: 45c8360 ("net/netvsc: support MTU set") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Long Li <longli@microsoft.com> Reviewed-by: Wei Hu <weh@microsoft.com>
- Loading branch information