summaryrefslogtreecommitdiff
path: root/lib/librte_kni/rte_kni.h
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-01-18 11:43:00 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-02-01 01:03:26 +0100
commitabdf63d11b0917bde76fa5a73c16363bc497085b (patch)
treed477364196d7494265cc7919bf9e06e3b67a595d /lib/librte_kni/rte_kni.h
parent528057df4c4fb5b5b45bd8060267cb4105eda212 (diff)
downloaddpdk-abdf63d11b0917bde76fa5a73c16363bc497085b.zip
dpdk-abdf63d11b0917bde76fa5a73c16363bc497085b.tar.gz
dpdk-abdf63d11b0917bde76fa5a73c16363bc497085b.tar.xz
kni: set initial value for MTU
Configure initial application provided mtu on the KNI interface. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'lib/librte_kni/rte_kni.h')
-rw-r--r--lib/librte_kni/rte_kni.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h
index 711c2a9..99055e2 100644
--- a/lib/librte_kni/rte_kni.h
+++ b/lib/librte_kni/rte_kni.h
@@ -69,6 +69,7 @@ struct rte_kni_conf {
__extension__
uint8_t force_bind : 1; /* Flag to bind kernel thread */
char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
+ uint16_t mtu;
};
/**