aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
AgeCommit message (Expand)AuthorFilesLines
2019-05-21CSIT-1488: Add data to the Report 1904Tibor Frank1-0/+2
2019-05-20Report: Remove (IPSECHW and x520) tests from reportTibor Frank1-6/+6
2019-05-20CSIT-1488: Add data to the Report 1904Tibor Frank1-8/+4
2019-05-17Report: table_soak_vs_ndrTibor Frank1-3/+4
2019-05-17Trending: Reduce input dataTibor Frank1-27/+75
2019-05-17CSIT-1488: Add data to the Report 1904Tibor Frank1-8/+27
2019-05-17Report soak comparison: Add stdev for deltaVratko Polak2-3/+36
2019-05-16Improve soak graphs and contentVratko Polak1-16/+16
2019-05-16CSIT-1488: Add data to the Report 1904Tibor Frank1-2/+10
2019-05-16Report: Configure 1904.21Tibor Frank2-2/+2
2019-05-15Report: Add pdf versionTibor Frank1-2/+2
2019-05-15CSIT-1504: Soak tests - graphTibor Frank2-2/+2
2019-05-15CSIT-1504: Soak tests - graphTibor Frank1-2/+7
2019-05-15CSIT-1504: Soak tests - box plotsTibor Frank1-0/+3
2019-05-15CSIT-1504: Soak tests - box plotsTibor Frank1-0/+8
2019-05-15Report: clean-up ipsec testsTibor Frank1-28/+4
2019-05-15Trending: Add IPSECSWTibor Frank2-3/+31
2019-05-15CSIT-1504: Soak tests - box plotsTibor Frank3-19/+18
2019-05-14CSIT-1504: Soak tests - graphTibor Frank1-29/+27
2019-05-14Report: Remove CFS_OPT from 2n/3n-skx ndrpdr fullTibor Frank1-12/+12
2019-05-14CSIT-1500: Add comparison table for SOAK vs NDRPDRTibor Frank2-73/+44
2019-05-13CSIT-1500: Add comparison table for SOAK vs NDRPDRTibor Frank2-1/+7
2019-05-13CSIT-1500: Add comparison table for SOAK vs NDRPDRTibor Frank1-2/+13
2019-05-13CSIT-1500: Add comparison table for SOAK vs NDRPDRTibor Frank3-42/+219
2019-05-13Report: Add SOAK TestsTibor Frank1-49/+50
2019-05-13CSIT-1488: Add data to the Report 1904Tibor Frank1-10/+17
2019-05-13Report: Configuration for 1904.20Tibor Frank2-2/+2
2019-05-10Report: Add pdf versionTibor Frank1-2/+2
2019-05-10Report: Add message if no oper data is presentTibor Frank1-0/+2
2019-05-10Report: NFV density - diff as integerTibor Frank1-1/+1
2019-05-10Report: Add message if no oper data is presentTibor Frank1-1/+1
2019-05-10CSIT-1488: Add data to the Report 1904Tibor Frank1-6/+8
2019-05-10Report: VPP_func update 2Jan Gelety1-2/+3
2019-05-10Report: Hide wrkTibor Frank1-117/+117
2019-05-09Report: Remove DenvertonTibor Frank1-850/+850
2019-05-09Report: Remove LigatoTibor Frank1-1063/+1062
2019-05-09CSIT-1488: Add data to the Report 1904Tibor Frank2-44/+44
2019-05-09CSIT-1492: Add NF density testsTibor Frank1-2/+2
2019-05-09CSIT-1488: Add data to the Report 1904Tibor Frank1-1/+22
2019-05-09CSIT-1488: Add data to the Report 1904Tibor Frank1-1/+0
2019-05-09Report: NFV GraphsTibor Frank2-8/+15
2019-05-07Report: NFV GraphsTibor Frank1-18/+21
2019-05-07Report: NFV GraphsTibor Frank1-25/+33
2019-05-07Report: NFV GraphsTibor Frank1-3/+15
2019-05-07Report: NFV GraphsTibor Frank1-42/+42
2019-05-07Report: NFV GraphsTibor Frank1-41/+42
2019-05-07Report: Fix NFV GraphsTibor Frank1-2/+2
2019-05-07Report: NFV Service Density - color bar tilteTibor Frank1-1/+3
2019-05-07CSIT-1488: Add data to the Report 1904Tibor Frank1-6/+10
2019-05-06CSIT-1492: Add NF density tests: Models and dataTibor Frank1-36/+36
p">); vec_free (args.secret); reply: /* *INDENT-OFF* */ REPLY_MACRO2 (VL_API_MEMIF_CREATE_REPLY, ({ rmp->sw_if_index = htonl (args.sw_if_index); })); /* *INDENT-ON* */ } /** * @brief Message handler for memif_delete API. * @param mp vl_api_memif_delete_t * mp the api message */ void vl_api_memif_delete_t_handler (vl_api_memif_delete_t * mp) { memif_main_t *mm = &memif_main; vlib_main_t *vm = vlib_get_main (); vnet_main_t *vnm = vnet_get_main (); vl_api_memif_delete_reply_t *rmp; vnet_hw_interface_t *hi = vnet_get_sup_hw_interface (vnm, ntohl (mp->sw_if_index)); memif_if_t *mif; int rv = 0; if (hi == NULL || memif_device_class.index != hi->dev_class_index) rv = VNET_API_ERROR_INVALID_SW_IF_INDEX; else { mif = pool_elt_at_index (mm->interfaces, hi->dev_instance); rv = memif_delete_if (vm, mif); } REPLY_MACRO (VL_API_MEMIF_DELETE_REPLY); } static void send_memif_details (vl_api_registration_t * reg, memif_if_t * mif, vnet_sw_interface_t * swif, u8 * interface_name, u32 context) { vl_api_memif_details_t *mp; vnet_main_t *vnm = vnet_get_main (); memif_main_t *mm = &memif_main; memif_socket_file_t *msf = vec_elt_at_index (mm->socket_files, mif->socket_file_index); vnet_hw_interface_t *hwif; hwif = vnet_get_sup_hw_interface (vnm, swif->sw_if_index); mp = vl_msg_api_alloc (sizeof (*mp)); memset (mp, 0, sizeof (*mp)); mp->_vl_msg_id = htons (VL_API_MEMIF_DETAILS + mm->msg_id_base); mp->context = context; mp->sw_if_index = htonl (swif->sw_if_index); strncpy ((char *) mp->if_name, (char *) interface_name, ARRAY_LEN (mp->if_name) - 1); memcpy (mp->hw_addr, hwif->hw_address, ARRAY_LEN (mp->hw_addr)); mp->id = clib_host_to_net_u32 (mif->id); mp->role = (mif->flags & MEMIF_IF_FLAG_IS_SLAVE) ? 1 : 0; strncpy ((char *) mp->socket_filename, (char *) msf->filename, ARRAY_LEN (mp->socket_filename) - 1); mp->ring_size = htonl (1 << mif->run.log2_ring_size); mp->buffer_size = htons (mif->run.buffer_size); mp->admin_up_down = (swif->flags & VNET_SW_INTERFACE_FLAG_ADMIN_UP) ? 1 : 0; mp->link_up_down = (hwif->flags & VNET_HW_INTERFACE_FLAG_LINK_UP) ? 1 : 0; vl_api_send_msg (reg, (u8 *) mp); } /** * @brief Message handler for memif_dump API. * @param mp vl_api_memif_dump_t * mp the api message */ void vl_api_memif_dump_t_handler (vl_api_memif_dump_t * mp) { memif_main_t *mm = &memif_main; vnet_main_t *vnm = vnet_get_main (); vnet_sw_interface_t *swif; memif_if_t *mif; u8 *if_name = 0; vl_api_registration_t *reg; reg = vl_api_client_index_to_registration (mp->client_index); if (!reg) return; /* *INDENT-OFF* */ pool_foreach (mif, mm->interfaces, ({ swif = vnet_get_sw_interface (vnm, mif->sw_if_index); if_name = format (if_name, "%U%c", format_vnet_sw_interface_name, vnm, swif, 0); send_memif_details (reg, mif, swif, if_name, mp->context); _vec_len (if_name) = 0; })); /* *INDENT-ON* */ vec_free (if_name); } #define vl_msg_name_crc_list #include <memif/memif_all_api_h.h> #undef vl_msg_name_crc_list static void setup_message_id_table (memif_main_t * mm, api_main_t * am) { #define _(id,n,crc) \ vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + mm->msg_id_base); foreach_vl_msg_name_crc_memif; #undef _ } /* Set up the API message handling tables */ clib_error_t * memif_plugin_api_hookup (vlib_main_t * vm) { memif_main_t *mm = &memif_main; api_main_t *am = &api_main; u8 *name; /* Construct the API name */ name = format (0, "memif_%08x%c", api_version, 0); /* Ask for a correctly-sized block of API message decode slots */ mm->msg_id_base = vl_msg_api_get_msg_ids ((char *) name, VL_MSG_FIRST_AVAILABLE); #define _(N,n) \ vl_msg_api_set_handlers((VL_API_##N + mm->msg_id_base), \ #n, \ vl_api_##n##_t_handler, \ vl_noop_handler, \ vl_api_##n##_t_endian, \ vl_api_##n##_t_print, \ sizeof(vl_api_##n##_t), 1); foreach_memif_plugin_api_msg; #undef _ /* * Set up the (msg_name, crc, message-id) table */ setup_message_id_table (mm, am); vec_free (name); return 0; } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */