eal: improve entropy for initial PRNG seed
[dpdk.git] / lib / librte_kni / rte_kni.h
index 02ca43b..e11a32b 100644 (file)
@@ -22,7 +22,7 @@
 #include <rte_mempool.h>
 #include <rte_ether.h>
 
-#include <exec-env/rte_kni_common.h>
+#include <rte_kni_common.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -63,12 +63,12 @@ struct rte_kni_conf {
        uint32_t core_id;   /* Core ID to bind kernel thread on */
        uint16_t group_id;  /* Group ID */
        unsigned mbuf_size; /* mbuf size */
-       struct rte_pci_addr addr;
-       struct rte_pci_id id;
+       struct rte_pci_addr addr; /* depreciated */
+       struct rte_pci_id id; /* depreciated */
 
        __extension__
        uint8_t force_bind : 1; /* Flag to bind kernel thread */
-       char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
+       uint8_t mac_addr[RTE_ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
        uint16_t mtu;
 };