Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_umadt.c511 uint32_t num_mads = 0; in osm_vendor_send() local
620 num_mads = payload_len / IB_SA_DATA_SIZE; in osm_vendor_send()
622 num_mads++; /* Get one additional mad for the remainder */ in osm_vendor_send()
624 for (i = 0; i < num_mads; i++) { in osm_vendor_send()
646 if (num_mads == 1) { /* Only one Packet */ in osm_vendor_send()
659 } else if (i < num_mads - 1) { /* Not last packet */ in osm_vendor_send()
676 } else if (i == num_mads - 1) { /* Last packet */ in osm_vendor_send()