Searched refs:cet (Results 1 – 1 of 1) sorted by relevance
1918 struct ch_ev_thresh *cet) in ch_ev_thresh_validate() argument1924 if (cet->cet_unit != CHANNEL_THRESHOLD_UNIT_BYTES && in ch_ev_thresh_validate()1925 cet->cet_unit != CHANNEL_THRESHOLD_UNIT_SLOTS) { in ch_ev_thresh_validate()1942 switch (cet->cet_unit) { in ch_ev_thresh_validate()1944 if (cet->cet_value < bmin) { in ch_ev_thresh_validate()1945 cet->cet_value = bmin; in ch_ev_thresh_validate()1946 } else if (cet->cet_value > bmax) { in ch_ev_thresh_validate()1947 cet->cet_value = bmax; in ch_ev_thresh_validate()1952 if (cet->cet_value < smin) { in ch_ev_thresh_validate()1953 cet->cet_value = smin; in ch_ev_thresh_validate()[all …]