bus/fslmc: fix size of qman fq descriptor
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 8 May 2020 13:02:10 +0000 (18:32 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
Correct the qman_fq_desc as per the HW defined size

Fixes: 6fef517e17cf ("bus/fslmc: add qman HW fq query count API")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/qbman/qbman_debug.c

index 4cd0923..34374ae 100644 (file)
@@ -20,7 +20,7 @@ struct qbman_fq_query_desc {
        uint8_t verb;
        uint8_t reserved[3];
        uint32_t fqid;
-       uint8_t reserved2[57];
+       uint8_t reserved2[56];
 };
 
 int qbman_fq_query_state(struct qbman_swp *s, uint32_t fqid,