]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
mbuf: fix struct initialization with C++
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index d7162947519571df880070744e5372b3b76ac002..a7f67023ad1987d60e97d178b70ef44efa07a6e6 100644 (file)
@@ -2464,6 +2464,7 @@ rte_mbuf_sched_set(struct rte_mbuf *m, uint32_t queue_id,
                                .queue_id = queue_id,
                                .traffic_class = traffic_class,
                                .color = color,
+                               .reserved = 0,
                        };
 }