Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NetAdapterCx is preview only in Windows 10, version 1903.
Sets the link layer maximum transfer unit size of the adapter.
void NetAdapterSetLinkLayerMtuSize( NETADAPTER Adapter, ULONG MtuSize );
The network adapter object that the client created in a prior call to NetAdapterCreate.
The new size of the adapter's MTU, in bytes.
This method does not return a value.
The client driver first sets MTU size by calling NetAdapterSetLinkLayerMtuSize when starting a net adapter, before calling NetAdapterStart.
The client driver can change the MTU size after NetAdapterStart returns by calling this method again. Doing so causes all of the adapter's transmit (Tx) and receive (Rx) queues to be recreated.
|Minimum KMDF version||1.21|
|Header||netadapter.h (include netadaptercx.h)|