From: Damjan Marion Date: Fri, 17 Jun 2016 14:42:02 +0000 (+0200) Subject: Fix node registration in ixge driver X-Git-Tag: v16.09-rc1~269 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=98897e26ceb10f46b890db24a949145d52353087;p=vpp.git Fix node registration in ixge driver Change-Id: Ia98ed873954feaa7bf1f13d8eb4054d0afba495e Signed-off-by: Damjan Marion --- diff --git a/vnet/vnet/devices/nic/ixge.c b/vnet/vnet/devices/nic/ixge.c index 8d2144142c6..cd08379ef78 100644 --- a/vnet/vnet/devices/nic/ixge.c +++ b/vnet/vnet/devices/nic/ixge.c @@ -2128,7 +2128,7 @@ static char * ixge_error_strings[] = { #undef _ }; -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", @@ -2753,7 +2753,6 @@ ixge_pci_init (vlib_main_t * vm, vlib_pci_device_t * dev) 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];