soc/qman: export non-programmable FQD fields query
Export qman_query_fq_np() function and related structures. This will be needed in the caam/qi driver, where "queue empty" condition will be decided based on the frm_cnt. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
此提交包含在:
@@ -2019,8 +2019,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int qman_query_fq_np(struct qman_fq *fq,
|
||||
struct qm_mcr_queryfq_np *np)
|
||||
int qman_query_fq_np(struct qman_fq *fq, struct qm_mcr_queryfq_np *np)
|
||||
{
|
||||
union qm_mc_command *mcc;
|
||||
union qm_mc_result *mcr;
|
||||
@@ -2046,6 +2045,7 @@ out:
|
||||
put_affine_portal();
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(qman_query_fq_np);
|
||||
|
||||
static int qman_query_cgr(struct qman_cgr *cgr,
|
||||
struct qm_mcr_querycgr *cgrd)
|
||||
|
新增問題並參考
封鎖使用者