Message ID | 1505559161-29222-19-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Accepted |
Commit | bd4d941926ce124696c8ad3b2797777e7647f9ed |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1617523qgf; Sat, 16 Sep 2017 03:58:04 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5Kbda0WdCYtz9MX38kwpDd3mzi4yUeU+WUWFXtg94j5+d8MAJ4q91CgKmc586fq1sq/W7i X-Received: by 10.223.132.163 with SMTP id 32mr21873481wrg.267.1505559484152; Sat, 16 Sep 2017 03:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505559484; cv=none; d=google.com; s=arc-20160816; b=nD0tmmXa37ei3xM1A58h1YI5hPsjvbAi0eHd6z2iCMTnNHXeWSb5lIWGbcQ61jt7ej I5juLV5F0WB2hvxv1U1gpbR9DfxywHuq5JzX6VzYrhdHajcym+9K81a0CtjyybRZpgqX QK9wRhzAylYrsr4DxqpgEJP5OB2E/zo0sOjPr9E49DusrVLrZ66e1c7mODdX99JhXo1j yzM7F8KmnJBcX4sRtR+XfWl0ZFqaNr//OaWlg2WhEhqvjyLYaYDKNP1Ty3aRNq3dlUG3 XpMdfd+9/yzhRV6i/I/VfR8oDpvh8twjxLVPPWnJilQLrKg/l8fZaNrwSTn2oJGdiuj7 AmeQ== 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=Jd5ayx+kTG7j44PlWneTAlLI3SVQDtWPWYf9bpX7k8w=; b=Qm3O4VdH7+3dduK4mPWhSm3fH/pfKa+rz3pT47opD3ZMsvush5P/OrDVN/HXOaUUzl VAqdAewBjqjuTQO5Kwj8GIdldUbQ4xA8GWXxOhvA0x7mJHvyzgx3N370SvdIWrcal+Ll b6yGlCjD2rfyHl6cGONUlkad0/Zfyyt84mIdXiZ6J7koBgvgQrS3O/Vy3xDVk5DBwXkK Uo8KgPi3w4EHSiP9SADpmi4rI2pqg4w3y/3fjGcDCs45M3wYHIU6yrm0k5mjueZKzFRJ aaOBVdQIxNch6+Zqq277XSlNXC5uxlujZGSdt+yLLcvgnQKQN5sQDRdEzVuqLTDaLAqK ejhA== 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 z94si2439715wrc.236.2017.09.16.03.58.03; Sat, 16 Sep 2017 03:58:04 -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 226E71B21D; Sat, 16 Sep 2017 12:54:11 +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 550E21B20A for <dev@dpdk.org>; Sat, 16 Sep 2017 12:53:44 +0200 (CEST) Received: from BLUPR0301CA0040.namprd03.prod.outlook.com (10.162.113.178) by CO2PR03MB2359.namprd03.prod.outlook.com (10.166.93.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Sat, 16 Sep 2017 10:53:43 +0000 Received: from BL2FFO11FD017.protection.gbl (2a01:111:f400:7c09::121) by BLUPR0301CA0040.outlook.office365.com (2a01:111:e400:5259::50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Sat, 16 Sep 2017 10:53:42 +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 BL2FFO11FD017.mail.protection.outlook.com (10.173.161.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11 via Frontend Transport; Sat, 16 Sep 2017 10:53:41 +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 v8GAr6v5028328; Sat, 16 Sep 2017 03:53:40 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <shreyansh.jain@nxp.com> Date: Sat, 16 Sep 2017 16:22:32 +0530 Message-ID: <1505559161-29222-19-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505559161-29222-1-git-send-email-hemant.agrawal@nxp.com> References: <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> <1505559161-29222-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131500328219950524; (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)(376002)(346002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(81156014)(47776003)(4326008)(86362001)(189998001)(110136004)(33646002)(498600001)(356003)(50226002)(81166006)(8676002)(316002)(104016004)(53936002)(8656003)(2906002)(97736004)(16586007)(54906002)(105606002)(5003940100001)(2950100002)(6916009)(106466001)(5660300001)(48376002)(36756003)(8936002)(6666003)(2351001)(68736007)(50986999)(76176999)(77096006)(305945005)(85426001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2359; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD017; 1:ZC6cJk4Ru45YiC42F8d3C9MIc0E1xVurxA6SnpvtAwyPfL2wF5bSId0Wlgv/VV51uo1EM1CNqE5Dn6zV7XscdcRWgpfuYmjdEqfArNyASvwOVwb47jmY1YulNvIdwvL2 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5d4f3001-a713-45ff-5c5a-08d4fcf131da 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:CO2PR03MB2359; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 3:ObCKhfVmL9fmXrJQXDp0FdU53+Vz4QGxBfJhaNu9Z4z17u4tCyg6bBxRlz/2fBlb2/mWJ5+KAAbNprqVu55cc0KnIUYWcLe1wj0wa6uRDSD/+3jPPSOMqljHaXSKuXMWBIr/MyxuD2xhf4tQLfsQ1+Ro0z388o2S6+ALGR9UuCoY47f56QNZPERIHWOgS/2aYwmOnpAFTWacizeoOfE9IWNB6JnmQ1Bdntg46M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ZB3I= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <CO2PR03MB23595AB57905D6B90CA6BD67896D0@CO2PR03MB2359.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)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123563025)(20161123556025)(20161123565025)(20161123559100)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR03MB2359; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR03MB2359; X-Forefront-PRVS: 0432A04947 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2359; 23:ftMRhvLkUfm/dOqxZeiMqe59RIw5/L8loRknSRxU8?= bBlwqoCGtC9onMU8+3qiIk0MZnKvQuCGx69sYlzZMEgj3jU+qBgsIs06uN9zALM4VSipCiq8RjozIJHpo8vJ72Rc8MuiMuhnbYC9BQ2Smb6Jdx7HBAM+EK8GWVAZ+5bIDxp5W7jtRXI5YdIP8CtyWaB54/KcQBy0bTQPrEWkb8j+/xuyieHr5xPy+nRxduNmgfRDNDPhvZ1e+EuSToxMpzxD/DAq2+mt5Up5WPpWKbEikw0/5bb6OuuBwk8yAD1LytbZpo5utzLD7hOdpnSX8g0NlRWNLvboTgC8Zj3LlPK765LCqbPEer5neJpDE2o+yf18uK6SXn1cejAaPnZo2QyPkMH2xvjWE6V10nTfzAaAJQD3BF5VheAcCQpYKoUvvOCZokubBZ3VeMI9MINeOZw0IXNxbIedE7+bWlUVVM3+OCO9ARjzO0TkG6PkwvJML3EMDA/ekb5oQLh15It2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TFB9o2IwUj1D+O01EZThCQLdRS2L3nrFvKMT+0MSlulYCZ48z9QmkkGlEqKJGmBlu4qV0nqb+UBUSsE0SLek8595cWrTypUmPiPEE42IVUo9TvZ6SAuGnEo39IE88Ein9fr+i9n5HkNVVCq6CHvG/K3sTh6c=; 24:cKPUNsqbBJM4IHGND6ny0cDVIoHXZ8UBrbXWgzJ1iQX50BsZSIG3SlVk3qhQGXTLJIIYCag/UYpXOYJvq/+YnIFb2PJkvA9PaCkhg8ThnrY=; 7:jK82RxhrYD65wRYES7ZgvSX7jMc7ctEduXmoZyAn3iLSflSxd12hPIHcJG1U2GyOGnxiq91n0lTVhLmhTgQbEHCP3OcHXnTi/WD97sewCLvEnf3FYUZk5UPg2Qt2L+EjHCHWtdWbtYuYxQQTI+S74c7pvULA3YqtbDTgB+RY9k0BOyiG00AV8S3ofCL2BCiIybjA/HSxvFmnYvAyCExyZVYdBms1SSztzH3XLFxBX38= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2017 10:53:41.8234 (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: CO2PR03MB2359 Subject: [dpdk-dev] [PATCH v3 18/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 ca8a6f7..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; @@ -76,7 +76,7 @@ dpaa2_setup_flow_dist(struct rte_eth_dev *eth_dev, ret = dpaa2_distset_to_dpkg_profile_cfg(req_dist_set, &kg_cfg); if (ret) { - PMD_INIT_LOG(ERR, "given rss_hf (%x) not supported", + PMD_INIT_LOG(ERR, "given rss_hf (%lx) not supported", req_dist_set); rte_free(p_params); return ret; @@ -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 | 8 ++++---- drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) -- 2.7.4