summaryrefslogtreecommitdiffstats
path: root/src/plugins/marvell
AgeCommit message (Expand)AuthorFilesLines
2021-01-26interface: remove vnet_device_input_runtime_tMohammed Hawari1-11/+12
2021-01-21marvell: adapt pp2 to new rxq framework.Mohammed Hawari2-9/+11
2020-10-08interface: shorten vnet_hw_if_rx_modeDamjan Marion1-1/+1
2020-09-06marvell: add cli options to configure rxq and txq sizesChristian E. Hopps1-1/+6
2019-12-09marvell: use explicit types in apiOle Troan1-3/+4
2019-10-07api: Add API support for marvell PP2 pluginJianlin Lv7-1/+336
2019-09-24vlib: add flag to explicitelly mark nodes which can init per-node packet traceDamjan Marion1-0/+1
2019-07-23api: binary api cleanupDave Barach1-1/+1
2019-06-11fix compiling error with marvell pp2 pluginjialv011-0/+1
2019-05-03plugins: clean up plugin descriptionsDave Wallace1-1/+1
2019-02-09buffers: fix typoDamjan Marion1-1/+1
2019-02-06buffers: make buffer data size configurable from startup configDamjan Marion1-1/+1
2019-01-20buffers: remove VLIB_BUFFER_DEFAULT_FREE_LIST macro and fl->n_data_bytesDamjan Marion1-1/+1
2019-01-18Add vlib_buffer_copy_indices inline functionDamjan Marion1-1/+1
2018-11-14Remove c-11 memcpy checks from perf-critical codeDave Barach2-10/+10
2018-11-13vlib rename vlib_frame_args(...) to vlib_frame_scalar_args(..)Damjan Marion1-3/+3
2018-11-06marvell: bump musdk version to 18.09.3Damjan Marion5-17/+35
2018-10-23c11 safe string handling supportDave Barach1-1/+1
2018-10-22vlib: introduce vlib_buffer_get_{pa,va,current_va,current_pa} inlinesDamjan Marion2-2/+3
2018-08-28cmake: fix marvell plugin buildBrian Brooks1-2/+5
2018-08-25cmake: improve add_vpp_plugin macroDamjan Marion1-1/+1
2018-08-18cmake: highlight warning and error messagesDamjan Marion1-3/+2
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-0/+32
2018-07-26pp2: change default queue sizeBrian Brooks1-2/+2
2018-07-11avoid using thread local storage for thread indexDamjan Marion2-2/+2
2018-07-10pp2: increase recycle batch sizeBrian Brooks1-1/+3
2018-07-10pp2: use configured RX queue sizeBrian Brooks1-1/+1
2018-04-04Doc updates prior to branchChris Luke1-1/+1
2018-01-15Marvell device pluginDamjan Marion8-0/+1484
ofp; clib_error_t *error = 0; int i; elog_main_t *em = &elog_main; double starttime, delta; vec_free(em->events); vec_free(em->event_types); if (the_trackdef_hash) hash_free(the_trackdef_hash); the_trackdef_hash = hash_create (0, sizeof (uword)); error = elog_read_file (&elog_main, clib_file); if (error) { fformat(stderr, "%U", format_clib_error, error); return (1); } if (ofp == NULL) { ofp = fdopen(2, "w"); if (ofp == NULL) { fprintf(stderr, "Couldn't fdopen(2)?\n"); exit(1); } } em = &elog_main; for (i = 0; i < vec_len (em->tracks); i++) { u32 track_code; bound_track_t * btp; elog_track_t * t; uword * p; int track_strlen; t = &em->tracks[i]; track_code = i; p = hash_get(the_trackdef_hash, track_code); if (p) { fprintf(ofp, "track %d redefined, retain first definition\n", track_code); continue; } vec_add2(bound_tracks, btp, 1); btp->track = track_code; btp->track_str = t->name; hash_set(the_trackdef_hash, track_code, btp - bound_tracks); track_strlen = strlen((char *)btp->track_str); if (track_strlen > widest_track_format) widest_track_format = track_strlen; } initialize_events(); for (i = 0; i < vec_len (em->event_types); i++) { elog_event_type_t *ep; u8 *tmp; ep = vec_elt_at_index(em->event_types, i); tmp = (u8 *) vec_dup(ep->format); vec_add1(tmp,0); add_event_from_clib_file (ep->type_index_plus_one, (char *) tmp, i); vec_free(tmp); } finalize_events(); em->events = elog_get_events (em); cpel_event_init(vec_len(em->events)); starttime = em->events[0].time; for (i = 0; i < vec_len (em->events); i++) { elog_event_t *ep; ep = vec_elt_at_index(em->events, i); delta = ep->time - starttime; add_clib_event (delta, ep->track, ep->type + 1, i); } cpel_event_finalize(); set_pid_ax_width(8*widest_track_format); return(0); }