From patchwork Fri Sep 21 11:05:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 147235 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp671957ljw; Fri, 21 Sep 2018 04:08:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZOnKKRynIflIAE5Y5I3DIGH3+6zRBRb5VgrHlf10QIEgmrHlXlGDMWW7n4BN5uHs8qnEZL X-Received: by 2002:a1c:780c:: with SMTP id t12-v6mr6393713wmc.133.1537528139932; Fri, 21 Sep 2018 04:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537528139; cv=none; d=google.com; s=arc-20160816; b=E3uXGmTVbW42GIWYS0xoAn1zkF83z2cGOjGdXog3zkWPvgfuescJQRk7EIGWiinkkj CW8aimc75N7/YPI8FxNIjGhXbtyxDMSTpB1uwNbIsFIkQI0nY+h/efgzonZ7BVk9kcLr gk5f8MlJjTcW4Oz79waRFTFB7rCHIr7Ogncem8IJOi7YvA+VgRBQB6so8VGW5/3h7SzF HUBWfYDLxGYfQO71jwqoElaL4Ew7TARxMYEIwFC75IIKBzECz5N2PF/kGz5HLVSsw47N V3FT6XAf/JsMhEX/g4kseiU2pPYve6WLoE7jvwe4lnU7XG7Ln6+i97AIdYk83Uhg6yvV 1j3Q== 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=Z1LVwCQbeWzpZEwRTJf5ipKehoMqK+iz6HDRGP1TcBgpi8rgAQBZJ4Wx71hyBVq9iZ +EGe5D80qQ59yFeIbD7L/uI0EeYJeZ4MWxP08xBAI6AZ4fnnS5qtuTqNiVumK/31ASnK tUM020xYYWQ+t/FEyuws9ITvYz6TvCUIpPORL+/+Vsy4awc48hDFKFdFdpN+YQNmSm7o fDPXIwg5JQ0f+PDYeMm7GYlj41iHA4hIsBvjtM/Pko3jWsexvr/CJj8K+JHU69kgbdac GSy8b9dQpJKYKz8TN/AhO9RnKDoiNyv8ajBVlm8yNmM2DGPm+5++5MhwPfBiJI1JY0Po iTqA== 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 z126-v6si5391522wme.9.2018.09.21.04.08.59; Fri, 21 Sep 2018 04:08:59 -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 BCB845A6A; Fri, 21 Sep 2018 13:08:22 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 1B2A54CA1 for ; Fri, 21 Sep 2018 13:08:12 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F3D7220004C; Fri, 21 Sep 2018 13:08:11 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B0735200041; Fri, 21 Sep 2018 13:08:09 +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 B4B7C402A9; Fri, 21 Sep 2018 19:08:05 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@intel.com Cc: Nipun Gupta Date: Fri, 21 Sep 2018 16:35:56 +0530 Message-Id: <1537527962-25757-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com> References: <1537277516-8876-2-git-send-email-hemant.agrawal@nxp.com> <1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 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);