Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c360 struct hwc_cq *hwc_cq = ctx; in mana_hwc_comp_event() local
363 WARN_ON_ONCE(hwc_cq->gdma_cq != q_self); in mana_hwc_comp_event()
365 completions = hwc_cq->comp_buf; in mana_hwc_comp_event()
366 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event()
367 WARN_ON_ONCE(comp_read <= 0 || comp_read > hwc_cq->queue_depth); in mana_hwc_comp_event()
373 hwc_cq->tx_event_handler(hwc_cq->tx_event_ctx, in mana_hwc_comp_event()
377 hwc_cq->rx_event_handler(hwc_cq->rx_event_ctx, in mana_hwc_comp_event()
385 static void mana_hwc_destroy_cq(struct gdma_context *gc, struct hwc_cq *hwc_cq) in mana_hwc_destroy_cq() argument
387 kfree(hwc_cq->comp_buf); in mana_hwc_destroy_cq()
389 if (hwc_cq->gdma_cq) in mana_hwc_destroy_cq()
[all …]