From patchwork Tue Aug 6 09:09:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dybkowski, AdamX" X-Patchwork-Id: 57483 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBA9D1BE00; Tue, 6 Aug 2019 11:12:07 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 8B1DB1BDF6 for ; Tue, 6 Aug 2019 11:12:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 02:12:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="257981582" Received: from adamdybx-mobl.ger.corp.intel.com (HELO addy-VirtualBox.isw.intel.com) ([10.103.104.111]) by orsmga001.jf.intel.com with ESMTP; 06 Aug 2019 02:12:04 -0700 From: Adam Dybkowski To: dev@dpdk.org, fiona.trahe@intel.com, paul.e.luse@intel.com Cc: Adam Dybkowski Date: Tue, 6 Aug 2019 11:09:54 +0200 Message-Id: <20190806090954.15807-1-adamx.dybkowski@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] compress/isal: create shorter qp name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 < 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 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))