Change-Id: Ia98ed873954feaa7bf1f13d8eb4054d0afba495e
Signed-off-by: Damjan Marion <damarion@cisco.com>
-static vlib_node_registration_t ixge_input_node = {
+VLIB_REGISTER_NODE (ixge_input_node, static) = {
.function = ixge_input,
.type = VLIB_NODE_TYPE_INPUT,
.name = "ixge-input",
.function = ixge_input,
.type = VLIB_NODE_TYPE_INPUT,
.name = "ixge-input",
if (vec_len (xm->devices) == 1)
{
ixge_input_node.function = ixge_input_multiarch_select();
if (vec_len (xm->devices) == 1)
{
ixge_input_node.function = ixge_input_multiarch_select();
- vlib_register_node (vm, &ixge_input_node);
}
xd->pci_device = dev[0];
}
xd->pci_device = dev[0];