From patchwork Fri Aug 25 10:49:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 111005 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp814063qge; Fri, 25 Aug 2017 03:55:09 -0700 (PDT) X-Received: by 10.28.214.13 with SMTP id n13mr980522wmg.16.1503658509312; Fri, 25 Aug 2017 03:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503658509; cv=none; d=google.com; s=arc-20160816; b=XLKbaWr4qHYOQLvWTPxV+SEL9Oeyw2pXmnGoMeznZ2m+pqyzR32xsUB4uFkVw4+Gdw thkhPP718r86tEJ2SpUK5d2lmKrHT97LARHPJ0glZqLXOL3BgeeFD45QVlGQJ1uxtkDB Wg6t4c6jOqgcSLCs8FSOgoNf0UdFIFQiwHICjHZup8xA50oaMkGXaJTlOniLeyPkPw3b Ehpw1CS1n0oIpd8xb85ORxlsP5BHIx/yWQ3X3UafeDyyrtPQikWT8KjeOXN+sFTvbhLk pUlsWf+tUSZUAkhNI5Kw5fcLfgtFFdcwyrntJSSGksWbM+OE3SiABe7CbWoUY1c9c9zL v/6A== 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=urDDE376wYQJbqFY/n685EvUUb/fLIi+4MypYTOAUNE=; b=MlX0K5djUiWl7lnG3c1Z8OR6n5wpk+jlaJMXAQujfn83WrpYjCyNMoURMgjTM5meJ2 6S3ZfV9wb+wXv7wk3s9T3BO8acUct7gEZzNU92hrgcC1Hy6pW608zWOa7iixUqNaScMu kD3XQsw/SxNe3Gpuh8HhLvKo7RWOiPTptqPWo/xOrRPsWQp4dKcluU62lciEepUF1y/H mg5KEht/KUyrwezUALO0NOv5MA7dkQb9KBtC7hQyXuVfipgnMfk4YUXFOX9Lx1nIBRln OgKpHtBX0+eU3T/BY2vq/voPmb3tCzgrQQND8Aq43QwUXQlp4TO3puJXWZM2VD9msIQ/ VpTg== 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 124si1015853wmp.242.2017.08.25.03.55.09; Fri, 25 Aug 2017 03:55:09 -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 6A71B99C2; Fri, 25 Aug 2017 12:50:48 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0050.outbound.protection.outlook.com [104.47.37.50]) by dpdk.org (Postfix) with ESMTP id B94A59981 for ; Fri, 25 Aug 2017 12:50:44 +0200 (CEST) Received: from MWHPR03CA0054.namprd03.prod.outlook.com (2603:10b6:301:3b::43) by SN2PR03MB2270.namprd03.prod.outlook.com (2603:10b6:804:d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Fri, 25 Aug 2017 10:50:43 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::130) by MWHPR03CA0054.outlook.office365.com (2603:10b6:301:3b::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Fri, 25 Aug 2017 10:50:43 +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 BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) 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:42 +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 v7PAnw6Q032070; Fri, 25 Aug 2017 03:50:40 -0700 From: Hemant Agrawal To: CC: , Date: Fri, 25 Aug 2017 16:19:38 +0530 Message-ID: <1503658183-4078-23-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: 131481318425035594; (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)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(8656003)(356003)(50226002)(68736007)(8676002)(8936002)(36756003)(47776003)(5003940100001)(33646002)(85426001)(105606002)(97736004)(106466001)(2351001)(498600001)(77096006)(6916009)(189998001)(2906002)(626005)(53936002)(54906002)(4326008)(86362001)(104016004)(81166006)(76176999)(305945005)(81156014)(110136004)(50986999)(50466002)(48376002)(5660300001)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2270; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:JLkAxmGqDop3x36jwSpTBVlkPSnduCkQd7bOkQuBFUxIJBfZXF0HXHKU1Z1wnyqmn2R4FfcTb7Tjb+KJWuUFk3u8mWX6WtYBRBaaNsi5Fs0BZSKS013kmluSGFs7Xc25 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 486d0259-4057-4fba-a1e9-08d4eba721c7 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:SN2PR03MB2270; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2270; 3:GbU0qI+OhoYqv+ZXEjy+TRQR9fFxlavf0vRmC44uf824boZM1QT5jabdDgJ2grlK22KrGeo8SrXiXxplgFW2HjvCdui8JSIsbbgqUWrHWhAZEMJc6qkH8iAyqT9fERI/TejBZeoPQlx063rpQWi+6bswvjOGft9yPwfRxR0NDmjlcGryy6hMO6CIaEN8w4Ej+DyBSesqVxPaTDoRJWH6DQl9T25jU9vnKe2k2X5xuB7WHuE28idYGQi55qVk0mnBmM/uC0enXZmBoriUgb4VlK8yBQhELxDcGfLOg43sGOOHgHaO4Bm4+N8j0+MtZPDqjlLmNAnYxFWCPciCHwFCaO0VQKJozvedVcvzoZt1s+0=; 25:x0ne/f/WBjiBHieJ3xxo/7Q6+w93hjl87SGbZgGKZuTb27/dbdf2bRnaWbZzy8sADdDE14NWrSXd168RhafOSuDxsGBG+u2Rd4QNE/3YaUWDPOEy/8IT0ZgVZR4dwWFnPeSMFCbTSoamYBqvIj9MKG1117NgOBbJ0W4LBstq1YdMg/DbQtQxljl+9pZz4JHu3ht54eAl82OolXmHiYuuOJdeL8QkhwFTGJQVfeS2sQuS8zOlbXA7XP/eshGHvhQ9Jgflrv0uoH2sJK3I/oT4BdY5jH1y3GBu7lbdofrWnJWtgW3HQZH3qo/5mj1UCBzrWxy6lOdotsoohWH4jMi51w== X-MS-TrafficTypeDiagnostic: SN2PR03MB2270: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2270; 31:90LEbXk/V/NVydCQKy8fOC0xl1TckMzala7yQO1qv3klI+zyTxh5TvfBFL4/cbRflWO0A0b5eTvtuYmmwfa9V/hv74kiIka6G8NlZyZr+P8fTcsCgaHlBerrKoW6k9iuLhXXmu8UWuT67IbNygZEZnVcfPVPB1rXnwjQyS9mrEdy+kpbo2ftiWMvMq9r+VhiXQLYZy329Z0NK3eZCWLunjvde/fFWO4j1H6qa7ylkf8=; 4:ssZe2QpHUYb/deyDTfc+aoTzoPjqMhw1Yc2HIDz9BvCfMw+E6h0JX81szfCdgGp2HyhFl97a0PVLX6facl2R1RRLyuM4kij7NG68d5PxLT97YlBp0VD5PzE8tkn95BkvpQ8noWeKXK4yfUXGM9olbhcS3IkmTyj4l+7dx3TjGDfh0cSi+r3ku6qRNddh69QTZMCZTKnjxEWLd0QyO8whIBIQeUXN2LZouT9j/ILfhupuf/i5/GX1zDIakbz1MZz2oWhbOnPLHLoglv0eX5b/0MHD22Hran3K+Ji/HVel3pI= 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)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6096035)(20161123556025)(20161123563025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2270; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2270; X-Forefront-PRVS: 041032FF37 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2270; 23:Dl4QKB7ANCGhYdItelBJVJ81gr6NvwswlkeLxZnlU?= w17XV/IROsVCMMI4P7mkFdjyEmhH63Cp5lagLrHGrgNEInKWuFRTaUNehXZI4iweAPQ0mWhigeQZHo8BMCd0K+9sXLZcDO7l68qMBVdYidH/MddZMAy1kQyQjs2WDquu3yqNjCAlAupA2B0eERng2xR5WFEFprHcRjOltKoM4EU7FOXnNH5GREZG+eCgUN0i8MJU4wCOlXQmRq4G3Y8sgMsD/ndhEC/edM/4y3ft4/CDsVGbjrL6lJB1MDzkUYQwKUXTWItbUf1aZNY3cnncwVqWBSQw93S4nrOlYEeQqvS6xCdCcTxdpq1JkI2IvRtg+FNsPIbIxNvWN729HT8OaDRcFM/KHSnO8u52dvLNJNTU/GIKtIgd6o68Nj/tiACOnzAWzWTelfpkg9DoOIQp0ZaO9Yc+XOBKzEZrgGJE7DSQaf/MP6Lg11UjDuQVikxSx8yHlL/CNwIqRq6EELe05w88KpS31k8Irc6wVKYFJjtC+OvHg8A1uo999Ubpese6ijBsCZbhQcLi6Phxc6QskXlgSgnHtFLYhm821sa4NgFmJdMjRWKgnCL5ybPB2MKD/VknV+GzjEYEASaugkJlCwoe1+ayi0OfBpGpywSVfGkudFhNbOUmdDyASGLIZF/mheswirw2yf97QV4DVQkcvJ0GblCpNRmrXHye1Xc+ypFxyM9ANOUGmAmuBpDxayqkA1PbHnIf5feJSW1+GYCzAaGEnD+JfV1WLKbryGdK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GkjqgOSNNh8NFoXe7RPMJ6fpKDY1U131T2V8XcZ6nGhi2McCDzGgTSSjCvMXPcfg3Pk+oAOjsZp27jJzHYczWx5lcXs5KfwQEt0YK61OeIWMZIcHJld6nBBiO+EVks8UUt9aX5N6wiTS2IFXxv8MOwP4yts= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2017 10:50:42.3319 (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: SN2PR03MB2270 Subject: [dpdk-dev] [PATCH 22/27] 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 5e5a71f..dcf783b 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) {