kni: fix spacing and line lenghts
[dpdk.git] / lib / librte_eal / linuxapp / kni / kni_dev.h
index 9128523..e1c79b1 100644 (file)
@@ -85,7 +85,7 @@ struct kni_dev {
        /* response queue */
        void *resp_q;
 
-       void * sync_kva;
+       void *sync_kva;
        void *sync_va;
 
        void *mbuf_kva;
@@ -98,12 +98,13 @@ struct kni_dev {
        unsigned long synchro;
 
 #ifdef RTE_KNI_VHOST
-       struct kni_vhost_queue* vhost_queue;
+       struct kni_vhost_queue *vhost_queue;
+
        volatile enum {
                BE_STOP = 0x1,
                BE_START = 0x2,
                BE_FINISH = 0x4,
-       }vq_status;
+       } vq_status;
 #endif
        /* buffers */
        void *pa[MBUF_BURST_SZ];
@@ -134,8 +135,8 @@ struct kni_vhost_queue {
        struct kni_dev *kni;
        int sockfd;
        unsigned int flags;
-       struct sk_buffcache;
-       struct rte_kni_fifofifo;
+       struct sk_buff *cache;
+       struct rte_kni_fifo *fifo;
 };
 
 #endif