]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_kni/rte_kni_common.h
net/hns3: fix flow director rule residue on malloc failure
[dpdk.git] / lib / librte_kni / rte_kni_common.h
index 36d66e2ffab7af8d94c2cd8f7ec0f647fc0b8123..ffb3182731a0b3d97e11b56aeb6fc9d7f6755c62 100644 (file)
@@ -84,10 +84,11 @@ struct rte_kni_mbuf {
        char pad2[4];
        uint32_t pkt_len;       /**< Total pkt len: sum of all segment data_len. */
        uint16_t data_len;      /**< Amount of data in segment buffer. */
+       char pad3[14];
+       void *pool;
 
        /* fields on second cache line */
        __attribute__((__aligned__(RTE_CACHE_LINE_MIN_SIZE)))
-       void *pool;
        void *next;             /**< Physical address of next mbuf in kernel. */
 };