This patch shortens the queue pair name created when initializing
the queue pair of the ISAL PIM, based on the device and qp ids.
The patch idea of shortening the queue pair name was proposed
by Luse, Paul E <<paul.e.l...@intel.com>

Signed-off-by: Adam Dybkowski <adamx.dybkow...@intel.com>
---
 drivers/compress/isal/isal_compress_pmd_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/compress/isal/isal_compress_pmd_ops.c 
b/drivers/compress/isal/isal_compress_pmd_ops.c
index 77ac6fcf2..31c455991 100644
--- a/drivers/compress/isal/isal_compress_pmd_ops.c
+++ b/drivers/compress/isal/isal_compress_pmd_ops.c
@@ -216,7 +216,7 @@ isal_comp_pmd_qp_set_unique_name(struct rte_compressdev 
*dev,
 struct isal_comp_qp *qp)
 {
        unsigned int n = snprintf(qp->name, sizeof(qp->name),
-                       "isal_compression_pmd_%u_qp_%u",
+                       "isal_comp_pmd_%u_qp_%u",
                        dev->data->dev_id, qp->id);
 
        if (n >= sizeof(qp->name))
-- 
2.17.1

Reply via email to