aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_format.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-09-29 15:38:51 +0000
committerDamjan Marion <dmarion@me.com>2020-10-08 08:51:59 +0000
commit47a3d9975fa3af7a7537b565d6511dadc0df61fb (patch)
treefa33e3360af84239615f48b164b239ee3b660ee6 /src/vnet/interface_format.c
parent83143710e80c8df703fe1ebc0e513aa37971d295 (diff)
l2: input performance
Type: improvement - cache the values form the BD on the input config to avoid loading - avoid the short write long read on the sequence number - use vlib_buffer_enqueue_to_next Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I33442b9104b457e4c638d26e9ad3bc965687a0bc
Diffstat (limited to 'src/vnet/interface_format.c')
-rw-r--r--src/vnet/interface_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface_format.c b/src/vnet/interface_format.c
index 2b691a66071..5f995b8a34f 100644
--- a/src/vnet/interface_format.c
+++ b/src/vnet/interface_format.c
@@ -555,7 +555,7 @@ format_vnet_buffer_opaque (u8 * s, va_list * args)
s = format (s,
"l2.feature_bitmap_input: %U, L2.feature_bitmap_output: %U",
- format_l2_input_features, o->l2.feature_bitmap, 0,
+ format_l2_input_feature_bitmap, o->l2.feature_bitmap, 0,
format_l2_output_features, o->l2.feature_bitmap, 0);
vec_add1 (s, '\n');