diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2019-03-05 00:36:04 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-06 11:38:54 +0000 |
commit | 55333d76c6501e78ed234a81301e844edc1863b2 (patch) | |
tree | b1de2bd5c8b9562fb59074c19bb908bcb5ef61e1 /src/vnet/geneve/geneve.c | |
parent | 7a542f4ce9d4699e4efececed594972d90ca39dc (diff) |
geneve: migrate old MULTIARCH macros to VLIB_NODE_FN
Change-Id: Ie7b201b2742e0051b249acc011f609905bc178c8
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/geneve/geneve.c')
-rw-r--r-- | src/vnet/geneve/geneve.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/geneve/geneve.c b/src/vnet/geneve/geneve.c index c53a67a1abd..fe35c6c2429 100644 --- a/src/vnet/geneve/geneve.c +++ b/src/vnet/geneve/geneve.c @@ -37,6 +37,18 @@ geneve_main_t geneve_main; +u8 * +format_geneve_encap_trace (u8 * s, va_list * args) +{ + CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *); + CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *); + geneve_encap_trace_t *t = va_arg (*args, geneve_encap_trace_t *); + + s = format (s, "GENEVE encap to geneve_tunnel%d vni %d", + t->tunnel_index, t->vni); + return s; +} + static u8 * format_decap_next (u8 * s, va_list * args) { |