Message ID | 1503658183-4078-22-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp813834qge; Fri, 25 Aug 2017 03:54:56 -0700 (PDT) X-Received: by 10.223.150.129 with SMTP id u1mr5477150wrb.329.1503658496615; Fri, 25 Aug 2017 03:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503658496; cv=none; d=google.com; s=arc-20160816; b=VIAulJxJu7PEZmUYEXzmDrhL9c+8nePOOFt06tWx3QR5+IiGAHw8T97MRXDRCmfobw cZN+jhLqSCW0Us6eolcxn6pTYE+2krXSLNMSRbIekmQCbicXNjVJXgTkAXSYeOrxDJIS FM/kLcY8aKKai322G+tXuEd1bCQB0x4OmnCPoGwI0yC78jhXEqQwk/kxCCBppA/ZVzqH u39SG2XD1UWZAz9pHMFuvHQyacgonQ0OSZ/xvhxKKy+MSaQdrWVwAx1bK5DI1OoXu7xR +UP8yS/cXUZGO+IdPvGTpHRLcWjvsoWdMqybwzdC1Xo+c1rcUB5+T9mDLYKv1jaDJx4P YXRA== 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=NczOuX4CZ+UxxHQj9FocLrecBwPqIAgfUM/oMriNJqQ=; b=UiwXzzx9m30opVIkzPtKj6+l6mvozB9zGisGPwAD+YFqP37MGaTTL+WQCGS/GKqVMX jiyxxP//ZIijEZk3ja/P9Lolx/IgBkIS8LLRBUExGmhxIeUILHDpmCvboHIuCHeNWWYh 6DG9++xbJ/E+AaCIDM7cPHF49xntfDuENvRhH7NM6M55HMD69fYVhCEnsB1yJTS1rFfk oIgPX+XyVzs48Y6B0xiU5AfuZFRnQz9BUuwGuxfuMRg8ZAJiF7wMnaj1Z7ZBxe5EU7yU dfOB1JXXNjdniIzyWgiHTnswpuIasyrAlj3JA8SkWOQ7gnYafXGNqqXWw0mrxasPSWt2 aRZQ== 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 x42si5074490wrb.449.2017.08.25.03.54.56; Fri, 25 Aug 2017 03:54:56 -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 5C11599B4; Fri, 25 Aug 2017 12:50:47 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0064.outbound.protection.outlook.com [104.47.37.64]) by dpdk.org (Postfix) with ESMTP id 8DC03999C for <dev@dpdk.org>; Fri, 25 Aug 2017 12:50:42 +0200 (CEST) Received: from DM5PR03CA0038.namprd03.prod.outlook.com (10.174.189.155) by DM5PR03MB3323.namprd03.prod.outlook.com (10.174.241.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Fri, 25 Aug 2017 10:50:41 +0000 Received: from BN1AFFO11FD033.protection.gbl (2a01:111:f400:7c10::185) by DM5PR03CA0038.outlook.office365.com (2603:10b6:4:3b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9 via Frontend Transport; Fri, 25 Aug 2017 10:50:41 +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 BN1AFFO11FD033.mail.protection.outlook.com (10.58.52.246) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Fri, 25 Aug 2017 10:50:40 +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 v7PAnw6P032070; Fri, 25 Aug 2017 03:50:38 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <ferruh.yigit@intel.com> CC: <dev@dpdk.org>, <shreyansh.jain@nxp.com> Date: Fri, 25 Aug 2017 16:19:37 +0530 Message-ID: <1503658183-4078-22-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> References: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131481318407135254; (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)(199003)(189002)(8656003)(54906002)(5660300001)(8676002)(81166006)(2950100002)(81156014)(77096006)(6916009)(2906002)(8936002)(626005)(97736004)(305945005)(356003)(85426001)(498600001)(189998001)(4326008)(53936002)(33646002)(106466001)(47776003)(2351001)(50986999)(86362001)(48376002)(5003940100001)(50226002)(105606002)(68736007)(104016004)(110136004)(36756003)(50466002)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB3323; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD033; 1:md3+H1dCpTFzCrzFlCORTSmzWXZJkcglUnLxnjovFtK8kUb2DljHfoubmJ4ofOdrM1WRRF8gTB8uOiDaMFxrplbQcLOnDlSD4oeCiLBcNZAQYMKiq0CJpKqRjBBDhGb+ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 70ce78d2-e82e-46e7-d506-08d4eba720a5 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:DM5PR03MB3323; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3323; 3:8hkYUuU3MO+Ky4Ai3q/7V0lJDQM2UTkxRC7Cl1ui5fNV/1L88dbBj3Wvi/lGlh05OIdhmCxfSu13GuYcerPEYwumEPvO5pzgzvipp/TXWvagw3hycPOLDCq72/U7VFVJw7fpVeRuVIzDKJ8fSIxMPLBRSmfM4sAYWmhGErY2q2EY6/gD+9t4e69dsPebyt6z2CbKNjMvdAM3ktKt1lM22ON2W9gwYBr1E/NJNgoUYNan8+xhctocWTDRiVaBtS+pAL8CrEib29dJ3tMsybglyeGBUWUR7VNgQ3G2c2VwqPGtKePTL3Q5iK8ZYVcc0ReVtEHLCBQ+GUQoHpeD1ahtwwoqyuXrmPvIFLBaNmwbMmw=; 25:U0vrOjB7HUi8JS6ArDpafDuoZrkplIZDZjvf1FV0ac9gmBo72ChDih1/CwEMKPZKxrerqE4Ggi5EzaKnkrEja7OIKa5Fxqcq1aDgg3l2NphveZttCcWxHoxXf7I/bAMdJBqXSJIbj4V7f8AXtyBk81TcAdyvj1XwlbsT+Uxee6rRNofHxaBPWnYCegpz6DzivUe9t6N6foRLGWsx1Wl1qvSZDISRbYuyJ9te9fHV6gjJKZrgAg0lyscnZ+e5+ut2SbveM2HKbXf2koaIieWApJQ4adLSKH1z+aN86pSYRzN2Q0HQqiRfPl0FvBOasoTnI1fRmQXcrSO1gTXkFbBW/g== X-MS-TrafficTypeDiagnostic: DM5PR03MB3323: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3323; 31:PWJlNDaHRMAga05KOmfXccRDGnSzGwxDxtLqdb2I+Kh6srGG8dz/JC3OKHSJCAhN3F4i7A28M1ijTP7Rdkj8Mne2TpnipmQ3tr2sAuaMdI42hfTtvbHGAltP8fzg0uViAh0MlVosl9cPVqj82y2FELfo4LWlFKlvFor8rKlI3mqHJmaT7rOwJKsy44uE0182NReZ3dsxia8/Paynjo/58ncFEDOyN1Evvm29Nu8mz5A=; 4:JtapEkQA+bfWZBftAG4WE/iG3cK/UJuR+zMut94Fg4g30aZIwCpOq6uzmcRS4VLM6F54a6+Bmgjaj3wfUq7bnMv0L7o8LYN2ZlDEjLrXGOgCYBcttDyND+OpHHJEW0JH1zPU12yaEkjL8WK+QkYP2zLtostbkb2v+fsbq6o+njapyYV1aOpKVZS/Y3i1gNSnmvIMGz0kAKA5Durg30oPYUW8rrewJHYBfscv21aaQrDRp2/2O1/M0Kf4PAe7bce7HSCmAiKem2AjFtEk8Z+8Mmos9ZTs72HsrJKClEEyEQQ= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <DM5PR03MB3323DAE79DB1331E88F20C4C899B0@DM5PR03MB3323.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123559100)(20161123556025)(20161123561025)(20161123563025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB3323; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB3323; X-Forefront-PRVS: 041032FF37 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3323; 23:8FuS0XJxKgQL6zPxuxXJqHF7nus++Mwx+clgR7ZzP?= 89l1mEgiBpU02bb39Av9BOaZoHn/HjIphqpenSjNUpqIGhkqANQfiHSUTe+YemUaXtkNQkNFVZySesEHeuIV3KnFLtKsxWvBVOhUtjBVJIZbkYzUz2cp22oFlbgTeSWHgc4GcCitOINiBuzwcks8DvEXp/IWKHVwVQqUJDTT0ychRTy0wSC5GPVtj5EAINAOiVXyJ+0cYyiUyy/4lZK+5HX7L3QLuQe856lLL5Niiioe0b/D7Q/pKU90Kzu3vr/DFQEOGRHYaKG0N/GNYs8VaICWDGnyMif1KbkwusjT1Rkb5NLsStmAh2HN0iW3TUn++0yqO4dZaJYrFLZZ/2VMqkZ3l76fhOEIPjkJTxVjiNH7sEQeGECKLRJYF7NqSY7KkT/JMg93xiLbk7EUQg4oC6U9ElK7jbAisl+H8xBxGFQJ9jkiXgLIO+xIo9J6GjWGa4L53exXQaRxBcxy64yKWHj9SKrOXQ8gL5DXQrz6+IhIbxAlvBpzRea86ndtnnWg77rI1SuF32mt26S342DaJJkRriaV4lMAHG898igDa7RrQEzLlALd1G8MfT/+p4MOhavTPBGcRY2+k1myGGSRAaAiATQSyUzhe+8MGp/XrkuPGdWaZSKel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0paFP5+XqXmKrIcMrwhMbkfaXKbHF4ThqWGXtgBo=; 7:TcAD2oBLIM0SDuCRlBIRpK9k15abYjpdZ5MzcQcAms3y6sgMQju04650YL8CBxTNtem/LZhVca7BDE2vKyBDDVMUrzBTck4em38r66t5/EQBX2U79AV06A5UmfQh6TAjLLAueUD4+5Wln24F1eU+2FUoai46Hl39aDMQ+jolJ2UucAOcys7UjNWQNhYFYO8bIMqyQLeA+oeMVT1X9+b8djJRvv9NyUMrChYda+4aIqw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2017 10:50:40.4171 (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: DM5PR03MB3323 Subject: [dpdk-dev] [PATCH 21/27] net/dpaa2: increase the dist param to 64 bit 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/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c index 7e5ce64..e3ab90a 100644 --- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c +++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c @@ -51,12 +51,12 @@ static int dpaa2_distset_to_dpkg_profile_cfg( - uint32_t req_dist_set, + uint64_t req_dist_set, struct dpkg_profile_cfg *kg_cfg); int dpaa2_setup_flow_dist(struct rte_eth_dev *eth_dev, - uint32_t req_dist_set) + uint64_t req_dist_set) { struct dpaa2_dev_priv *priv = eth_dev->data->dev_private; struct fsl_mc_io *dpni = priv->hw; @@ -148,7 +148,7 @@ int dpaa2_remove_flow_dist( static int dpaa2_distset_to_dpkg_profile_cfg( - uint32_t req_dist_set, + uint64_t req_dist_set, struct dpkg_profile_cfg *kg_cfg) { uint32_t loop = 0, i = 0, dist_field = 0; diff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h index 6ee1a9f..7b14ae0 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.h +++ b/drivers/net/dpaa2/dpaa2_ethdev.h @@ -93,7 +93,7 @@ struct dpaa2_dev_priv { }; int dpaa2_setup_flow_dist(struct rte_eth_dev *eth_dev, - uint32_t req_dist_set); + uint64_t req_dist_set); int dpaa2_remove_flow_dist(struct rte_eth_dev *eth_dev, uint8_t tc_index);
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 6 +++--- drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4