X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Flinux%2Feal%2Finclude%2Frte_kni_common.h;h=7313ef504ef1346fd3cd2c2184235304a3e6f2a3;hb=9c1e0dc39a03c95447095241eaf3764d2e0dd003;hp=b51fe27bd77ec30e74efcaf871ed28badd125c2c;hpb=b34801d1aa2e35f72203595c755aeb1b161724e8;p=dpdk.git diff --git a/lib/librte_eal/linux/eal/include/rte_kni_common.h b/lib/librte_eal/linux/eal/include/rte_kni_common.h index b51fe27bd7..7313ef504e 100644 --- a/lib/librte_eal/linux/eal/include/rte_kni_common.h +++ b/lib/librte_eal/linux/eal/include/rte_kni_common.h @@ -15,10 +15,10 @@ #include #endif -/** - * KNI name is part of memzone name. +/* + * KNI name is part of memzone name. Must not exceed IFNAMSIZ. */ -#define RTE_KNI_NAMESIZE 32 +#define RTE_KNI_NAMESIZE 16 #define RTE_CACHE_LINE_MIN_SIZE 64 @@ -122,7 +122,10 @@ struct rte_kni_device_info { /* mbuf size */ unsigned mbuf_size; unsigned int mtu; + unsigned int min_mtu; + unsigned int max_mtu; uint8_t mac_addr[6]; + uint8_t iova_mode; }; #define KNI_DEVICE "kni"