Introduce a new API rte_vhost_get_mtu() to export the MTU value
of the interface to the application.

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
---
 lib/librte_vhost/rte_vhost_version.map | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/librte_vhost/rte_vhost_version.map 
b/lib/librte_vhost/rte_vhost_version.map
index 5ceaa8a..30b4671 100644
--- a/lib/librte_vhost/rte_vhost_version.map
+++ b/lib/librte_vhost/rte_vhost_version.map
@@ -30,3 +30,10 @@ DPDK_16.07 {
        rte_vhost_get_queue_num;
 
 } DPDK_2.1;
+
+DPDK_17.05 {
+       global:
+
+       rte_vhost_get_mtu;
+
+} DPDK_16.07;
-- 
2.9.3

Reply via email to