Message ID | 1504860327-18451-22-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1247733ybm; Fri, 8 Sep 2017 01:50:51 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6I6/4s/NWH8kFD14gMffL+YzFs5yf5Q0aGwNPqzuR9nCXfbwMdO8HeNbKOPuTWAPqZsA0U X-Received: by 10.223.142.83 with SMTP id n77mr1399047wrb.108.1504860651205; Fri, 08 Sep 2017 01:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504860651; cv=none; d=google.com; s=arc-20160816; b=no+WNEFnYgJbUCNsStbvlXVo8YJWunEEEErBaF3cbHEoEnKrnbxRVu4lsGk139rqg0 tZkeOOXIjiDwLKymanIgyyM9TyvVdgptet7EDWqHwzzrqucPUIy4AlKIBlZqkuDA0H15 si0hYEOUOgnpzbzcAsX/gS2+VtPdgdr9xZcNOGS35bH9Og/IdqkI94SOwiA7hSBj0OAw 4hPORypWj9TjovSYgTQRPEcYO7qBOzov4RJip6ejLQKqnVylWr6GdnOvnEr223VfCs5b IIe8ubDy4vqac3Y7QOH72ce579k40Gop/JoP9UKdQQ4Xt4iB/TXXxcbD3mEW2SspBa+7 9APQ== 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=Af2tJ2mDb/gYZC5bZshcUkbSVzowmfx2W9+nbzklzm5/WtOaKn3PZoMw//eZkoczfQ wS5B3k0FiiZ5hM0EUWoVkEJntw2rtecdWcPUBZWHn5XGJsHIt7He4f5QEtwkHSiKGxlc JQhmIaT9w7ixnkbqdbji8AHFOVBcTHWEZ+SIgdDsUqrpy2AasvOKB6wklwm9iCWRrUs9 X8FTERqxKEM+TRw20MilYlhJSTCn0zMD9ur//MBc5hccw9B+25l0Xjcc6+DcRHNmJisV JlMeFCw+b+v9cmrUh9zwQQkMGxDKdy/vEzeyo87CnsdU6hoQsMnysBJUdarJOWHQM0B8 7t0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 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 ([2001:4b98:dc0:41:216:3eff:fe72:dd13]) by mx.google.com with ESMTP id x3si982904wmb.135.2017.09.08.01.50.50; Fri, 08 Sep 2017 01:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 as permitted sender) client-ip=2001:4b98:dc0:41:216:3eff:fe72:dd13; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 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 9E9D519A47; Fri, 8 Sep 2017 10:46:35 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0052.outbound.protection.outlook.com [104.47.37.52]) by dpdk.org (Postfix) with ESMTP id 9942B19A3B for <dev@dpdk.org>; Fri, 8 Sep 2017 10:46:33 +0200 (CEST) Received: from BN6PR03CA0091.namprd03.prod.outlook.com (2603:10b6:405:6f::29) by MWHSPR01MB180.namprd03.prod.outlook.com (2603:10b6:301:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Fri, 8 Sep 2017 08:46:32 +0000 Received: from BN1BFFO11FD023.protection.gbl (2a01:111:f400:7c10::1:120) by BN6PR03CA0091.outlook.office365.com (2603:10b6:405:6f::29) 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:31 +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 BN1BFFO11FD023.mail.protection.outlook.com (10.58.144.86) 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:30 +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 v888jmor023063; Fri, 8 Sep 2017 01:46:28 -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:18 +0530 Message-ID: <1504860327-18451-22-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: 131493339909196822; (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)(1110001)(1109001)(339900001)(189002)(199003)(36756003)(97736004)(5660300001)(189998001)(54906002)(47776003)(53936002)(5003940100001)(68736007)(104016004)(85426001)(498600001)(50466002)(48376002)(110136004)(81156014)(81166006)(106466001)(77096006)(8676002)(105606002)(86362001)(356003)(2351001)(33646002)(8936002)(305945005)(50226002)(4326008)(2906002)(76176999)(8656003)(50986999)(6916009)(2950100002)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHSPR01MB180; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD023; 1:D7xBKxYpZao86VjqY44RCNKz+7+S4kgzvBwZYSOnetJtYjcV0/h7FG86504XQBJ0IouTdu9xnTjQyJc6QNf9bmqHJZWSIy9IMbbAiBb1xFGWjsM+mYD7GU6pIJnwx+5b MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92461f0b-6b3c-4d6c-aab5-08d4f6961a12 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHSPR01MB180; X-Microsoft-Exchange-Diagnostics: 1; MWHSPR01MB180; 3:OhZ6GSJJYOqXEtS9yUoRCtsv7Xb35ScK7jBMKiBiCLYUiPCMYx6s1YyAfGxdy5LDAmQX1cv3y5z1ud9pp/qi/05OcDbEU+BRug9LZ4VaHkAs5NF5zQ3FkLMAdP6yxmC9BG9u/IsY3KnQEiCOmIZzN50Xtv4Oaj7tU/wyf6Y8MN2w5rGr9kk4G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LwnG01m8Y+UxswPPQklrZHpW6MOy+a7V01Owz9fKYhdXr+ywyofMub/RyvnrhM2zQXA= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <MWHSPR01MB1801341D35554F041B1812689950@MWHSPR01MB180.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6096035)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123559100)(20161123563025)(20161123565025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHSPR01MB180; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHSPR01MB180; X-Forefront-PRVS: 04244E0DC5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHSPR01MB180; 23:6T5G/QiyjKEzfhnx3BlFdi1Q3mG6OF6DURRYckGIZ?= mtBx81MyhLF87pGaaVJ/d/QLA4y3XRpco3YUMct/MAmIUZC8X/gwwWX8x9OhflzahyQSxl3kTkr5bEhcJA+9lMtBK6EQ0YzFVdhVYxaUa9YNL7U2ErixgEWnp3AixGxDQ23FpMSNCQA60O81BhNhcNKFvzLKkrdmpLgJcH2Y4g0+BugcXeFxYfDQvbhUQTkz64AWQYnmFWxMpcACYgiTfIUJ/JIu0cAs6FFhca1tKg82Z7bnx85R8KPmarz/iJqTe5gfgKKWNYnUVVxjSzXkN/m6kklh8wmZ+1+wW8r4E325+vFh5OEeT7eIGmgixBLY8enoPgP2ZV/8aFpcVoMAIsxj/xYLLLaebod8OxTBy+Z8tAml+PzFAG+Eo56e8iiKWAI4ywtsifLLEfiJFdAgVY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CPkrK8KoRH4mJPu77Zuo8ToFirSegA6zBIpIx6Iq6LaF6TbX7FZC19UKFsiAGVUPz1O3X3+aTJ77jrSPGhxU7W6ZCDylP+LvMfrYX/GU88KOis02h/SWszfUlspFjtHHAWlNufteX25jTLLw==; 24:SIIh4JjrBJC43k5E8pWqHNf1Icy4WArsWY1n3tqIAWupJNaQT0nOvnp/qD8+hDlbmiQEDjD9is1hLE/HJjbg3D6dI0irqSGvfPd3g1oFVxY=; 7:D/vpU6S9mCpAimDL2Beo9QH64UdekqzCJI4Klv31OuXYNOVq1cSiBzqQkfUfGd1rH10xJFoLp4+YhBEQqrtJLrXtX7MxKwZhWrykUesjeoBNIAliUCjgspiwztIMA9PRFnhaRbEeIkxUQ3DLdTFjjJMh8xq47c7MvrYFPFIGjTnRSxXSU7yZ3PVWT6uT1E32vpA7jucfFUEkCo6IHJHBmoz9Yr0b9SzNk0jp2AVYJhY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2017 08:46:30.7324 (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: MWHSPR01MB180 Subject: [dpdk-dev] [PATCH v2 21/30] 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