ethdev: add min/max MTU to device info
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 29 Mar 2019 17:52:13 +0000 (17:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 17:57:42 +0000 (18:57 +0100)
commitad97ceece12cde7d1f7da50679de2c93cc23a95a
tree1d844c0204719659f8f96663299eceae4b56c194
parent0f4cff5af20a8def244e5327b860afdf556e0c24
ethdev: add min/max MTU to device info

This addresses the usability issue raised by OVS at DPDK Userspace
summit. It adds general min/max MTU into device info. For compatibility,
and to save space, it fits in a hole in existing structure.

The initial version sets max MTU to normal Ethernet, it is up to
PMD to set larger value if it supports Jumbo frames.

Also remove the deprecation notice introduced in 18.11 regarding this
change and bump ethdev ABI version.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_05.rst
lib/librte_ethdev/Makefile
lib/librte_ethdev/meson.build
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h