From 8a95d6bc931ae472f7ed4a552f1467efb763b484 Mon Sep 17 00:00:00 2001 From: Adam Dybkowski Date: Tue, 6 Aug 2019 11:09:54 +0200 Subject: [PATCH] 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 --- 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 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)) -- 2.20.1