Home
last modified time | relevance | path

Searched refs:hwc_cq (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c319 struct hwc_cq *hwc_cq = ctx; in mana_hwc_comp_event() local
322 WARN_ON_ONCE(hwc_cq->gdma_cq != q_self); in mana_hwc_comp_event()
324 completions = hwc_cq->comp_buf; in mana_hwc_comp_event()
325 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event()
326 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event()
332 hwc_cq->tx_event_handler(hwc_cq->tx_event_ctx, in mana_hwc_comp_event()
336 hwc_cq->rx_event_handler(hwc_cq->rx_event_ctx, in mana_hwc_comp_event()
344 static void mana_hwc_destroy_cq(struct gdma_context *gc, struct hwc_cq *hwc_cq) in mana_hwc_destroy_cq() argument
346 kfree(hwc_cq->comp_buf); in mana_hwc_destroy_cq()
348 if (hwc_cq->gdma_cq) in mana_hwc_destroy_cq()
[all …]
/linux-6.12.1/include/net/mana/
Dhw_channel.h133 struct hwc_cq { struct
155 struct hwc_cq *hwc_cq; argument
182 struct hwc_cq *cq;