From: Andrew Rybchenko Date: Wed, 19 Dec 2018 06:22:58 +0000 (+0000) Subject: ethdev: advertise MTU as retained across stop/start X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=189f554647f88363f315dd504229bd1958a65d9a;p=dpdk.git ethdev: advertise MTU as retained across stop/start Changing MTU in running state may return -EBUSY saying that MTU cannot be changed when the port is running. It assumes that changes may be done in stopped and started (but some PMDs may reject it) state and it is logical to require that changes done in any of these states are retained. Signed-off-by: Andrew Rybchenko Acked-by: Thomas Monjalon --- diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index e32395346d..4a97af3685 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -80,6 +80,7 @@ * rte_eth_dev_stop()/rte_eth_dev_start(). The following configuration will * be retained: * + * - MTU * - flow control settings * - receive mode configuration (promiscuous mode, hardware checksum mode, * RSS/VMDQ settings etc.)