ethdev: advertise MTU as retained across stop/start
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 19 Dec 2018 06:22:58 +0000 (06:22 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit189f554647f88363f315dd504229bd1958a65d9a
tree437f199ce3743eff29179b35ad8e4df77e42fa37
parent68a1ab82ad74403de83eadbecd8c2ffdd5f63ee8
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 <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ethdev/rte_ethdev.h