mbuf: fix struct initialization with C++
g++ reports "error: missing initializer for member" Fixes: 5d3f72100904 ("mbuf: implement generic format for sched field") Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
This commit is contained in:
parent
89da5e006f
commit
14ff7fb97e
@ -2464,6 +2464,7 @@ rte_mbuf_sched_set(struct rte_mbuf *m, uint32_t queue_id,
|
|||||||
.queue_id = queue_id,
|
.queue_id = queue_id,
|
||||||
.traffic_class = traffic_class,
|
.traffic_class = traffic_class,
|
||||||
.color = color,
|
.color = color,
|
||||||
|
.reserved = 0,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user