Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl svm: provide apps access to fifo chunks
[vpp.git]
/
src
/
plugins
/
hs_apps
/
vcl
/
vcl_test.h
diff --git
a/src/plugins/hs_apps/vcl/vcl_test.h
b/src/plugins/hs_apps/vcl/vcl_test.h
index
c6b9230
..
6bb3446
100644
(file)
--- a/
src/plugins/hs_apps/vcl/vcl_test.h
+++ b/
src/plugins/hs_apps/vcl/vcl_test.h
@@
-444,7
+444,8
@@
vcl_test_read (int fd, uint8_t * buf, uint32_t nbytes,
}
static inline int
}
static inline int
-vcl_test_read_ds (int fd, vppcom_data_segments_t ds, vcl_test_stats_t * stats)
+vcl_test_read_ds (int fd, vppcom_data_segment_t * ds,
+ vcl_test_stats_t * stats)
{
int rx_bytes;
{
int rx_bytes;
@@
-452,7
+453,7
@@
vcl_test_read_ds (int fd, vppcom_data_segments_t ds, vcl_test_stats_t * stats)
{
if (stats)
stats->rx_xacts++;
{
if (stats)
stats->rx_xacts++;
- rx_bytes = vppcom_session_read_segments (fd, ds);
+ rx_bytes = vppcom_session_read_segments (fd, ds
, 2, ~0
);
if (rx_bytes < 0)
{
if (rx_bytes < 0)
{