From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id DCFEC4CC5 for ; Tue, 10 Jan 2017 13:15:34 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id r144so20480079wme.0 for ; Tue, 10 Jan 2017 04:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=tD4ADC+CMT9iuNjrPq6VHdVeAZ3kpP8H7wR8m9t5nDM=; b=m1iN1Xdz1meMXshXd89MjQmQvXOnoF4q91LIE81fqi28LhCjFBtTZRjbLqLliz/Yke E3a34oc99DFquZ2opmpqFoAU25Uw+gElvXKSpkQMvAauiyHCdQo+OLFk/+VL7y3h9IMV awczU8+VnouztpZZwTjjUm/xnMvqvluDIRrvYU5IKENBZnIW5z2YmVnQqBX7K6pTa6gz Ut1np6gSSEqIv0ZFm981+mo+NvmTIgO1lGyYLwcJYCVNWPARzWJQRllvJep8Aj4t1NA4 mP9fjU2vdzlEncTzI8u52WExTLDxQ6Recfu/8tmAW+oabfX4Q9UeMFpci9EZs0llqv63 MoiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=tD4ADC+CMT9iuNjrPq6VHdVeAZ3kpP8H7wR8m9t5nDM=; b=iSOkEbVKLsy9YY4E99tVX+XXwSQlKQN0OsbdnC/hByxn0qBjzfM9BnVrdIomM87M3e 0brlW0UQ+PgMDwGkQkM2gAPl0dYPB01lLR3u8lFsLWkB5N59Sp4IEeKFa3KhecjI/tI4 YgjlFmrbQlSSDvL8qp/dQ/ohpn7DPPxyVJPvheaboL9mYWRw84vckBlOBpBrKsIt+bI4 k4cuFOWTUduWzv+KZQWqv6G6sWgnep7Q+Vz1Mi24vf/GR/htDG0NzNsTaVuXlHQQLXvw 27IJxszGyQdC/XhxEQAfuCPkzJji1L4uX4FaPnzy/mJXFjGrhjvaIB35aRh24Ukj9oOQ 3jBg== X-Gm-Message-State: AIkVDXJjw3g+0UoIt4RZD5/5arPtYm4C1IlN60AfrQcMI89oXhmZk3NGIUKn34ofF2N74cPNNQh2j0x5rU4MRw== X-Received: by 10.223.134.218 with SMTP id 26mr1763327wry.104.1484050534447; Tue, 10 Jan 2017 04:15:34 -0800 (PST) MIME-Version: 1.0 Sender: jblunck@gmail.com Received: by 10.28.63.83 with HTTP; Tue, 10 Jan 2017 04:15:33 -0800 (PST) In-Reply-To: <20170107181756.1944-7-sthemmin@microsoft.com> References: <20170107181756.1944-1-sthemmin@microsoft.com> <20170107181756.1944-7-sthemmin@microsoft.com> From: Jan Blunck Date: Tue, 10 Jan 2017 13:15:33 +0100 X-Google-Sender-Auth: McKQjj0vZau6elMg4xsPyvR_5dA Message-ID: To: Stephen Hemminger Cc: dev@dpdk.org, Stephen Hemminger Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH 6/8] qat: don't refer to eth_dev->pci_dev 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: , X-List-Received-Date: Tue, 10 Jan 2017 12:15:35 -0000 On Sat, Jan 7, 2017 at 7:17 PM, Stephen Hemminger wrote: > Later patches remove pci_dev from the ethernet device structure. > Fix the quick assist code to just use it's own name when forming zone name. > > Signed-off-by: Stephen Hemminger > --- > drivers/crypto/qat/qat_qp.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/crypto/qat/qat_qp.c b/drivers/crypto/qat/qat_qp.c > index 2e7188bd..fe76e04a 100644 > --- a/drivers/crypto/qat/qat_qp.c > +++ b/drivers/crypto/qat/qat_qp.c > @@ -299,9 +299,9 @@ qat_queue_create(struct rte_cryptodev *dev, struct qat_queue *queue, > /* > * Allocate a memzone for the queue - create a unique name. > */ > - snprintf(queue->memz_name, sizeof(queue->memz_name), "%s_%s_%d_%d_%d", > - dev->driver->pci_drv.driver.name, "qp_mem", dev->data->dev_id, > - queue->hw_bundle_number, queue->hw_queue_number); > + snprintf(queue->memz_name, sizeof(queue->memz_name), > + "qat_qp_mem_%d_%u_%u", dev->data->dev_id, This driver is called 'crypto_qat'. > + queue->hw_bundle_number, queue->hw_queue_number); > qp_mz = queue_dma_zone_reserve(queue->memz_name, queue_size_bytes, > socket_id); > if (qp_mz == NULL) { > -- > 2.11.0 >