compress/isal: shorten queue pair name
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Tue, 6 Aug 2019 09:09:54 +0000 (11:09 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
This patch shortens the queue pair name created when initializing
the queue pair of the ISAL PIM, based on the device and qp ids.

Suggested-by: Paul Luse <paul.e.luse@intel.com>
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Lee Daly <lee.daly@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/compress/isal/isal_compress_pmd_ops.c

index 77ac6fc..31c4559 100644 (file)
@@ -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))