app/eventdev: add burst mode for event timer adapter
[dpdk.git] / lib / librte_kni / rte_kni.h
index 370b02a..99055e2 100644 (file)
@@ -45,6 +45,9 @@ struct rte_kni_ops {
 
        /* Pointer to function of configuring mac address */
        int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
+
+       /* Pointer to function of configuring promiscuous mode */
+       int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
 };
 
 /**
@@ -66,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;
 };
 
 /**