From: Adam Dybkowski Date: Tue, 6 Aug 2019 09:09:54 +0000 (+0200) Subject: compress/isal: shorten queue pair name X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8a95d6bc931ae472f7ed4a552f1467efb763b484;p=dpdk.git compress/isal: shorten queue pair name 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 Signed-off-by: Adam Dybkowski Acked-by: Lee Daly Acked-by: Fiona Trahe --- diff --git a/drivers/compress/isal/isal_compress_pmd_ops.c b/drivers/compress/isal/isal_compress_pmd_ops.c index 77ac6fcf21..31c4559915 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))