Home
last modified time | relevance | path

Searched refs:pp_pkt_randomizer (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c254 osm_pkt_randomizer_init(IN OUT osm_pkt_randomizer_t ** pp_pkt_randomizer, in osm_pkt_randomizer_init() argument
262 *pp_pkt_randomizer = malloc(sizeof(osm_pkt_randomizer_t)); in osm_pkt_randomizer_init()
263 if (*pp_pkt_randomizer == NULL) { in osm_pkt_randomizer_init()
267 memset(*pp_pkt_randomizer, 0, sizeof(osm_pkt_randomizer_t)); in osm_pkt_randomizer_init()
268 (*pp_pkt_randomizer)->num_paths_initialized = 0; in osm_pkt_randomizer_init()
271 (*pp_pkt_randomizer)->osm_pkt_drop_rate = tmp; in osm_pkt_randomizer_init()
275 (*pp_pkt_randomizer)->osm_pkt_num_unstable_links = tmp; in osm_pkt_randomizer_init()
277 (*pp_pkt_randomizer)->osm_pkt_num_unstable_links = 1; in osm_pkt_randomizer_init()
281 (*pp_pkt_randomizer)->osm_pkt_unstable_link_rate = tmp; in osm_pkt_randomizer_init()
283 (*pp_pkt_randomizer)->osm_pkt_unstable_link_rate = 20; in osm_pkt_randomizer_init()
[all …]
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_pkt_randomizer.h136 osm_pkt_randomizer_init(IN OUT osm_pkt_randomizer_t ** pp_pkt_randomizer,
165 osm_pkt_randomizer_destroy(IN osm_pkt_randomizer_t ** pp_pkt_randomizer,