| 125 | } |
| 126 | |
| 127 | static uint64_t |
| 128 | get_qid_iq_stat(const struct sw_evdev *sw, uint16_t obj_idx, |
| 129 | enum xstats_type type, int extra_arg) |
| 130 | { |
| 131 | const struct sw_qid *qid = &sw->qids[obj_idx]; |
| 132 | const int iq_idx = extra_arg; |
| 133 | |
| 134 | switch (type) { |
| 135 | case iq_used: return iq_count(&qid->iq[iq_idx]); |
| 136 | default: return -1; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | static uint64_t |
| 141 | get_qid_port_stat(const struct sw_evdev *sw, uint16_t obj_idx, |
nothing calls this directly
no test coverage detected