MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nlm_cms_per_queue_level_intr

Function nlm_cms_per_queue_level_intr

freebsd/mips/nlm/hal/fmn.c:196–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void nlm_cms_per_queue_level_intr(uint64_t base, int qid, int sub_type,
197 int intr_val)
198{
199 uint64_t val;
200
201 val = nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid));
202
203 val &= ~((0x7ULL << 56) | (0x3ULL << 54));
204
205 val |= (((uint64_t)sub_type<<54) |
206 ((uint64_t)intr_val<<56));
207
208 nlm_write_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid), val);
209}
210
211void nlm_cms_per_queue_timer_intr(uint64_t base, int qid, int sub_type,
212 int intr_val)

Callers 1

xlp_cms_enable_intrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected