| 255 | } |
| 256 | |
| 257 | void |
| 258 | xlp_cms_enable_intr(int node, int cpu, int type, int watermark) |
| 259 | { |
| 260 | uint64_t cmsbase; |
| 261 | int i, qid; |
| 262 | |
| 263 | cmsbase = nlm_get_cms_regbase(node); |
| 264 | |
| 265 | for (i = 0; i < 4; i++) { |
| 266 | qid = (i + (cpu * 4)) & 0x7f; |
| 267 | nlm_cms_per_queue_level_intr(cmsbase, qid, type, watermark); |
| 268 | nlm_cms_per_queue_timer_intr(cmsbase, qid, 0x1, 0); |
| 269 | } |
| 270 | } |
| 271 | |
| 272 | static int |
| 273 | msgring_process_fast_intr(void *arg) |
no test coverage detected