Ivan Ilchenko b26bee10ee ethdev: forbid MTU set before device configure
rte_eth_dev_configure() always sets MTU to either dev_conf.rxmode.mtu
or RTE_ETHER_MTU if application doesn't provide the value.
So, there is no point to allow rte_eth_dev_set_mtu() before since
set value will be overwritten on configure anyway.

Fixes: 1bb4a528c41f ("ethdev: fix max Rx packet length")

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-10-22 15:26:54 +02:00
..
2021-08-17 08:37:52 +02:00
2021-10-22 23:32:00 +02:00
2021-10-08 14:58:11 +02:00
2021-08-17 08:37:52 +02:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-10-21 11:18:54 +02:00
2021-10-22 22:40:59 +02:00
2021-08-17 08:37:52 +02:00
2021-10-13 22:14:59 +02:00
2021-08-17 08:37:52 +02:00
2021-10-21 14:24:21 +02:00