SGE_NCOUNTERS
int counter_val[SGE_NCOUNTERS];
if (idx < -1 || idx >= SGE_NCOUNTERS)
if (t4_pktc_idx_ofld < -1 || t4_pktc_idx_ofld >= SGE_NCOUNTERS)
if (t4_pktc_idx < -1 || t4_pktc_idx >= SGE_NCOUNTERS)
if (idx < -1 || idx >= SGE_NCOUNTERS)
KASSERT(pktc_idx < SGE_NCOUNTERS, /* -ve is ok, means don't use */
iq->intr_pktc_idx = SGE_NCOUNTERS - 1;
int intr_pktcount[SGE_NCOUNTERS] = {1, 8, 16, 32}; /* 63 max */