summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
AgeCommit message (Expand)AuthorFilesLines
2019-07-26dhcp: send unicast and broadcast packets via the IP adjacencyNeale Ranns1-0/+6
2019-07-24qos: QoS dump APIsNeale Ranns1-0/+5
2019-07-24vapi: add python scripts to vpp-dev packageVratko Polak1-1/+6
2019-07-24misc: Add maintainer entry for native virtio driverMohsin Kazmi1-2/+5
2019-07-22gso: Fix the l3 packet gso segment sizeMohsin Kazmi1-0/+5
2019-07-12nsim: cross-connect mode crash at interface output nodeJohn Lo1-0/+1
2019-07-12syslog: fix syslog structured data formattingBenoît Ganne1-0/+5
2019-07-10emacs: update the vat plugin generatorDave Barach1-0/+5
2019-07-09udp: UDPC handle open failNathan Skrzypczak1-0/+5
2019-07-05vxlan-gbp: Decap ignores reserved bitsNeale Ranns1-0/+6
2019-07-05ethernet: ARP disabled nodeNeale Ranns1-0/+7
2019-07-05sctp: move to plugins, disabled by defaultFlorin Coras1-2/+2
2019-06-29pg: format_pg_input_trace - reorder fieldsPaul Vinciguerra1-0/+5
2019-06-27sctp: add option to enable/disableFlorin Coras1-0/+4
2019-06-26papi: prevent message_table inconsistenciesVratko Polak1-7/+13
2019-06-26fib: default flow hash config for each DPO protocol typeNeale Ranns1-0/+5
2019-06-26misc: nat is added to MAINTAINERS file.Chore1-0/+5
2019-06-26hsa: move vcl test apps to hsaFlorin Coras1-0/+3
2019-06-25hsa: move session-apps to host-stack apps pluginFlorin Coras1-0/+5
2019-06-24tests: fix the MAINTAINERS fileAndrew Yourtchenko1-4/+0
2019-06-24tests: refactor VppDiedError.Paul Vinciguerra1-0/+4
2019-06-21misc: update maintainers to include VOMNeale Ranns1-0/+6
2019-06-20tap: add support to configure tap interface host MTU sizeMohsin Kazmi1-0/+9
2019-06-19misc: add bonding, lacp and vmxnet3 to MAINTAINERSSteven Luong1-0/+15
2019-06-18build: update MAINTAINERSPaul Vinciguerra1-0/+1
2019-06-18quic: fix handling of stream reset & closeNathan Skrzypczak1-0/+8
2019-06-14stats: add version field to stat segment base headerOle Troan1-0/+6
2019-06-14misc: Update MAINTAINERS to include interface commonNeale Ranns1-0/+5
2019-06-12maintainers: add vclFlorin Coras1-2/+7
2019-06-12misc: update MAINTAINERS fileDamjan Marion1-23/+159
2019-05-29Break out the broom for some cleanup workDave Barach1-18/+13
2019-05-14rdma: update MAINTAINERS and add docBenoît Ganne1-0/+5
2019-03-29Update MAINTAINERSDave Barach1-5/+1
2019-03-01MAINTAINERS: Add Paul Vinciguerra to test/Paul Vinciguerra1-0/+1
2019-02-22Maintainers list updateMarco Varlese1-8/+0
2018-09-04Add Load Balancer plugin MaintainersHongjun Ni1-0/+6
2018-08-29Add NSH Plugin MaintainersHongjun Ni1-3/+10
2018-08-17tls: add maintainersFlorin Coras1-4/+11
2018-08-03API: Remove legacy vlibsocket code.Ole Troan1-1/+0
2018-07-26Initial commit of Sphinx docsJohn DeNisco1-0/+5
2018-06-25MAP: Move MAP-E/T to a plugin.Ole Troan1-2/+2
2018-03-14IPIP: Add IP{v4,v6} over IP{v4,v6} configured tunnel support.Ole Troan1-5/+4
2018-01-29SRv6 dynamic proxy pluginFrancois Clad1-0/+5
2018-01-25SRv6 masquerading proxy pluginFrancois Clad1-0/+5
2018-01-24SCTP stack (RFC4960)Marco Varlese1-1/+5
2018-01-19SRv6 static proxy pluginFrancois Clad1-0/+5
2017-12-22maintainers: update emailSergio Gonzalez Monroy1-2/+1
2017-12-18Updated MAINTAINERSRadu Nicolau1-0/+2
2017-10-19Add GENEVE tunnel maintainer.Marco Varlese1-0/+4
2017-08-10Add tcp, session-layer MAINTAINERS file entriesDave Barach1-0/+8
/span> len0, len1, enqueue_code; u32 oui0, oui1; /* Prefetch next iteration. */ { vlib_buffer_t *b2, *b3; b2 = vlib_get_buffer (vm, from[2]); b3 = vlib_get_buffer (vm, from[3]); vlib_prefetch_buffer_header (b2, LOAD); vlib_prefetch_buffer_header (b3, LOAD); CLIB_PREFETCH (b2->data, sizeof (h0[0]), LOAD); CLIB_PREFETCH (b3->data, sizeof (h1[0]), LOAD); } bi0 = from[0]; bi1 = from[1]; to_next[0] = bi0; to_next[1] = bi1; from += 2; to_next += 2; n_left_to_next -= 2; n_left_from -= 2; b0 = vlib_get_buffer (vm, bi0); b1 = vlib_get_buffer (vm, bi1); h0 = vlib_buffer_get_current (b0); h1 = vlib_buffer_get_current (b1); oui0 = snap_header_get_oui (h0); oui1 = snap_header_get_oui (h1); is_ethernet0 = oui0 == IEEE_OUI_ethernet; is_ethernet1 = oui1 == IEEE_OUI_ethernet; len0 = sizeof (h0[0]) - (is_ethernet0 ? sizeof (h0->protocol) : 0); len1 = sizeof (h1[0]) - (is_ethernet1 ? sizeof (h1->protocol) : 0); vlib_buffer_advance (b0, len0); vlib_buffer_advance (b1, len1); pi0 = snap_get_protocol_info (sm, h0); pi1 = snap_get_protocol_info (sm, h1); next0 = pi0 ? pi0->next_index : SNAP_INPUT_NEXT_DROP; next1 = pi1 ? pi1->next_index : SNAP_INPUT_NEXT_DROP; next0 = is_ethernet0 ? SNAP_INPUT_NEXT_ETHERNET_TYPE : next0; next1 = is_ethernet1 ? SNAP_INPUT_NEXT_ETHERNET_TYPE : next1; /* In case of error. */ b0->error = node->errors[SNAP_ERROR_UNKNOWN_PROTOCOL]; b1->error = node->errors[SNAP_ERROR_UNKNOWN_PROTOCOL]; enqueue_code = (next0 != next_index) + 2 * (next1 != next_index); if (PREDICT_FALSE (enqueue_code != 0)) { switch (enqueue_code) { case 1: /* A B A */ to_next[-2] = bi1; to_next -= 1; n_left_to_next += 1; vlib_set_next_frame_buffer (vm, node, next0, bi0); break; case 2: /* A A B */ to_next -= 1; n_left_to_next += 1; vlib_set_next_frame_buffer (vm, node, next1, bi1); break; case 3: /* A B B or A B C */ to_next -= 2; n_left_to_next += 2; vlib_set_next_frame_buffer (vm, node, next0, bi0); vlib_set_next_frame_buffer (vm, node, next1, bi1); if (next0 == next1) { vlib_put_next_frame (vm, node, next_index, n_left_to_next); next_index = next1; vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next); } } } } while (n_left_from > 0 && n_left_to_next > 0) { u32 bi0; vlib_buffer_t *b0; snap_header_t *h0; snap_protocol_info_t *pi0; u8 next0, is_ethernet0, len0; u32 oui0; bi0 = from[0]; to_next[0] = bi0; from += 1; to_next += 1; n_left_from -= 1; n_left_to_next -= 1; b0 = vlib_get_buffer (vm, bi0); h0 = vlib_buffer_get_current (b0); oui0 = snap_header_get_oui (h0); is_ethernet0 = oui0 == IEEE_OUI_ethernet; len0 = sizeof (h0[0]) - (is_ethernet0 ? sizeof (h0->protocol) : 0); vlib_buffer_advance (b0, len0); pi0 = snap_get_protocol_info (sm, h0); next0 = pi0 ? pi0->next_index : SNAP_INPUT_NEXT_DROP; next0 = is_ethernet0 ? SNAP_INPUT_NEXT_ETHERNET_TYPE : next0; /* In case of error. */ b0->error = node->errors[SNAP_ERROR_UNKNOWN_PROTOCOL]; /* Sent packet to wrong next? */ if (PREDICT_FALSE (next0 != next_index)) { /* Return old frame; remove incorrectly enqueued packet. */ vlib_put_next_frame (vm, node, next_index, n_left_to_next + 1); /* Send to correct next. */ next_index = next0; vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next); to_next[0] = bi0; to_next += 1; n_left_to_next -= 1; } } vlib_put_next_frame (vm, node, next_index, n_left_to_next); } return from_frame->n_vectors; } static char *snap_error_strings[] = { #define _(f,s) s, foreach_snap_error #undef _ }; /* *INDENT-OFF* */ VLIB_REGISTER_NODE (snap_input_node) = { .function = snap_input, .name = "snap-input", /* Takes a vector of packets. */ .vector_size = sizeof (u32), .n_errors = SNAP_N_ERROR, .error_strings = snap_error_strings, .n_next_nodes = SNAP_INPUT_N_NEXT, .next_nodes = { [SNAP_INPUT_NEXT_DROP] = "error-drop", [SNAP_INPUT_NEXT_PUNT] = "error-punt", [SNAP_INPUT_NEXT_ETHERNET_TYPE] = "ethernet-input-type", }, .format_buffer = format_snap_header_with_length, .format_trace = format_snap_input_trace, .unformat_buffer = unformat_snap_header, }; /* *INDENT-ON* */ static void snap_setup_node (vlib_main_t *vm, u32 node_index) { vlib_node_t *n = vlib_get_node (vm, node_index); pg_node_t *pn = pg_get_node (node_index); n->format_buffer = format_snap_header_with_length; n->unformat_buffer = unformat_snap_header; pn->unformat_edit = unformat_pg_snap_header; } static clib_error_t * snap_input_init (vlib_main_t * vm) { { clib_error_t *error = vlib_call_init_function (vm, snap_init); if (error) clib_error_report (error); } snap_setup_node (vm, snap_input_node.index); llc_register_input_protocol (vm, LLC_PROTOCOL_snap, snap_input_node.index); return 0; } VLIB_INIT_FUNCTION (snap_input_init); void snap_register_input_protocol (vlib_main_t * vm, char *name, u32 ieee_oui, u16 protocol, u32 node_index) { snap_main_t *sm = &snap_main; snap_protocol_info_t *pi; snap_header_t h; snap_oui_and_protocol_t key; { clib_error_t *error = vlib_call_init_function (vm, snap_input_init); if (error) clib_error_report (error); } h.protocol = clib_host_to_net_u16 (protocol); h.oui[0] = (ieee_oui >> 16) & 0xff; h.oui[1] = (ieee_oui >> 8) & 0xff; h.oui[2] = (ieee_oui >> 0) & 0xff; pi = snap_get_protocol_info (sm, &h); if (pi) return; vec_add2 (sm->protocols, pi, 1); pi->name = format (0, "%s", name); pi->node_index = node_index; pi->next_index = vlib_node_add_next (vm, snap_input_node.index, node_index); key.oui = ieee_oui; key.protocol = clib_host_to_net_u16 (protocol); mhash_set (&sm->protocol_hash, &key, pi - sm->protocols, /* old_value */ 0); hash_set_mem (sm->protocol_info_by_name, name, pi - sm->protocols); } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */