Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add support for multiple microarchitectures in single binary
[vpp.git]
/
vnet
/
vnet
/
devices
/
netmap
/
node.c
diff --git
a/vnet/vnet/devices/netmap/node.c
b/vnet/vnet/devices/netmap/node.c
index
3986c7e
..
f4c39e6
100644
(file)
--- a/
vnet/vnet/devices/netmap/node.c
+++ b/
vnet/vnet/devices/netmap/node.c
@@
-270,7
+270,6
@@
netmap_input_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
return n_rx_packets;
}
return n_rx_packets;
}
-
VLIB_REGISTER_NODE (netmap_input_node) = {
.function = netmap_input_fn,
.name = "netmap-input",
VLIB_REGISTER_NODE (netmap_input_node) = {
.function = netmap_input_fn,
.name = "netmap-input",
@@
-287,3
+286,5
@@
VLIB_REGISTER_NODE (netmap_input_node) = {
},
};
},
};
+VLIB_NODE_FUNCTION_MULTIARCH (netmap_input_node, netmap_input_fn)
+