Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: add container proxy dump API (VPP-1364)
[vpp.git]
/
src
/
vnet
/
bonding
/
node.c
diff --git
a/src/vnet/bonding/node.c
b/src/vnet/bonding/node.c
index
7abd7b0
..
361509c
100644
(file)
--- a/
src/vnet/bonding/node.c
+++ b/
src/vnet/bonding/node.c
@@
-36,7
+36,6
@@
typedef enum
BOND_INPUT_N_ERROR,
} bond_input_error_t;
BOND_INPUT_N_ERROR,
} bond_input_error_t;
-#ifndef CLIB_MARCH_VARIANT
static char *bond_input_error_strings[] = {
#define _(n,s) s,
foreach_bond_input_error
static char *bond_input_error_strings[] = {
#define _(n,s) s,
foreach_bond_input_error
@@
-60,8
+59,6
@@
format_bond_input_trace (u8 * s, va_list * args)
return s;
}
return s;
}
-#endif
-
typedef enum
{
typedef enum
{
@@
-169,7
+166,7
@@
bond_update_next (vlib_main_t * vm, vlib_node_runtime_t * node,
*bond_sw_if_index = bif->sw_if_index;
*error = 0;
*bond_sw_if_index = bif->sw_if_index;
*error = 0;
- vnet_feature_next (
/* not used */ 0,
next_index, b);
+ vnet_feature_next (next_index, b);
}
VLIB_NODE_FN (bond_input_node) (vlib_main_t * vm,
}
VLIB_NODE_FN (bond_input_node) (vlib_main_t * vm,
@@
-360,7
+357,6
@@
VLIB_NODE_FN (bond_input_node) (vlib_main_t * vm,
return frame->n_vectors;
}
return frame->n_vectors;
}
-#ifndef CLIB_MARCH_VARIANT
static clib_error_t *
bond_input_init (vlib_main_t * vm)
{
static clib_error_t *
bond_input_init (vlib_main_t * vm)
{
@@
-457,7
+453,6
@@
bond_hw_interface_up_down (vnet_main_t * vnm, u32 hw_if_index, u32 flags)
}
VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (bond_hw_interface_up_down);
}
VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (bond_hw_interface_up_down);
-#endif
/*
* fd.io coding-style-patch-verification: ON
/*
* fd.io coding-style-patch-verification: ON