Disable accelerated networking in Azure VM. Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. This high-performance path bypasses the host from the datapath, reducing latency, jitter, and CPU utilization, for use with the most demanding network workloads on supported VM types.
Accelerated networking is supported only in selected set of VM instances. So,VM machine with accelerated networking enabled can be resized only to the VM instances that supports accelerated networking. Resizing the VM with accelerated networking to new instance which doesn’t support accelerated networking may cause error.
Resolution: Disable the accelerated networking before resizing the VM. To disable accelerated networking, connect to Azure PowerShell and execute the following cmdlet. (As of now , there is no option to disable it in Azure portal).
Az network nic update –accelerated-networking false –name <nic_name> –resource-group <resource_group_name>
- To enable Accelerated networking again,
Az network nic update --accelerated-networking true --name <nic_name> --resource-group <resource_group_name>