aboutsummaryrefslogtreecommitdiffstats
path: root/resources
AgeCommit message (Expand)AuthorFilesLines
2022-02-10Report: Small fixesTibor Frank2-77/+78
2022-02-10Report: Add 2n-icx GSOTibor Frank2-0/+19
2022-02-10Report: Add icx soak, reconf, nfvTibor Frank2-2/+287
2022-02-08fix(iperf3): Compare string literals using !=Vratko Polak1-3/+3
2022-02-08feat(autogen): generate gso suites for all nicsVratko Polak1-15/+16
2022-02-07Report: Small fixesTibor Frank1-0/+22
2022-02-07Trending: Add icx latency trending graphsTibor Frank1-29/+29
2022-02-07Trending: Add icx nfvTibor Frank2-0/+106
2022-02-04Trending: Add icx weeklyTibor Frank2-0/+599
2022-02-04Report: Suite doc formatTibor Frank1-9/+1
2022-02-03Report: Add dpdk icx static contentTibor Frank1-11/+4
2022-02-03PAL: Process exception while writing tableTibor Frank1-4/+11
2022-02-03Report: Add dataTibor Frank1-7/+7
2022-02-02Report: fix specTibor Frank1-2/+2
2022-02-02Report: Add ICXTibor Frank3-650/+1153
2022-02-01trending: icx addedViliam Luc1-1/+1
2022-02-01Report: Add dataTibor Frank1-1/+1
2022-02-01Report: Add dataTibor Frank1-170/+142
2022-02-01Trending: Fix - 3n-icx specTibor Frank1-0/+1
2022-01-31Trending: Add 3n-icxTibor Frank3-0/+282
2022-01-31fix(telemetry): Add mpls to parsePeter Mikus4-0/+22
2022-01-31Trending: Add 2n-icxTibor Frank4-5/+348
2022-01-27fix(dpdk): JumboPeter Mikus2-5/+0
2022-01-27Report: Add dataTibor Frank1-0/+11
2022-01-26Report: Add dataTibor Frank1-5/+14
2022-01-25fix(core): Remove unused stuffPeter Mikus2-200/+0
2022-01-25trending: fix re-pro showing wrong dataViliam Luc1-18/+17
2022-01-25Report: Add Comparison tablesTibor Frank2-6/+434
2022-01-24Trending: Add awsTibor Frank1-8/+48
2022-01-24feat(core): Add ICXPeter Mikus1-4/+31
2022-01-24Report: Configure Report 2202Tibor Frank4-1871/+1529
2022-01-19trending: fix empty regressions and progressionsViliam Luc1-5/+5
2022-01-19fix(vpp_device): pci address existence conditionJuraj Linkeš1-3/+5
2022-01-19Trending: Add NAT44Det tests for 2n-zn2Tibor Frank1-81/+0
2022-01-18trending: new view in regressions and progressionsViliam Luc3-54/+145
2022-01-17fix(perpatch): Correct the autogen archive nameVratko Polak1-3/+3
2022-01-17trending: shorten error messagesViliam Luc1-1/+33
2022-01-17Report: Add 2n-tx2 ipsec testsTibor Frank1-0/+186
2022-01-17Revert "Report: Temporarily change report specs"Tibor Frank2-0/+13926
2022-01-17fix(uti): Fixing broken code part VPeter Mikus3-7/+7
2022-01-17Report: Temporarily change report specsTibor Frank2-13926/+0
2022-01-17Revert "Temporarily change report specs"Tibor Frank2-0/+13930
2022-01-17Temporarily change report specsTibor Frank2-13930/+0
2022-01-17fix(IPsec): fix policy testsJuraj Linkeš2-16/+47
2022-01-17PAL: Fix sh-runTibor Frank2-25/+12
2022-01-14JumpAvg: Fix string formatVratko Polak1-2/+2
2022-01-12fix(uti): Fixing broken code part IVPeter Mikus1-2/+2
2022-01-11feat(uti): Dash demoPeter Mikus21-0/+1486
2022-01-10fix(core): Constants.pyPeter Mikus1-3/+3
2022-01-07fix(uti): Fixing broken code part IIIpmikus1-8/+7
FALSE (l2tp->cookie != session->local_cookie[0])) { if (l2tp->cookie != session->local_cookie[1]) { /* Key and session ID matched, but cookie doesn't. Drop this packet. */ b->error = node->errors[L2T_DECAP_ERROR_COOKIE_MISMATCH]; next_index = L2T_DECAP_NEXT_DROP; goto done; } } vnet_buffer (b)->sw_if_index[VLIB_RX] = session->sw_if_index; if (PREDICT_FALSE (!(session->admin_up))) { b->error = node->errors[L2T_DECAP_ERROR_ADMIN_DOWN]; next_index = L2T_DECAP_NEXT_DROP; goto done; } /* strip the ip6 and L2TP header */ vlib_buffer_advance (b, sizeof (*ip6) + session->l2tp_hdr_size); /* Required to make the l2 tag push / pop code work on l2 subifs */ vnet_update_l2_len (b); if (PREDICT_FALSE (b->flags & VLIB_BUFFER_IS_TRACED)) { l2t_trace_t *t = vlib_add_trace (vm, node, b, sizeof (*t)); t->is_user_to_network = 1; t->our_address.as_u64[0] = ip6->dst_address.as_u64[0]; t->our_address.as_u64[1] = ip6->dst_address.as_u64[1]; t->client_address.as_u64[0] = ip6->src_address.as_u64[0]; t->client_address.as_u64[1] = ip6->src_address.as_u64[1]; t->session_index = session_index; } return L2T_DECAP_NEXT_L2_INPUT; done: if (next_index == L2T_DECAP_NEXT_NO_INTERCEPT) { /* Small behavioral change between l2tp-decap and l2tp-decap-local */ if (l2tp_decap_local) { b->error = node->errors[L2T_DECAP_ERROR_NO_SESSION]; next_index = L2T_DECAP_NEXT_DROP; } else { /* Go to next node on the ip6 configuration chain */ if (PREDICT_TRUE (session != 0)) vnet_feature_next (&next_index, b); } } if (PREDICT_FALSE (b->flags & VLIB_BUFFER_IS_TRACED)) { l2t_trace_t *t = vlib_add_trace (vm, node, b, sizeof (*t)); t->is_user_to_network = 1; t->our_address.as_u64[0] = ip6->dst_address.as_u64[0]; t->our_address.as_u64[1] = ip6->dst_address.as_u64[1]; t->client_address.as_u64[0] = ip6->src_address.as_u64[0]; t->client_address.as_u64[1] = ip6->src_address.as_u64[1]; t->session_index = ~0; } return next_index; } #include <vnet/pipeline.h> VLIB_NODE_FN (l2t_decap_node) (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame) { return dispatch_pipeline (vm, node, frame); } /* * l2tp-decap and l2tp-decap-local have very slightly different behavior. * When a packet has no associated session l2tp-decap let it go to ip6 forward, * while l2tp-decap-local drops it. */ /* *INDENT-OFF* */ VLIB_REGISTER_NODE (l2t_decap_node) = { .name = "l2tp-decap", .vector_size = sizeof (u32), .format_trace = format_l2t_trace, .type = VLIB_NODE_TYPE_INTERNAL, .n_errors = ARRAY_LEN(l2t_decap_error_strings), .error_strings = l2t_decap_error_strings, .n_next_nodes = L2T_DECAP_N_NEXT, /* edit / add dispositions here */ .next_nodes = { [L2T_DECAP_NEXT_L2_INPUT] = "l2-input", [L2T_DECAP_NEXT_DROP] = "error-drop", }, }; /* *INDENT-ON* */ extern vlib_node_function_t l2t_decap_node_fn; /* *INDENT-OFF* */ VLIB_REGISTER_NODE (l2t_decap_local_node) = { .function = l2t_decap_node_fn, .name = "l2tp-decap-local", .vector_size = sizeof (u32), .format_trace = format_l2t_trace, .type = VLIB_NODE_TYPE_INTERNAL, .n_errors = ARRAY_LEN(l2t_decap_error_strings), .error_strings = l2t_decap_error_strings, .n_next_nodes = L2T_DECAP_N_NEXT, /* edit / add dispositions here */ .next_nodes = { [L2T_DECAP_NEXT_L2_INPUT] = "l2-input", [L2T_DECAP_NEXT_DROP] = "error-drop", }, }; /* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */