|
@@ -753,8 +753,7 @@ static enum i40iw_status_code i40iw_cq_post_entries(struct i40iw_cq_uk *cq,
|
|
|
* @post_cq: update cq tail
|
|
|
*/
|
|
|
static enum i40iw_status_code i40iw_cq_poll_completion(struct i40iw_cq_uk *cq,
|
|
|
- struct i40iw_cq_poll_info *info,
|
|
|
- bool post_cq)
|
|
|
+ struct i40iw_cq_poll_info *info)
|
|
|
{
|
|
|
u64 comp_ctx, qword0, qword2, qword3, wqe_qword;
|
|
|
u64 *cqe, *sw_wqe;
|
|
@@ -878,11 +877,9 @@ exit:
|
|
|
if (I40IW_RING_GETCURRENT_HEAD(cq->cq_ring) == 0)
|
|
|
cq->polarity ^= 1;
|
|
|
|
|
|
- if (post_cq) {
|
|
|
- I40IW_RING_MOVE_TAIL(cq->cq_ring);
|
|
|
- set_64bit_val(cq->shadow_area, 0,
|
|
|
- I40IW_RING_GETCURRENT_HEAD(cq->cq_ring));
|
|
|
- }
|
|
|
+ I40IW_RING_MOVE_TAIL(cq->cq_ring);
|
|
|
+ set_64bit_val(cq->shadow_area, 0,
|
|
|
+ I40IW_RING_GETCURRENT_HEAD(cq->cq_ring));
|
|
|
} else {
|
|
|
if (info->is_srq)
|
|
|
return ret_code;
|