From patchwork Tue Sep 18 13:31:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 146901 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp5051272ljw; Tue, 18 Sep 2018 06:35:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYUBZUCWdwC0U/WqUbYW5taOQ1ZcHqHPqIiy14ds4gdwjAfkpxZqOZNueFohGkJlGA0MK9k X-Received: by 2002:a1c:9616:: with SMTP id y22-v6mr15920674wmd.72.1537277711842; Tue, 18 Sep 2018 06:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537277711; cv=none; d=google.com; s=arc-20160816; b=UE2DxEy9pc0rc1AmiUkHaWqYNpDWqsdIkpWC8inLaDB2DZUqLKFN/TN+KNaV+d613B jIq4FUYj1TLwQukIKXziOPMUhDZGvnolIaM5wsuKw79BusZDfKf/jal6dMLZzWKabYSZ O3EWmm7asoDh8AXhynGuWQgUmRKNfthLX1D5f17drd5wZjHKh78Sb1DSizyc7Hy7X1nv GotlI9VS76s4a19GA68wlPatSSkHkUTNm30hKO3h195EjcswT9rbx9jDTA5kbVkqwBvv Bw+IS6RYX1AfThk1xeqKoCRAaiyJUCViXN2OxOeYUvGsT2YgLQagbTrc7ErnstSkUL4J wYyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=JVbc/B2bYnppd+PXzaUi5O5+T6gITQQ2doWElaZWnV0=; b=sbMg1L6WeD9zb32U6KNehiGMWPKONwNlHq2JQ4JuC2lYP+6nDIy+8kHuEqMtYc2Xn8 vyIMmKa/VKcPoIHdWCsb54G71tbUvEvPeWXMTFhIQupiQppvGXXw96c4lISqH9ba5Dm+ Rt5MmPIwmjGbskXskpzffU0Rv/ijjdw9DAz7RBi4R4zDd/jGPlXWCkAp1LoFLWAjNVpr ORbV6ehdkAUDsI4o5tQnXTLQCXZofUGajHIcMyEw5aT8DFA9j1MQuJbsKAT02MMMqsKm TAQpueBmNE7sn0ByrtXYdtVi8NsTZKAo7P+2N5b7Q0avnr3ghUQSeUUMNbyUWOcMotIJ y4MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id o199-v6si10400919wmd.170.2018.09.18.06.35.11; Tue, 18 Sep 2018 06:35:11 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3608B5A6A; Tue, 18 Sep 2018 15:34:12 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id BA79D4CA7 for ; Tue, 18 Sep 2018 15:34:04 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9F3231A0143; Tue, 18 Sep 2018 15:34:04 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 144BF1A0147; Tue, 18 Sep 2018 15:34:02 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AF07E402B1; Tue, 18 Sep 2018 21:33:57 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@intel.com Cc: Nipun Gupta Date: Tue, 18 Sep 2018 19:01:50 +0530 Message-Id: <1537277516-8876-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com> References: <1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com> <1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 07/13] bus/dpaa: avoid tag Set for eqcr in Tx path 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" From: Nipun Gupta Minor optimization for TX path. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.7.4 diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 8730550..71da275 100644 --- a/drivers/bus/dpaa/base/qbman/qman.c +++ b/drivers/bus/dpaa/base/qbman/qman.c @@ -2238,11 +2238,6 @@ int qman_enqueue_multi(struct qman_fq *fq, /* try to send as many frames as possible */ while (eqcr->available && frames_to_send--) { eq->fqid = fq->fqid_le; -#ifdef CONFIG_FSL_QMAN_FQ_LOOKUP - eq->tag = cpu_to_be32(fq->key); -#else - eq->tag = cpu_to_be32((u32)(uintptr_t)fq); -#endif eq->fd.opaque_addr = fd->opaque_addr; eq->fd.addr = cpu_to_be40(fd->addr); eq->fd.status = cpu_to_be32(fd->status);