aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-TLDK.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01 Test TLDK tcpdump command not found issue.Fangyin Hu1-1/+1
Use the new VIRL image to test. Add the debug information for the test. Change-Id: I8343a17d38dffbf84039e39a06fc5c5a65aaf201 Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2017-07-17 Fix the TLDK test tcpdump not found issue.Fangyin Hu1-0/+12
Add the PYBOT execute exit status code. Change-Id: If0fc29c580177f1b187ec751c6708fc138838bed Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2017-07-06 Patch to tldk bootstrap on the tldk package download.Fangyin Hu1-1/+1
Rebase and fix the path issue. Change-Id: I572e4c81feb54e7f391af0007af709cafa42c255 Signed-off-by: qun wan <qun.wan@intel.com> Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2017-06-29CSIT-687: Directory structure reorganizationTibor Frank1-3/+3
Change-Id: I772c9e214be2461adf58124998d272e7d795220f Signed-off-by: Tibor Frank <tifrank@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
2017-06-20 Patch on tldk bootstrap file to fix the wget of dpdk packagequn wan1-0/+5
Change-Id: I0be71fc359c334830043d0fbd45826fbfd4cb8aa Signed-off-by: qun wan <qun.wan@intel.com>
2017-06-16 Patches for the tldk functional test cases.qun wan1-2/+2
Change-Id: I0a70339edaff4c0e023c586ff84c8085ae6bc9c0 Signed-off-by: qun wan <qun.wan@intel.com>
2017-05-18 TLDK Bootstrap.sh file to support the jenkins job scheduling.qun wan1-25/+4
Change-Id: Ia89e5a32fdc963a1c20345da1310b7958cd34c48 Signed-off-by: qun wan <qun.wan@intel.com>
2017-04-03Add x710 and xl710 tests for testpmdTibor Frank1-2/+2
10ge2p1x710-eth-l2xcbase-ndrdisc 40ge2p1xl710-eth-l2xcbase-ndrdisc Change-Id: Iea411182fd41e1ae9ed9b5a17f540befc247adb9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2017-01-02CSIT-488 TLDK jbb validation jobs need cmake installedpmikus1-1/+1
Add cmake into VIRL Ubuntu image Change-Id: I2cd33a58c0043a2c3e04809d1f73068520767929 Signed-off-by: pmikus <pmikus@cisco.com>
2016-12-15 check the return valueFangyin Hu1-0/+217
Change-Id: Id507ba1a139415b395f99cd3fcbe2581e1fe3f54 Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
class="p">; from = vlib_frame_vector_args (frame); n_left_from = frame->n_vectors; next_index = 0; while (n_left_from > 0) { vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next); /* * IP options packets, when properly used, are very low rate, * so this code is not dual-looped for extra performance. */ while (n_left_from > 0 && n_left_to_next > 0) { ip4_options_next_t next; ip4_header_t *ip4; vlib_buffer_t *b; u8 *options; u32 bi; bi = from[0]; from += 1; n_left_from -= 1; to_next[0] = bi; to_next += 1; n_left_to_next -= 1; b = vlib_get_buffer (vm, bi); ip4 = vlib_buffer_get_current (b); next = IP4_OPTIONS_NEXT_PUNT; options = (u8 *) (ip4 + 1); /* * mask out the copy flag to leave the option type */ switch (options[0] & 0x7f) { case IP4_ROUTER_ALERT_OPTION: /* * if it's an IGMP packet, pass up the local stack */ if (IP_PROTOCOL_IGMP == ip4->protocol) { next = IP4_OPTIONS_NEXT_LOCAL; } break; default: break; } if (b->flags & VLIB_BUFFER_IS_TRACED) { ip4_options_trace_t *t = vlib_add_trace (vm, node, b, sizeof (*t)); clib_memcpy_fast (t->option, options, 4); } vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next, n_left_to_next, bi, next); } vlib_put_next_frame (vm, node, next_index, n_left_to_next); } return frame->n_vectors; } u8 * format_ip4_options_trace (u8 * s, va_list * args) { CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *); CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *); ip4_options_trace_t *t = va_arg (*args, ip4_options_trace_t *); u32 indent = format_get_indent (s); s = format (s, "%Uoption:[0x%x,0x%x,0x%x,0x%x]", format_white_space, indent, t->option[0], t->option[1], t->option[2], t->option[3]); return s; } /* *INDENT-OFF* */ VLIB_REGISTER_NODE (ip4_options_node) = { .name = "ip4-options", .vector_size = sizeof (u32), .n_next_nodes = IP4_OPTIONS_N_NEXT, .next_nodes = { [IP4_OPTIONS_NEXT_PUNT] = "ip4-punt", [IP4_OPTIONS_NEXT_LOCAL] = "ip4-local", }, .format_buffer = format_ip4_header, .format_trace = format_ip4_options_trace, }; /* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */