X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_kni%2Frte_kni.h;h=b0eaf4610416644fcc7dff9c64b154242a538824;hb=2b9a66e1b606d3813d72dd81c626949e09706e27;hp=f6b66c33de1754d80b092303bb2875e1a2af7bb6;hpb=b34801d1aa2e35f72203595c755aeb1b161724e8;p=dpdk.git diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h index f6b66c33de..b0eaf46104 100644 --- a/lib/librte_kni/rte_kni.h +++ b/lib/librte_kni/rte_kni.h @@ -73,12 +73,14 @@ struct rte_kni_conf { uint8_t force_bind : 1; /* Flag to bind kernel thread */ uint8_t mac_addr[RTE_ETHER_ADDR_LEN]; /* MAC address assigned to KNI */ uint16_t mtu; + uint16_t min_mtu; + uint16_t max_mtu; }; /** * Initialize and preallocate KNI subsystem * - * This function is to be executed on the MASTER lcore only, after EAL + * This function is to be executed on the main lcore only, after EAL * initialization and before any KNI interface is attempted to be * allocated * @@ -210,7 +212,7 @@ const char *rte_kni_get_name(const struct rte_kni *kni); /** * Register KNI request handling for a specified port,and it can - * be called by master process or slave process. + * be called by primary process or secondary process. * * @param kni * pointer to struct rte_kni.