Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Typos. A bunch of typos I've been collecting.
[vpp.git]
/
src
/
vnet
/
bier
/
bier_lookup.c
diff --git
a/src/vnet/bier/bier_lookup.c
b/src/vnet/bier/bier_lookup.c
index
4e544a3
..
c57c81d
100644
(file)
--- a/
src/vnet/bier/bier_lookup.c
+++ b/
src/vnet/bier/bier_lookup.c
@@
-22,7
+22,7
@@
#include <vnet/bier/bier_fmask.h>
/**
#include <vnet/bier/bier_fmask.h>
/**
- * Struct maintining the per-worker thread data for BIER lookups
+ * Struct maint
a
ining the per-worker thread data for BIER lookups
*/
typedef struct bier_lookup_main_t_
{
*/
typedef struct bier_lookup_main_t_
{
@@
-223,7
+223,7
@@
bier_lookup (vlib_main_t * vm,
num_cloned = vlib_buffer_clone(vm, bi0,
blm->blm_clones[thread_index],
n_clones,
num_cloned = vlib_buffer_clone(vm, bi0,
blm->blm_clones[thread_index],
n_clones,
-
n_bytes + 8
);
+
VLIB_BUFFER_CLONE_HEAD_SIZE
);
if (num_cloned != vec_len(blm->blm_fmasks[thread_index]))
{
if (num_cloned != vec_len(blm->blm_fmasks[thread_index]))
{
@@
-250,12
+250,12
@@
bier_lookup (vlib_main_t * vm,
{
bier_lookup_trace_t *tr;
{
bier_lookup_trace_t *tr;
- vlib_trace_buffer (vm, node, next0, c0, 0);
+ if (c0 != b0)
+ vlib_buffer_copy_trace_flag (vm, b0, ci0);
+
tr = vlib_add_trace (vm, node, c0, sizeof (*tr));
tr->bt_index = bti0;
tr->bfm_index = blm->blm_fmasks[thread_index][clone];
tr = vlib_add_trace (vm, node, c0, sizeof (*tr));
tr->bt_index = bti0;
tr->bfm_index = blm->blm_fmasks[thread_index][clone];
-
- c0->flags |= VLIB_BUFFER_IS_TRACED;
}
vlib_validate_buffer_enqueue_x1(vm, node, next_index,
}
vlib_validate_buffer_enqueue_x1(vm, node, next_index,