]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/dpaa/include/fsl_qman.h
bus/dpaa: query queue frame count support
[dpdk.git] / drivers / bus / dpaa / include / fsl_qman.h
index 14f5cc5a94c566e3eb1bd4a8fd3b23b0999d6c69..5baa689d145d3435074cfa295200a0a3dda47d01 100644 (file)
@@ -1615,6 +1615,13 @@ int qman_query_fq_has_pkts(struct qman_fq *fq);
  */
 int qman_query_fq_np(struct qman_fq *fq, struct qm_mcr_queryfq_np *np);
 
+/**
+ * qman_query_fq_frmcnt - Queries fq frame count
+ * @fq: the frame queue object to be queried
+ * @frm_cnt: number of frames in the queue
+ */
+int qman_query_fq_frm_cnt(struct qman_fq *fq, u32 *frm_cnt);
+
 /**
  * qman_query_wq - Queries work queue lengths
  * @query_dedicated: If non-zero, query length of WQs in the channel dedicated