net/failsafe: report minimum and maximum MTU
authorAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Tue, 22 Dec 2020 08:51:49 +0000 (11:51 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 22 Feb 2021 16:35:38 +0000 (17:35 +0100)
commitc0396a48b526eb3d38c941a7e7d63d360a789d16
tree03148e9e3706874fa46a9be0d63992e04a21425f
parentf971b7d3013d53a5d911b8c5cf51ab55946253b0
net/failsafe: report minimum and maximum MTU

Take minimum and maximum MTU values for subdevices and
report maximum of minimums and minimum of maximums.

Fixes: ad97ceece12c ("ethdev: add min/max MTU to device info")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Gaetan Rivet <grive@u256.net>
drivers/net/failsafe/failsafe_ops.c