From patchwork Fri Sep 8 08:45:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 112044 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1247962ybm; Fri, 8 Sep 2017 01:51:05 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC2fqeioWhBLcrnGN1cf1mc4+R9R8AjQ9pUJcJ7CX+3vZ6zs14SvkeNxxtAUCx7jy92iLPP X-Received: by 10.28.238.218 with SMTP id j87mr1168248wmi.44.1504860665297; Fri, 08 Sep 2017 01:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504860665; cv=none; d=google.com; s=arc-20160816; b=BhpCx3Q9O6NvQVw6jypK3gc3SuNVCDxnXtJsOD8/RiKMs6IOMzR49rzzI++U9u5w64 ru+pMAhufGjcg6Rt87YVTwh2PirAVLvzZZrPxSjX5Toli9uixXMmiB8pIJRmkcAY8AGU mP3z9AgsxAyl50XOcmoUEahLt9cs3Sw3UR/m2ezo2xi3262VYqbvDkP3LK+2HgZm468B DmFPJtnQXaSuDnpcrGsWwpuR4Vr/Yv6327tji8zxVjN3dFACEU2V3IdIXAG/DsgqzA4i mt7hTKn/L1v1StKeCMSRwkiEPdGN8AylgS7wfYk9XzEm8ADI3u7ixxIGnQ/t8jmsqLyS URIA== 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=NpjzicoBl8V4DcKnAzqHVTRA/YBmLBMp9D7Ij+nfnVU=; b=BZ9zUtzQT/7FdzXGgJP/D/WoK0HFh2GoNrUqPAJMWXzqNFRt9hNu59Mxgqfr6FDEDW V2ngfi+gjwA+g2OcPMnsalFrEIxExfh9AeYYLm8CRfS+vFkfXgyhC61jxqbsjzUS0r+E T8OaqN0RBVat0MDKonnYYnEe/Xe+sdJi27tab6ESzRco0q+RXHmD9EfO60IplWXOL9li sf4ujEfcPzfRgXupZ0mVisy61Ex8wNxQnxvINsXJ727qX5g3OXeln9aKThLAegMn8eIX zU3Qp/l6DnZnjZboFTtjkpva35a5SaM8FbuJELkWFLkpg5aVLbdptzMfrJtizX3x/63o YAUA== 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: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id x11si1021617wrg.101.2017.09.08.01.51.05; Fri, 08 Sep 2017 01:51:05 -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 68C6719A4E; Fri, 8 Sep 2017 10:46:37 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0052.outbound.protection.outlook.com [104.47.34.52]) by dpdk.org (Postfix) with ESMTP id B916519A46 for ; Fri, 8 Sep 2017 10:46:34 +0200 (CEST) Received: from MWHPR03CA0034.namprd03.prod.outlook.com (10.174.173.151) by CY1PR03MB2265.namprd03.prod.outlook.com (10.166.207.17) 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:33 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::117) by MWHPR03CA0034.outlook.office365.com (2603:10b6:301:3b::23) 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:33 +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 BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) 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:32 +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 v888jmos023063; Fri, 8 Sep 2017 01:46:30 -0700 From: Hemant Agrawal To: CC: , Date: Fri, 8 Sep 2017 14:15:19 +0530 Message-ID: <1504860327-18451-23-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: 131493339928216408; (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)(8936002)(498600001)(85426001)(81166006)(81156014)(50226002)(8656003)(68736007)(86362001)(50466002)(48376002)(4326008)(110136004)(8676002)(2906002)(189998001)(104016004)(356003)(305945005)(77096006)(53936002)(50986999)(5003940100001)(54906002)(5660300001)(36756003)(2351001)(106466001)(97736004)(47776003)(76176999)(6666003)(2950100002)(105606002)(6916009)(33646002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2265; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:43PK5b9D0aW/aVNsqxBZZw6fDfNkXCyGu430LHKkDlEMBft0KGHqzYzuk3mjj8j0kNDytXygFOLz6pAjlMKbJ3Hh01NN+ggWXOPidMOMBII7897Y9kSiyA5ReOAhzMwE MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 82601a6b-5f99-4347-4358-08d4f6961b37 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:CY1PR03MB2265; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2265; 3:Og3v0AvE+9UbwTpTDVKtC3zGNjxL3kwwOmjA08hYQZwoI6ltCY/dPtGoJrFdTgrp+1X5CoCX9yd7oYu8k206QnoWvWkpyEaeZuckGS4EOQkm6NLHx5cZJUPyq1xBsDGtX10g89KdSs8VSm1LsJGDzPlGiukmRRSnAQqrqDvQ0cZ0oY0rJvpD1Uepv9w7SRxDhoyhdupb60Dts72miJCkKGwLSZvQwmHdlhhVjXrn41Q+o0i1YWmoGAhucq6ErG7aUQBdAoNgBOyDUiSzjgHUwGMS3mIWHIlTaUB1f3V2XZwxcbnU+ryaYJpVw0gY33bUzgZSjJfdep6wy7TJ3u0iZBxkZvOXgJyynWU5TiSdQSg=; 25:FJzOXGIJQoR/m9sQe2qW+kcUrKyaVPvMji6PooBeqEH36rjtvjHxfmD+3f8KyqfmXgm9ueuiXtYwEawRKv4BHweBB0UDyKI5S/KnMD6nmViP+JgxeCrS7rAKeCwiptnzTKCJ4HB6dyAfFzGs3eun+TWH8VQDQTjjxlYwn8SWKGqzweNzasftF2vIBSGqkYj8ZvvfnAUmwZDpjDFWr6CRGghzUxhQiWfgZkDkvz+NdfgG9GqB6ctKthA/HPHGGMaIgWB7drBsZjvqosGc+aA2mKcGEFV6OHCRr6YCXSkdrp8UZ3fSp2jCtbUA4Y04unnvHFqxdnG1GoYxGv+WqNzEoA== X-MS-TrafficTypeDiagnostic: CY1PR03MB2265: X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2265; 31:XS3H3Kdsbdy+l1EtjKPtPcmSNUr9X+bI8m+goxfBqzLbIZs6pWFLHcselpQ6hBS5p9C4gIoKvEq/vU53ZQTnPT3CMyQTd6I16XCqjvZCTG6yQmfLOGBauItFF82YAHTY9Ml7yoyBN+7LpOgBRD3ozLDHrbQ+BW2+KcMshWQd/TEYnSWqL+qMuXBQEro0DRk55xFXhSuuuCZZjzZecr5OY3RwaVpkbQTcfOyI/EhJaUA=; 4:tvWes/RdR8n8BRPqJ/k1uRMDVRAkh1wx6TBd3bS2suhpRZlrRItmYoypOPur2epdRD/bge4fpnvkAYXnjSewwgzCY7MSAJyz9Do+yaZa0yEDdLW1DchcSZPDKiKP+yo1Gg8driAKB21RKvRprTtslDeV7Q06uEFoSn5xym5NUjAhaRJGYahoDqq9IqdfJUKJHqAoBNXHLUwKrh8WLUQiRQcjhslQfYTHW5IXUY+0TOyVQ9MvTNgJzDLG9UiyJ695f4b45cntcj8wlMDmDPncp7NEr4zH+wTgTLEMzy4js9g= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123565025)(20161123561025)(20161123556025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR03MB2265; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR03MB2265; X-Forefront-PRVS: 04244E0DC5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2265; 23:oixdna4JuI3ES2M3O6Hmzf3GE65nCMGXlAZeZ+gO6?= EYg87LUfSqTFdo59vlSh6jMG3pCqiCwi9OJOaI92/OHFqcX+No2EmZskUhbJmM4VKeCugGDvrHXd8M6d+Rg9vrfGciqTAZ5oG7de5GMO7x/J0o0M+84GHDcgtV3lnFusRP3pTvdafDGR2lknBHx+a40Pjr9yKfqPlJkdlGLqfAT+UhseQyBtglv+Yt6lnf8cSBftyv8temAkEcV9Ocsw7xtkz1Jr+yjJYLuPjdCpTmfKJmgGrNTEVKGood6dZZR8nq42NnB+hCPxBOwMarHGJt0siF8i9xPAbqPM51INj62QcpYw5PdbirQDhQ32MSoK/FgMc61yPCsFabAfVo9v8BEKbNQN4Qs3PJC/WPC6bo/txCulO1KVeyiDbPcQ+WWemfDIM9hZJ2X4CBzb9193dxS9dVOrHUHFXtymQeFMjYztW5TDmes+F2hq9ysFdz5hlPFobuTNiLysvgaTTvj3qQM9RblpF2JNEJ0ineMXt7+vhpBREH9wU5bTPmVI4oOe9fsjL5CsZc0ZA894mo7bcO1VXacUPAdLVQF9U4nuhuXa67vGJ5uzTIXAuGx1sFKHYaCBHMmmbhbtczGj8lCAfo8Nfq+j/NFixHYKE1IWRaPYPbr/Lr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qdYoyxDJwxKWnmbg9mVUvpQBB6G89K5sME=; 7:srWjYIgHeQUZ0c7vHo7KQy49Iu/KsE74CFV5bQ33yqjR18cy0YFUWZf82yvqClhYtmBW6EtonKLeC119JYXhQk2U2csz12OMzAosAG5Ga8tuBtBQQPJh+tIe1/emkFM94bGXVmyzfgjNabd78AbmTD/T62AJsFAl8688O6TPnlbUS+UCrpci2B0tcD6FHelGqSZq/H7dRFOSzsnBUVbDJNtb2SaVjFByqXivaHS4w8A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2017 08:46:32.6500 (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: CY1PR03MB2265 Subject: [dpdk-dev] [PATCH v2 22/30] net/dpaa2: remove RSS restriction with num of queues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DPAA2 HW does not have such restrictions. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 11 ----------- 1 file changed, 11 deletions(-) -- 2.7.4 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 74a61b5..0fe7a13 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -326,18 +326,7 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev) } } - /* Check for correct configuration */ - if (eth_conf->rxmode.mq_mode != ETH_MQ_RX_RSS && - data->nb_rx_queues > 1) { - PMD_INIT_LOG(ERR, "Distribution is not enabled, " - "but Rx queues more than 1\n"); - return -1; - } - if (eth_conf->rxmode.mq_mode == ETH_MQ_RX_RSS) { - /* Return in case number of Rx queues is 1 */ - if (data->nb_rx_queues == 1) - return 0; ret = dpaa2_setup_flow_dist(dev, eth_conf->rx_adv_conf.rss_conf.rss_hf); if (ret) {