69 ehca_err(ib_dev,
"Invalid EQ type %x. eq=%p", type, eq);
73 ehca_err(ib_dev,
"EQ length must not be zero. eq=%p", eq);
85 if (h_ret != H_SUCCESS) {
86 ehca_err(ib_dev,
"Can't allocate EQ/NEQ. eq=%p", eq);
93 ehca_err(ib_dev,
"Can't allocate EQ pages eq=%p", eq);
97 for (i = 0; i < nr_pages; i++) {
102 goto create_eq_exit2;
110 if (i == (nr_pages - 1)) {
113 if (h_ret != H_SUCCESS || vpage)
114 goto create_eq_exit2;
116 if (h_ret != H_PAGE_REGISTERED)
117 goto create_eq_exit2;
131 ehca_err(ib_dev,
"Can't map interrupt handler.");
139 ehca_err(ib_dev,
"Can't map interrupt handler.");
161 eqe = ipz_eqit_eq_get_inc_valid(&eq->
ipz_queue);
162 spin_unlock_irqrestore(&eq->
spinlock, flags);
182 if (h_ret != H_SUCCESS) {