Message ID | 1504860327-18451-15-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1245925ybm; Fri, 8 Sep 2017 01:49:16 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6hWfhhbKGL010ppS+mzp8UzFPQSqgfxg3ndXaUs5PzHji/WFCotabJC26fMBam6JVhYtvJ X-Received: by 10.223.187.148 with SMTP id q20mr1688484wrg.34.1504860556343; Fri, 08 Sep 2017 01:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504860556; cv=none; d=google.com; s=arc-20160816; b=yS467lH3kfUg56iGqA9EFokHBcGxheGtDqR+2nIrvDjXKPCU7Xbt+9P1gkHxNWBrpz B/+NJo8nP3mLknB+R6sJlSmmwBu/QfcYIB5+uleB6lsvmmW1voMp2176fbGmSLnaE1u1 4XpUwHWHYO/OUn+AYz0vQ9doozLPXF2WLb+ypwRm7n03AYoI2zKiC1h8kiBckLIZl+zh ffxGWe2Mr/tvrm3Nn4z4X7imgkJ8SkCubCJlDKbrLbaUj0ypezbkTnm49rwATVD6lCwd P0OXsZ7WyhPmSljPjMkUFZiz/bYk42H/fbG00iqUQhLfHflTpMThHsxQ2YRRT7hPtLe1 IqGA== 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=jsg1zjxoMjBsMxWqo3N3g9209JIMgBrXSbbB4MLqQP8=; b=0oO3Eb/mhCJuF0AzinEZl0nZw0qj377AplVRFAI8CDPE4UQJPIkk5vXfKbbYyWLkLk 2qQAVjm/qoOwg+2uBZGdJfqfLdk9vIc/VZQn0+dwRTPCfBA+y8GTECF8StN6VoAPmzL3 k6RVfBR+OxzcZInXrhcnRalNqAZgikkJ/f7+VW927cSWKH7yZlCLlozgvQiaJO7xqKQc hYlUncP/TQdjBZcpSk4YeQklXFmcjqyFL04iYAlRINtbI5JSJJpG8QWLm6hJX2hRrIIE jUnKUw6z3b0f/Qdn+mAPYKALCge4OFmcFJzlTk05Ffcosd+9TO+6/J00FCt8WiEfI0WP Zskg== 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 y184si1015218wme.126.2017.09.08.01.49.15; Fri, 08 Sep 2017 01:49:16 -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 [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0D1C719A17; Fri, 8 Sep 2017 10:46:25 +0200 (CEST) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0074.outbound.protection.outlook.com [104.47.40.74]) by dpdk.org (Postfix) with ESMTP id F3358199B8 for <dev@dpdk.org>; Fri, 8 Sep 2017 10:46:19 +0200 (CEST) Received: from BN3PR03CA0097.namprd03.prod.outlook.com (10.174.66.15) by DM5PR03MB3324.namprd03.prod.outlook.com (10.174.241.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Fri, 8 Sep 2017 08:46:18 +0000 Received: from BN1BFFO11FD033.protection.gbl (2a01:111:f400:7c10::1:125) by BN3PR03CA0097.outlook.office365.com (2603:10b6:400:4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Fri, 8 Sep 2017 08:46:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BN1BFFO11FD033.mail.protection.outlook.com (10.58.144.96) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Fri, 8 Sep 2017 08:46:17 +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 v888jmok023063; Fri, 8 Sep 2017 01:46:15 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <shreyansh.jain@nxp.com> Date: Fri, 8 Sep 2017 14:15:11 +0530 Message-ID: <1504860327-18451-15-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> References: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131493339781613254; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(8936002)(68736007)(33646002)(110136004)(6916009)(6666003)(2950100002)(53936002)(47776003)(104016004)(5003940100001)(5660300001)(85426001)(48376002)(50466002)(50226002)(4326008)(77096006)(54906002)(356003)(305945005)(8676002)(81166006)(36756003)(498600001)(2906002)(97736004)(86362001)(2351001)(8656003)(76176999)(105606002)(106466001)(189998001)(50986999)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB3324; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD033; 1:3F2GKJ53imcdmn1HlUQ4mv5WqIQNW8Fr+vXSprnNqjnfcYzHZfiuVVWAqkxLqCooMzWecuKi85negMaqgjHcyFZSg1LiegVBghFT2H4ZJkIzOtgdsTBHrQohfvvMR1Kk MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b62c637-a510-4939-e565-08d4f6961277 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR03MB3324; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3324; 3:cPxXK8+p5Uz0vp8Q4qGcsd+M+lU//AUXyBqhbkN3hsWqmWeXPZUFQlfuVPPbJYyaBGRszWXPkRLKMzCztSLzbI0i8OsBk0chk++Ar9xnx7MaGdoodQDRTX+aJCX0gNIVMzDJ/zKRE3df261ZYb3NjV09tiztCpH3K5OZmahxtGYogUr/5daB8jb+NCJd0SPo8RiIJwsxkVES+6hEblbKcWuciWlp0LebIRJxlqFaJBlmf797dQwRyliuvSPXHvo0pPFeX+7I59dpcdudWwRVXnuEVgAYjwxx8jXyTY8tawZws7mYZHznjka48IRtl4uUj5E9tmdMRyiE4iuX3thVzjbYrY0IxpXV2De61Srj99k=; 25:ynHZhcgWdGzLVDmD0fXk++Djlg5C/+55guwFXgcmfhRNutNVLWjdksX7tNzkAHWenYTkvvKMfo1BpDIEcvMeaGe7sK6qyvbJVe6GCle4A8wPXwLAcGRmhhjMism//3/JZg3M5YwKJJ2vHApIOTG/kqemGN9aoXfZ+CK+UZE8aTq59mw3fR18a0GmmJCWljrKB9VE4pBDJoxLn1gp4cnT812rtNaKSRXrkmhW5UZv3QQk824JigefOVCPI9OAuap45Eb2UxWfhaStqeXmciBmTHaUbMiO4jCcyt6IR5OpIlZjlCRGozlRwxbw6elquwxgpDrHeEvmyOiuviu4tEA9jA== X-MS-TrafficTypeDiagnostic: DM5PR03MB3324: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3324; 31:g7uO+YtDF9FWx4BlzsNLv5JZWWnSosrI2a4x9Qd8ku4C0mI0rMJhMf0HUTptyg1fk/S3Uad2X7uyRV2uKkGcQuCc2DbUW+II1ZoCe2l8KUyvby8xoiNA9rCAuA45Z6rBJaAEArWjQ1eh3DkNyMzft5Ssj+GX8NwShCTo1yc24vY69Nix6tNmiZdYzIREtLQE46pbjQKvL55C6Yy9a37LS+6O6HsWoiCIvnfcm0fAOJI=; 4:5aC3RBFLmrpDM61t1ol2LuqVp6A7KxpTl6WXY5jDJ1z+gYtjR2sM2O22nHlVm3adprkiSI8rKqcmB3bRvWbXaId156+myvMtwD5vICW6Py7fWHd3249U/mwZVtMwVVRDDNuKS7CRt6WXmMENyvuVHrpzPurivnz9k/8HD/yMsOpcHtOLn9jMwKlBawjRJW8RElf77nNly64xFOad42mDT7GP9k5GqREpviHleK192YDTVDcAKYh6RgbfBJe2s26M7UY598rXfNLUgPwXu/hjg//kzf8GqS32b4Jr/bSKvXw= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <DM5PR03MB332439A0E58833E651D6B67E89950@DM5PR03MB3324.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123556025)(20161123559100)(20161123561025)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB3324; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB3324; X-Forefront-PRVS: 04244E0DC5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3324; 23:DQvvfUskR86A3e9l+DVBvV4W+XYll6srEyTLgN905?= 5LA1SBfqR700NnX6M397OGpM3OpGBytyKYjPske3XMJGdOcCKQhB/JylhKjlvMTJrax7pgyuB0iB2VwYRwEqGEYUNNMlsCE1vtWYPcuVk6SPX5CdRRq1oJirb1X89FgU1q010T7KktOdJzUYfOVrTCNivJbEgd0r6jYVS7hGVRiuooyr9AkavhFPs/s8nDTPsCMPuVV38goyGwA2hnPG7r1QOTOfvotJNgiFev+EiU0/e6lCpe1F9YlkdKdpKJkFY+EHXKgHNq4GgxxB4iI+doUoBibAU2BmoaNg2euQSmIT1j+vJr5roPyTuQOK3CtE0UWbHUhtQ9DeUYZSdAE0WG4iBg1+XIY2e1k1m+125Hfh7YLhs3Fib+LMe9tEan3eRKmsaWXLDlfLcJCAxd+bSRuq61ghH/0AVzMFVMUviv7485i09tyiLEB6qojPpkcUN9rWJrwqDnYK3nQx7BcjFcIJYWMz/+a1ZQ/6nWs3xKWrNZjH79kwnEtTlHt1JCtvUK5gFMSX1+sGD6ht55zGNMtoc+lG4aOsVK118P4kVxIaOCIm0E1DzcZ89K2FA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LTEGVGJFvjvwC4xZqu4Ldbo+/0Ecn2tHVQY+k/QjJFQyWgLvejCu5K7gOQyb059Zpa8RJnx34Kzaf1eLceWkd6qaBCyjP55k=; 7:O4o+gcAm9yHYtewEy7KRX9wQ5gcCNSTBg0tCB1KLHgYmOm0WiTMYXuuAfnDNrQnIpX5yWe1+VSBJu1xs5G/lkUKvi7dsks9dj/xIHi0IKzeZ4s7cX2nzVv5G3qrDsxxLQbkkge4Ot7IuINAeu1CYTk3EdySaqTuKjTZIlDSDKA4K2/N2ETXlSMIPtbzT1T+0wfD71xcfOmlCeBq9de8/oCObcA/uc/eROfg9jgEimW4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2017 08:46:17.9741 (UTC) 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: DM5PR03MB3324 Subject: [dpdk-dev] [PATCH v2 14/30] net/dpaa2: add support for congestion overhead X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://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: <http://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 |
NXP DPAA2 PMD updates
|
expand
|
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 945dcc7..d7950a5 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -419,6 +419,7 @@ dpaa2_dev_rx_queue_setup(struct rte_eth_dev *dev, /*enabling per rx queue congestion control */ taildrop.threshold = CONG_THRESHOLD_RX_Q; taildrop.units = DPNI_CONGESTION_UNIT_BYTES; + taildrop.oal = CONG_RX_OAL; PMD_INIT_LOG(DEBUG, "Enabling Early Drop on queue = %d", rx_queue_id); ret = dpni_set_taildrop(dpni, CMD_PRI_LOW, priv->token, diff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h index 07e1da6..6ee1a9f 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.h +++ b/drivers/net/dpaa2/dpaa2_ethdev.h @@ -61,6 +61,7 @@ * currently considering 32 KB packets */ #define CONG_THRESHOLD_RX_Q (64 * 1024) +#define CONG_RX_OAL 128 /* Size of the input SMMU mapped memory required by MC */ #define DIST_PARAM_IOVA_SIZE 256
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/net/dpaa2/dpaa2_ethdev.c | 1 + drivers/net/dpaa2/dpaa2_ethdev.h | 1 + 2 files changed, 2 insertions(+) -- 2.7.4