hw.c (25b5d6fd6d13b2de3780a0ae247befc43c4576fe) hw.c (10467ce09fefa2e74359f5b2ab1efb8909402f19)
1// SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB
2/* Copyright (c) 2015 - 2021 Intel Corporation */
3#include "main.h"
4
5static struct irdma_rsrc_limits rsrc_limits_table[] = {
6 [0] = {
7 .qplimit = SZ_128,
8 },

--- 46 unchanged lines hidden (view full) ---

55/**
56 * irdma_iwarp_ce_handler - handle iwarp completions
57 * @iwcq: iwarp cq receiving event
58 */
59static void irdma_iwarp_ce_handler(struct irdma_sc_cq *iwcq)
60{
61 struct irdma_cq *cq = iwcq->back_cq;
62
1// SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB
2/* Copyright (c) 2015 - 2021 Intel Corporation */
3#include "main.h"
4
5static struct irdma_rsrc_limits rsrc_limits_table[] = {
6 [0] = {
7 .qplimit = SZ_128,
8 },

--- 46 unchanged lines hidden (view full) ---

55/**
56 * irdma_iwarp_ce_handler - handle iwarp completions
57 * @iwcq: iwarp cq receiving event
58 */
59static void irdma_iwarp_ce_handler(struct irdma_sc_cq *iwcq)
60{
61 struct irdma_cq *cq = iwcq->back_cq;
62
63 if (!cq->user_mode)
64 cq->armed = false;
63 if (cq->ibcq.comp_handler)
64 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context);
65}
66
67/**
68 * irdma_puda_ce_handler - handle puda completion events
69 * @rf: RDMA PCI function
70 * @cq: puda completion q for event

--- 2660 unchanged lines hidden ---
65 if (cq->ibcq.comp_handler)
66 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context);
67}
68
69/**
70 * irdma_puda_ce_handler - handle puda completion events
71 * @rf: RDMA PCI function
72 * @cq: puda completion q for event

--- 2660 unchanged lines hidden ---