mbuf: fix struct initialization with C++
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index d716294..a7f6702 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,
                        };
 }