aboutsummaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Expand)AuthorFilesLines
2018-10-31CSIT-1332: Proposal of new layout of all graphsTibor Frank44-1406/+10682
2018-10-24Add Meltdown and Spectre checker outputPeter Mikus4-0/+258
2018-10-23Initial version of PLRsearch ietf draft in kramdown-rfc2629 format.Maciek Konstantynowicz1-0/+228
2018-10-23Initial version of mlrsearch ietf draft in kramdown-rfc2629 format.Maciek Konstantynowicz1-0/+360
2018-10-23CSIT-1255 1-Node VPP_Device DocumentationPeter Mikus1-0/+528
2018-10-10Add VXLAN scale perf testsJan Gelety1-0/+48
2018-09-20CSIT-1205 Create AVF driver test - Add Tests L2BD L2XCPeter Mikus1-0/+8
2018-09-13Add coding guidelines documentVratko Polak1-0/+322
2018-09-12CSIT-1269: Add VTS tests to trendingTibor Frank3-0/+70
2018-09-07CSIT-1270: Split feature tests in trendingTibor Frank12-36/+414
2018-09-07CSIT-1262: Add 2n/3n-skx to trendingTibor Frank121-2871/+6733
2018-09-05Add Report historyTibor Frank1-0/+1
2018-09-05Add known issues to report 18.07Tibor Frank3-30/+61
2018-08-24VPP link bonding perf tests with two links between DUTsJan Gelety1-0/+8
2018-08-23report 18.07: added 2 known issues identified in CSIT-18.07 for vpp performance.Maciek Konstantynowicz1-0/+6
2018-08-21HC Report: update list of known issuesMarek Gradzki1-11/+3
2018-08-18release 1807: fixed directory nesting for perf comparison files.Maciek Konstantynowicz4-38/+38
2018-08-18report 18.07: final final editorial nit picking in v0.9.Maciek Konstantynowicz11-49/+43
2018-08-17report 18.07: draft v0.9 editorial nit-picking, take-2.Maciek Konstantynowicz2-6/+6
2018-08-17report 18.07: draft v0.9 editorial nit-picking.Maciek Konstantynowicz12-183/+100
2018-08-17report 18.07: moved performance change/compare sections out of rls notes to s...Maciek Konstantynowicz14-315/+369
2018-08-17report 18.07: updated known issues perf changes based on latest test data in ...Maciek Konstantynowicz1-2/+2
2018-08-17report 18.07: reformatted known issues tables in rls notes sections.Maciek Konstantynowicz5-60/+55
2018-08-17Remove DPDK MRR changes section from reportPeter Mikus1-21/+0
2018-08-17report 1807: updated known issues in vpp perf rls notes.Maciek Konstantynowicz1-18/+24
2018-08-16report 1807: dpdk and vpp rls notes update, known issues.Maciek Konstantynowicz2-2/+11
2018-08-16report 1807: list and table formatting fixes.Maciek Konstantynowicz7-132/+104
2018-08-16report 1807: fixed index.html for introduction section.Maciek Konstantynowicz1-2/+2
2018-08-15report 1807: editorial nit-picking in all graph sections.Maciek Konstantynowicz6-104/+124
2018-08-15report 1807: editorial nit-picking in all performance changes and comparison ...Maciek Konstantynowicz2-100/+110
2018-08-15report 1807: editorial nit-picking and formatting all release_notes sections.Maciek Konstantynowicz5-72/+79
2018-08-15report 1807: introduction section editorial nit-picking.Maciek Konstantynowicz5-169/+234
2018-08-151807 report: updated dpdk performance overview section.Maciek Konstantynowicz1-31/+22
2018-08-151807 report: updated virtual topologies for all functional tests.Maciek Konstantynowicz9-387/+2313
2018-08-15General report fixesPeter Mikus5-34/+28
2018-08-14rls1807: updated environment sections for all functional tests.Maciek Konstantynowicz6-68/+98
2018-08-141807 report: added VTS description in vpp performance overview section.Maciek Konstantynowicz1-3/+7
2018-08-141807 report: added HW calibration sections to test_environment plus editing n...Maciek Konstantynowicz9-53/+559
2018-08-14CSIT-1208: Add new data to 1807 reportPeter Mikus1-0/+4
2018-08-14Revert "CSIT-1208: Add new data to 1807 report"Peter Mikus1-4/+0
2018-08-14CSIT-1208: Add new data to 1807 reportTibor Frank1-0/+4
2018-08-131807 report: removing unused svg files from introduction dir.Maciek Konstantynowicz6-23229/+0
2018-08-09CSIT-1229: Add DMM to reportTibor Frank9-0/+134
2018-08-08FIX: Section names in introduction/overviewTibor Frank1-11/+10
2018-08-08CSIT-1231: Cleanup CSIT RF Tags DescriptionsTibor Frank1-27/+49
2018-08-08CSIT-1232: Edit docs/report/nsh_sfc_functional_tests/overview.rstTibor Frank1-87/+55
2018-08-08CSIT-1233: Edit honeycomb_functional_tests/overviewTibor Frank1-19/+18
2018-08-08Update 18.07 release notesPeter Mikus2-15/+7
2018-08-08CSIT-1230: Improve layout of pdf reportTibor Frank2-8/+13
2018-08-07CSIT-1226: Fix bugs in pdf versionTibor Frank19-268/+429
"n">format (s, "%U", dev_class->format_device_name, hi->dev_instance); else s = format (s, "%s%d", dev_class->name, hi->dev_instance); if (verbose) { if (hw_class->format_device) s = format (s, "\n%U%U", format_white_space, indent + 2, hw_class->format_device, hi->hw_if_index, verbose); else { s = format (s, "\n%U%s", format_white_space, indent + 2, hw_class->name); if (hw_class->format_address && vec_len (hi->hw_address) > 0) s = format (s, " address %U", hw_class->format_address, hi->hw_address); } if (dev_class->format_device) s = format (s, "\n%U%U", format_white_space, indent + 2, dev_class->format_device, hi->dev_instance, verbose); } return s; } u8 * format_vnet_sw_interface_name (u8 * s, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); vnet_sw_interface_t *si = va_arg (*args, vnet_sw_interface_t *); vnet_sw_interface_t *si_sup = vnet_get_sup_sw_interface (vnm, si->sw_if_index); vnet_hw_interface_t *hi_sup; ASSERT (si_sup->type == VNET_SW_INTERFACE_TYPE_HARDWARE); hi_sup = vnet_get_hw_interface (vnm, si_sup->hw_if_index); s = format (s, "%v", hi_sup->name); if (si->type != VNET_SW_INTERFACE_TYPE_HARDWARE) s = format (s, ".%d", si->sub.id); return s; } u8 * format_vnet_sw_if_index_name (u8 * s, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); u32 sw_if_index = va_arg (*args, u32); vnet_sw_interface_t *si; si = vnet_get_sw_interface_safe (vnm, sw_if_index); if (NULL == si) { return format (s, "DELETED"); } return format (s, "%U", format_vnet_sw_interface_name, vnm, si); } u8 * format_vnet_hw_if_index_name (u8 * s, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); u32 hw_if_index = va_arg (*args, u32); vnet_hw_interface_t *hi; hi = vnet_get_hw_interface (vnm, hw_if_index); if (hi == 0) return format (s, "DELETED"); return format (s, "%v", hi->name); } u8 * format_vnet_sw_interface_cntrs (u8 * s, vnet_interface_main_t * im, vnet_sw_interface_t * si) { u32 indent, n_printed; int i, j, n_counters; static vnet_main_t **my_vnet_mains; vec_reset_length (my_vnet_mains); indent = format_get_indent (s); n_printed = 0; { vlib_combined_counter_main_t *cm; vlib_counter_t v, vtotal; u8 *n = 0; for (i = 0; i < vec_len (vnet_mains); i++) { if (vnet_mains[i]) vec_add1 (my_vnet_mains, vnet_mains[i]); } if (vec_len (my_vnet_mains) == 0) vec_add1 (my_vnet_mains, &vnet_main); /* Each vnet_main_t has its own copy of the interface counters */ n_counters = vec_len (im->combined_sw_if_counters); /* rx, tx counters... */ for (j = 0; j < n_counters; j++) { vtotal.packets = 0; vtotal.bytes = 0; for (i = 0; i < vec_len (my_vnet_mains); i++) { im = &my_vnet_mains[i]->interface_main; cm = im->combined_sw_if_counters + j; vlib_get_combined_counter (cm, si->sw_if_index, &v); vtotal.packets += v.packets; vtotal.bytes += v.bytes; } /* Only display non-zero counters. */ if (vtotal.packets == 0) continue; if (n_printed > 0) s = format (s, "\n%U", format_white_space, indent); n_printed += 2; if (n) _vec_len (n) = 0; n = format (n, "%s packets", cm->name); s = format (s, "%-16v%16Ld", n, vtotal.packets); _vec_len (n) = 0; n = format (n, "%s bytes", cm->name); s = format (s, "\n%U%-16v%16Ld", format_white_space, indent, n, vtotal.bytes); } vec_free (n); } { vlib_simple_counter_main_t *cm; u64 v, vtotal; n_counters = vec_len (im->sw_if_counters); for (j = 0; j < n_counters; j++) { vtotal = 0; for (i = 0; i < vec_len (my_vnet_mains); i++) { im = &my_vnet_mains[i]->interface_main; cm = im->sw_if_counters + j; v = vlib_get_simple_counter (cm, si->sw_if_index); vtotal += v; } /* Only display non-zero counters. */ if (vtotal == 0) continue; if (n_printed > 0) s = format (s, "\n%U", format_white_space, indent); n_printed += 1; s = format (s, "%-16s%16Ld", cm->name, vtotal); } } return s; } static u8 * format_vnet_sw_interface_mtu (u8 * s, va_list * args) { vnet_sw_interface_t *si = va_arg (*args, vnet_sw_interface_t *); return format (s, "%d/%d/%d/%d", si->mtu[VNET_MTU_L3], si->mtu[VNET_MTU_IP4], si->mtu[VNET_MTU_IP6], si->mtu[VNET_MTU_MPLS]); } u8 * format_vnet_sw_interface (u8 * s, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); vnet_sw_interface_t *si = va_arg (*args, vnet_sw_interface_t *); vnet_interface_main_t *im = &vnm->interface_main; if (!si) return format (s, "%=32s%=5s%=10s%=21s%=16s%=16s", "Name", "Idx", "State", "MTU (L3/IP4/IP6/MPLS)", "Counter", "Count"); s = format (s, "%-32U%=5d%=10U%=21U", format_vnet_sw_interface_name, vnm, si, si->sw_if_index, format_vnet_sw_interface_flags, si->flags, format_vnet_sw_interface_mtu, si); s = format_vnet_sw_interface_cntrs (s, im, si); return s; } u8 * format_vnet_sw_interface_name_override (u8 * s, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); vnet_sw_interface_t *si = va_arg (*args, vnet_sw_interface_t *); /* caller supplied display name for this interface */ u8 *name = va_arg (*args, u8 *); vnet_interface_main_t *im = &vnm->interface_main; if (!si) return format (s, "%=32s%=5s%=16s%=16s%=16s", "Name", "Idx", "State", "Counter", "Count"); s = format (s, "%-32v%=5d%=16U", name, si->sw_if_index, format_vnet_sw_interface_flags, si->flags); s = format_vnet_sw_interface_cntrs (s, im, si); return s; } uword unformat_vnet_hw_interface (unformat_input_t * input, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); u32 *hw_if_index = va_arg (*args, u32 *); vnet_interface_main_t *im = &vnm->interface_main; vnet_device_class_t *c; /* Try per device class functions first. */ vec_foreach (c, im->device_classes) { if (c->unformat_device_name && unformat_user (input, c->unformat_device_name, hw_if_index)) return 1; } return unformat_user (input, unformat_hash_vec_string, im->hw_interface_by_name, hw_if_index); } uword unformat_vnet_sw_interface (unformat_input_t * input, va_list * args) { vnet_main_t *vnm = va_arg (*args, vnet_main_t *); u32 *result = va_arg (*args, u32 *); vnet_hw_interface_t *hi; u32 hw_if_index, id, id_specified; u32 sw_if_index; u8 *if_name = 0; uword *p, error = 0; id = ~0; if (unformat (input, "%_%v.%d%_", &if_name, &id) && ((p = hash_get (vnm->interface_main.hw_interface_by_name, if_name)))) { hw_if_index = p[0]; id_specified = 1; } else if (unformat (input, "%U", unformat_vnet_hw_interface, vnm, &hw_if_index)) id_specified = 0; else goto done; hi = vnet_get_hw_interface (vnm, hw_if_index); if (!id_specified) { sw_if_index = hi->sw_if_index; } else { if (!(p = hash_get (hi->sub_interface_sw_if_index_by_id, id))) goto done; sw_if_index = p[0]; } if (!vnet_sw_interface_is_api_visible (vnm, sw_if_index)) goto done; *result = sw_if_index; error = 1; done: vec_free (if_name); return error; } uword unformat_vnet_sw_interface_flags (unformat_input_t * input, va_list * args) { u32 *result = va_arg (*args, u32 *); u32 flags = 0; if (unformat (input, "up")) flags |= VNET_SW_INTERFACE_FLAG_ADMIN_UP; else if (unformat (input, "down")) flags &= ~VNET_SW_INTERFACE_FLAG_ADMIN_UP; else if (unformat (input, "punt")) flags |= VNET_SW_INTERFACE_FLAG_PUNT; else if (unformat (input, "enable")) flags &= ~VNET_SW_INTERFACE_FLAG_PUNT; else return 0; *result = flags; return 1; } uword unformat_vnet_hw_interface_flags (unformat_input_t * input, va_list * args) { u32 *result = va_arg (*args, u32 *); u32 flags = 0; if (unformat (input, "up")) flags |= VNET_HW_INTERFACE_FLAG_LINK_UP; else if (unformat (input, "down")) flags &= ~VNET_HW_INTERFACE_FLAG_LINK_UP; else return 0; *result = flags; return 1; } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */