Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
dpdk: be a plugin
[vpp.git]
/
src
/
vnet
/
pg
/
stream.c
diff --git
a/src/vnet/pg/stream.c
b/src/vnet/pg/stream.c
index
c46875e
..
560c4b0
100644
(file)
--- a/
src/vnet/pg/stream.c
+++ b/
src/vnet/pg/stream.c
@@
-442,9
+442,8
@@
pg_stream_add (pg_main_t * pg, pg_stream_t * s_init)
pg_buffer_index_t *bi;
int n;
-#if DPDK > 0
- s->buffer_bytes = VLIB_BUFFER_DATA_SIZE;
-#endif
+ if (vm->buffer_main->extern_buffer_mgmt)
+ s->buffer_bytes = VLIB_BUFFER_DATA_SIZE;
if (!s->buffer_bytes)
s->buffer_bytes = s->max_packet_bytes;