Message ID | 1515581201-29784-8-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5179678qgn; Wed, 10 Jan 2018 03:56:29 -0800 (PST) X-Google-Smtp-Source: ACJfBovKOLJQjVAXWPO9eZVS9OB1m4cst2XROGkXsLDPfjKKcpAoINirf9ky4k/vq+SSswaZDUku X-Received: by 10.223.139.2 with SMTP id n2mr16433358wra.144.1515585389662; Wed, 10 Jan 2018 03:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515585389; cv=none; d=google.com; s=arc-20160816; b=FFfXROHIgNwBhF0I+ERBmGJi8XfvMUpUhsreozwclrK7DxZCigT87YIeowdC+nCpkp qvRg17LuwACpP6XZNw0do+xh6zixLcY96huvgl7q01tfKWswy+1zy9aj12e2if3J7JA0 NcXwzmWPcYocWmPV8Ov/SifPtVepwFdrbO4GFKKCZLNXYn/h8/1KOI4SB9gaXYLu4Yfr X/lh502ZxnnN2NXuieIbSzdHrhhlxwgmj7Y6UmndgTW/uwWc+XXc7PZv+apQkMHBeujI QKBmr15/TFTwUWcVQ/eshq8x9oe9s1zJThIcPAH0Vx4165u9CHhSMKFT+RFw6hWZZ+QW jqfg== 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:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=KDo8HpaKFQ9EuKjDn8IAJ6VOMjpWqV78mSlLCSDCkGE=; b=zXGCu8RLFn2NwnUEADtbfqL+xy6MIvM06GUmuKOZQuQC3VhzxUfAHFuSNnCj+p6uKy rTfNrh6hZGlg0f0+Y9Rv3hCit8KS4KYtdZyxvZQtTfDnP5vOk3DchxnspD14GbHh5+J0 a965VTsa8stztptBuP6yGv6OYqdURO74iOb2VRwcbUly/gh38IZx1gYj0QeI2RdnDaat g4QAVt6uz85um0tQEK+j64oAXiKWgWnH/Hnc0LytoVXT/bsRwYsX5WaiAMpD6R4I/LmA U+DYS3noJdcg5sAxv9O3mSxt78fKoWDJEWpAPjpGX/T064EFh2QmhhvnBJHbWV+20eA3 gwhg== 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: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id p73si6248802wrc.201.2018.01.10.03.56.29; Wed, 10 Jan 2018 03:56:29 -0800 (PST) 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 06E9E1B2C2; Wed, 10 Jan 2018 12:51:19 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0041.outbound.protection.outlook.com [104.47.37.41]) by dpdk.org (Postfix) with ESMTP id 2D2541B1A3 for <dev@dpdk.org>; Wed, 10 Jan 2018 11:48:07 +0100 (CET) Received: from CY1PR03CA0003.namprd03.prod.outlook.com (2603:10b6:600::13) by DM2PR0301MB0734.namprd03.prod.outlook.com (2a01:111:e400:3c0d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Wed, 10 Jan 2018 10:48:05 +0000 Received: from BY2FFO11FD033.protection.gbl (2a01:111:f400:7c0c::154) by CY1PR03CA0003.outlook.office365.com (2603:10b6:600::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.386.5 via Frontend Transport; Wed, 10 Jan 2018 10:48:05 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD033.mail.protection.outlook.com (10.1.14.218) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Wed, 10 Jan 2018 10:47:33 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0AAljSP007124; Wed, 10 Jan 2018 03:48:02 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <shreyansh.jain@nxp.com>, Nipun Gupta <nipun.gupta@nxp.com> Date: Wed, 10 Jan 2018 16:16:29 +0530 Message-ID: <1515581201-29784-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515581201-29784-1-git-send-email-hemant.agrawal@nxp.com> References: <1515504186-13587-1-git-send-email-hemant.agrawal@nxp.com> <1515581201-29784-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131600548539253085; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39380400002)(39860400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(316002)(6916009)(106466001)(8656006)(36756003)(8676002)(296002)(8936002)(53936002)(498600001)(356003)(50226002)(16586007)(54906003)(47776003)(2950100002)(76176011)(105606002)(4326008)(2351001)(5660300001)(104016004)(68736007)(6666003)(86362001)(77096006)(305945005)(51416003)(50466002)(85426001)(97736004)(2906002)(48376002)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0734; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD033; 1:if9j6ERUA3rEoVBW/vu7rRdU1lgd83vbB+HVkYY4L+fqgVtJhWW3Ef6fIS+duXwx4coOSX5YnbS4zTPB18WN5J98/GzL9ChATiGgJ7vdZOI2uw/X8zbalq1h7aftDei6 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 875a70bd-0a41-4a12-c15d-08d558178e64 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:DM2PR0301MB0734; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0734; 3:vS3TBxWT/HwHuxKgqflIFAf0lDZg7rOpSLYTUJUVhKFrSLRGmLT2XcELCHoNSUVR2pZcRqpt6LWqQLH0MKvmjpG2NFgA6NqIlJe243kcQxpDkzXTMMKVzEXtqKFPJR2JdjBDrwI21taMJG+bljrNWlc74So8Ll5cH4MRragarqHQBCTJhhd+v9v98w5aChKVcUNM+0DY6TE/2HeRmZYbJHDE0USZ9lEdQrV/tmuipeborjiFSwY9jEDMXfAgpgjTPQ3yYXWfmKT4atheT1S+6N6TmCMHi80Q0dHQrHW6Fvkwj1mfSe0QwRZ291Pzf9finUgZlMorngh9FVVIqU/ipeHdc19zPuUPaay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734BAD51D9921738E18AEFF89110@DM2PR0301MB0734.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3231023)(944510075)(944921075)(946801075)(946901075)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131520075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123559100)(20161123563025)(20161123556025)(20161123565025)(20161123561025)(201708071742011); SRVR:DM2PR0301MB0734; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM2PR0301MB0734; X-Forefront-PRVS: 0548586081 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0734; 23:I/B948AyfcujckBmB9MG4xVGK1/qtcSa0AzMi+h?= aJEtKSGDOrOnC6HjMRns7MG8fjLBPYOO9zyffLV4qUJLZBQ/b4XcE5PLXJMFeQfFOCxkLZEvSmGiSK8ONhqhGhdlzA0FKZtXCv3aBl6nwSv/XxTmd7Ui+wW8Gegld14OD6AOkodeYUCvgXEfBVkHwmByWET8JpzFDiq0+ArSI3j1OW8+9hbrXdGaLBrXFTV2HpVSf6jeNddL25dR1TQnTU7KeBWNvyw61WC7UoYSA0eADFvS/OHSCvR9VyaLAS2f67cU7cdoTqelhdyUbq2w7YnHlGfr38xMIJQHAnMLQcot7H2Lr/ua0mv0Fu2TjGTA2kIZg3Gp3Fe1GFKwYKffYTkXJoO0g7s3/jlPQ21qCqS3phWaIM+G9yZ+TxJHJTvONhZHt9tH6G1bSNUHEqJ6Cjk0O8mN/TL7BXSAfBtkhVmJWNRrTUFFH34I/WkaONkV4tNkl9xkJQYs/PLfqQEUL0MkzZtfCeQAHmDUC8CUEdk6elqbQZ+R6p3q6m124wIYz3NquRM7Ovux95i8ifMdoFSUyWTA747kqf3L5Snre4LXhDEKSNmzjZVJVGl2BocadZCw+ZuHzkYhPi62B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x4ulbewfmfVsssHywbXu9986DoPq7+ac7VbmeHW71/VOmK/lqT/W5a+0OQBF6Lp/zT940=; 7:IkKLXnXws+afxJ8kxdYYje/+arUrvDzcDMrnllXlvsN4rqJ0tHuGaEZPh4qDO8SZHky4JZi09cHGlaaBz/9UltKAjQhNXvkDTUWVRtMjHPjXTn8Uc1n6QDVEESGaK28xkQoIqW/b+hePRsV7Wh9CehBYomE8mxznjw7hYl8kbE2z4dqCkXFfZS/D4Xg9SQXNLTNxRgESozs/IeWdmnGKjDvrhSiZW19ieyC88x14pYPIdU4pnd8xbrvsGnnjC/Sx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2018 10:47:33.7225 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 875a70bd-0a41-4a12-c15d-08d558178e64 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0734 Subject: [dpdk-dev] [PATCH v3 07/19] bus/dpaa: optimize the qman HW stashing settings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
DPAA PMD improvements
|
expand
|
diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index a53459f..49bc317 100644 --- a/drivers/bus/dpaa/base/qbman/qman.c +++ b/drivers/bus/dpaa/base/qbman/qman.c @@ -7,6 +7,7 @@ #include "qman.h" #include <rte_branch_prediction.h> +#include <rte_dpaa_bus.h> /* Compilation constants */ #define DQRR_MAXFILL 15 @@ -503,7 +504,12 @@ struct qman_portal *qman_create_portal( p = &portal->p; - portal->use_eqcr_ci_stashing = ((qman_ip_rev >= QMAN_REV30) ? 1 : 0); + if (dpaa_svr_family == SVR_LS1043A_FAMILY) + portal->use_eqcr_ci_stashing = 3; + else + portal->use_eqcr_ci_stashing = + ((qman_ip_rev >= QMAN_REV30) ? 1 : 0); + /* * prep the low-level portal struct with the mapped addresses from the * config, everything that follows depends on it and "config" is more @@ -516,7 +522,7 @@ struct qman_portal *qman_create_portal( * and stash with high-than-DQRR priority. */ if (qm_eqcr_init(p, qm_eqcr_pvb, - portal->use_eqcr_ci_stashing ? 3 : 0, 1)) { + portal->use_eqcr_ci_stashing, 1)) { pr_err("Qman EQCR initialisation failed\n"); goto fail_eqcr; }