aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-verify-perf.sh
AgeCommit message (Expand)AuthorFilesLines
2016-08-15CSIT-226: Install vpp-plugins deb package on DUTMatej Klotton1-0/+1
2016-08-09Make all perf tests CRITICALMiroslav Miklus1-1/+1
2016-08-02CSIT-311 New Nightly CSIT perf jobMiroslav Miklus1-1/+11
2016-08-01CSIT-310 Use multi-NIC topology filesMiroslav Miklus1-3/+3
2016-07-22CSIT-220: Rename directories in tests directoryMatej Klotton1-8/+10
2016-07-15Use vpp 16.09-rc0~233-gad2c9c0~b404 packageMiroslav Miklus1-12/+13
2016-07-15CSIT-106 Introduced SKIP_PATCH tag in perf suiteMiroslav Miklus1-1/+1
2016-07-01TEST: PERF pybot output set width to 150 charactersMiroslav Miklus1-1/+1
2016-06-27Mark all PERF tests as noncriticalMiroslav Miklus1-2/+1
2016-06-21Change VPP repo URLpmikus1-1/+1
2016-06-17Change VPP repo URLpmikus1-1/+1
2016-06-11Process output of robot to XML file for Plot pluginpmikus1-2/+4
2016-06-10VPP startup config change (rss->txqueues)Miroslav Miklus1-2/+2
2016-06-02CSIT-114: Eliminate repeated download of PIP packagesCarsten Koester1-1/+1
2016-05-31PATCH: Return pybot exit code in bootstrap-verify-perfPeter Mikus1-0/+13
2016-05-26Find PDR using binary searchPeter Mikus1-0/+13
2016-05-26Rename topology files with correct NIC namesMiroslav Miklus1-3/+3
2016-05-23Performance l2-vlan-dot1q library and short/long test casespmikus1-0/+7
2016-05-22TB3 topology file with X520-DA2 NICsMiroslav Miklus1-1/+2
2016-05-19TB1 topology file with X520-DA2 NICs onlyMiroslav Miklus1-1/+3
2016-05-19Parse robot output.xml for performance reportingpmikus1-0/+17
2016-05-18PERF bootstrap, apply global PYBOT args to all test typesMiroslav Miklus1-6/+12
2016-05-18Explicitly list the NIC type for perf testsMiroslav Miklus1-4/+4
2016-05-12Update of vpp build for perf testsMiroslav Miklus1-1/+1
2016-05-11Performance IPv6 library and short/long test casespmikus1-0/+6
2016-05-06Extend testbed reservation wait timeMiroslav Miklus1-2/+2
2016-05-02Topo installation script fixMiroslav Miklus1-2/+2
2016-04-27Installation of stable vpp version for csit-vpp-perf-hw-all jenkins jobMiroslav Miklus1-13/+71
2016-04-12Boostrap verify installation directory removalpmikus1-1/+1
2016-04-12Bootstrap verify performance fixpmikus1-10/+12
2016-04-12Bootstrap verify perfomance fixpmikus1-1/+1
2016-04-05Add tag support to boostrap-verify-perfpmikus1-4/+12
2016-04-01Bootstrap to test perf of proposed patch vpp-csit-hw-perfpmikus1-0/+82
= fib_path_list_create (FIB_PATH_LIST_FLAG_NO_URPF, rpaths); ipr->sibling = fib_path_list_child_add (ipr->pl, FIB_NODE_TYPE_IP_PUNT_REDIRECT, ipri); ip_punt_redirect_stack (ipr); } void ip_punt_redirect_del (fib_protocol_t fproto, u32 rx_sw_if_index) { ip_punt_redirect_rx_t *ipr; index_t *rxs; if (~0 == rx_sw_if_index) rx_sw_if_index = 0; rxs = ip_punt_redirect_cfg.redirect_by_rx_sw_if_index[fproto]; if ((vec_len (rxs) <= rx_sw_if_index) || (INDEX_INVALID == rxs[rx_sw_if_index])) return; ipr = ip_punt_redirect_get (rxs[rx_sw_if_index]); fib_path_list_child_remove (ipr->pl, ipr->sibling); dpo_reset (&ipr->dpo); pool_put (ip_punt_redirect_cfg.pool, ipr); rxs[rx_sw_if_index] = INDEX_INVALID; } u8 * format_ip_punt_redirect (u8 * s, va_list * args) { fib_protocol_t fproto = va_arg (*args, int); ip_punt_redirect_rx_t *rx; index_t *rxs; u32 rx_sw_if_index; vnet_main_t *vnm = vnet_get_main (); rxs = ip_punt_redirect_cfg.redirect_by_rx_sw_if_index[fproto]; vec_foreach_index (rx_sw_if_index, rxs) { if (INDEX_INVALID == rxs[rx_sw_if_index]) continue; rx = ip_punt_redirect_get (rxs[rx_sw_if_index]); s = format (s, " rx %U via:\n", format_vnet_sw_interface_name, vnm, vnet_get_sw_interface (vnm, rx_sw_if_index)); s = format (s, " %U", format_fib_path_list, rx->pl, 2); s = format (s, " forwarding\n", format_dpo_id, &rx->dpo, 0); s = format (s, " %U\n", format_dpo_id, &rx->dpo, 0); } return (s); } void ip_punt_redirect_walk (fib_protocol_t fproto, ip_punt_redirect_walk_cb_t cb, void *ctx) { ip_punt_redirect_rx_t *rx; u32 ii, rx_sw_if_index; index_t *rxs; rxs = ip_punt_redirect_cfg.redirect_by_rx_sw_if_index[fproto]; vec_foreach_index (ii, rxs) { if (INDEX_INVALID == rxs[ii]) continue; rx = ip_punt_redirect_get (rxs[ii]); rx_sw_if_index = (ii == 0 ? ~0 : ii); cb (rx_sw_if_index, rx, ctx); } } static fib_node_t * ip_punt_redirect_get_node (fib_node_index_t index) { ip_punt_redirect_rx_t *ipr = ip_punt_redirect_get (index); return (&(ipr->node)); } static ip_punt_redirect_rx_t * ip_punt_redirect_get_from_node (fib_node_t * node) { return ((ip_punt_redirect_rx_t *) (((char *) node) - STRUCT_OFFSET_OF (ip_punt_redirect_rx_t, node))); } static void ip_punt_redirect_last_lock_gone (fib_node_t * node) { /* * the lifetime of the entry is managed by the table. */ ASSERT (0); } /* * A back walk has reached this BIER entry */ static fib_node_back_walk_rc_t ip_punt_redirect_back_walk_notify (fib_node_t * node, fib_node_back_walk_ctx_t * ctx) { /* * re-populate the ECMP tables with new choices */ ip_punt_redirect_rx_t *ipr = ip_punt_redirect_get_from_node (node); ip_punt_redirect_stack (ipr); /* * no need to propagate further up the graph, since there's nothing there */ return (FIB_NODE_BACK_WALK_CONTINUE); } /* * The BIER fmask's graph node virtual function table */ static const fib_node_vft_t ip_punt_redirect_vft = { .fnv_get = ip_punt_redirect_get_node, .fnv_last_lock = ip_punt_redirect_last_lock_gone, .fnv_back_walk = ip_punt_redirect_back_walk_notify, }; static clib_error_t * ip_punt_drop_init (vlib_main_t * vm) { fib_node_register_type (FIB_NODE_TYPE_IP_PUNT_REDIRECT, &ip_punt_redirect_vft); ip4_punt_policer_cfg.fq_index = vlib_frame_queue_main_init (ip4_punt_policer_node.index, 0); ip6_punt_policer_cfg.fq_index = vlib_frame_queue_main_init (ip6_punt_policer_node.index, 0); return (NULL); } VLIB_INIT_FUNCTION (ip_punt_drop_init); /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */