static inline void dp_packet_pad(struct ofpbuf *b)
{
- if (b->size < ETH_TOTAL_MIN) {
- ofpbuf_put_zeros(b, ETH_TOTAL_MIN - b->size);
+ if (ofpbuf_size(b) < ETH_TOTAL_MIN) {
+ ofpbuf_put_zeros(b, ETH_TOTAL_MIN - ofpbuf_size(b));
}
}
+#define NR_QUEUE 1
+
#ifdef __cplusplus
}
#endif