git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/crypto: skip unsupported session
[dpdk.git]
/
drivers
/
common
/
qat
/
qat_qp.c
diff --git
a/drivers/common/qat/qat_qp.c
b/drivers/common/qat/qat_qp.c
index
098b997
..
8e6dd04
100644
(file)
--- a/
drivers/common/qat/qat_qp.c
+++ b/
drivers/common/qat/qat_qp.c
@@
-818,7
+818,7
@@
qat_enqueue_comp_op_burst(void *qp, void **ops, uint16_t nb_ops)
kick_tail:
queue->tail = tail;
tmp_qp->enqueued += total_descriptors_built;
kick_tail:
queue->tail = tail;
tmp_qp->enqueued += total_descriptors_built;
- tmp_qp->stats.enqueued_count +=
total_descriptors_buil
t;
+ tmp_qp->stats.enqueued_count +=
nb_ops_sen
t;
txq_write_tail(tmp_qp, queue);
return nb_ops_sent;
}
txq_write_tail(tmp_qp, queue);
return nb_ops_sent;
}
@@
-860,7
+860,7
@@
qat_dequeue_op_burst(void *qp, void **ops, uint16_t nb_ops)
resp_msg = (uint8_t *)rx_queue->base_addr + head;
resp_msg = (uint8_t *)rx_queue->base_addr + head;
- if (
ops != NULL &&
nb_fw_responses) {
+ if (nb_fw_responses) {
/* only move on to next op if one was ready to return
* to API
*/
/* only move on to next op if one was ready to return
* to API
*/
@@
-880,7
+880,7
@@
qat_dequeue_op_burst(void *qp, void **ops, uint16_t nb_ops)
}
tmp_qp->dequeued += fw_resp_counter;
}
tmp_qp->dequeued += fw_resp_counter;
- tmp_qp->stats.dequeued_count +=
fw
_resp_counter;
+ tmp_qp->stats.dequeued_count +=
op
_resp_counter;
rx_queue->head = head;
if (rx_queue->nb_processed_responses > QAT_CSR_HEAD_WRITE_THRESH)
rx_queue->head = head;
if (rx_queue->nb_processed_responses > QAT_CSR_HEAD_WRITE_THRESH)