src/dpdk/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c
static void
mrvl_crypto_pmd_stats_reset(struct rte_cryptodev *dev)
{
	int qp_id;

	for (qp_id = 0; qp_id < dev->data->nb_queue_pairs; qp_id++) {
		struct mrvl_crypto_qp *qp = dev->data->queue_pairs[qp_id];

		memset(&qp->stats, 0, sizeof(qp->stats));
	}
}
/**
 * Reset device statistics (PMD ops callback).
 *
 * @param dev Pointer to the device structure.
 */
Reset device statistics (PMD ops callback).
@param dev Pointer to the device structure.
Reset device statistics ( PMD ops callback ) . @param dev Pointer to the device structure .
static void
mrvl_crypto_pmd_stats_reset(struct rte_cryptodev *dev)
{
	int qp_id;
	for (qp_id = 0; qp_id < dev->data->nb_queue_pairs; qp_id++) {
		struct mrvl_crypto_qp *qp = dev->data->queue_pairs[qp_id];
		memset(&qp->stats, 0, sizeof(qp->stats));
	}
}
static void mrvl_crypto_pmd_stats_reset ( struct rte_cryptodev * dev ) { int qp_id ; for ( qp_id = 0 ; qp_id < dev -> data -> nb_queue_pairs ; qp_id ++ ) { struct mrvl_crypto_qp * qp = dev -> data -> queue_pairs [ qp_id ] ; memset ( & qp -> stats , 0 , sizeof ( qp -> stats ) ) ; } }
Reset device statistics (PMD ops callback).
Reset device statistics ( PMD ops callback ) .