From patchwork Fri Sep 8 08:45:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 112049 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1249141ybm; Fri, 8 Sep 2017 01:52:07 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5Y/ijlJ+Vs4pYrTE9CJR7p8NwR0wWA3n5sDbQTX6ZGgmeLAuFA7boe/lrh2bKcieiBIqqH X-Received: by 10.223.130.116 with SMTP id 107mr1351457wrb.240.1504860727184; Fri, 08 Sep 2017 01:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504860727; cv=none; d=google.com; s=arc-20160816; b=snmrfy8HxuibFvXfqg/b3x6ej9d3JL4bI8EXj7Wm9Dctwfvi2XKFO9TRKgWDC8SdWq rI1OXl+QqCxtjPi8uG8H+Z36y9ByN0VVWRiz8PV6AyiADAAIjPxugOK2Ra2URmdyukfA LpSIHT40gNvPRm9FvSBX/vwG6Rr67nCs/tvC5bFbnlkwyOPSVYWtKv/dpDOxd54tHyQU lqLqjZ3m4fwZp6D1WhcpBrU+7xGF8hxXfYiLTxIo3xo73h0r9Ep2tyuiQVJTH0gFn4jG nDlU2KUhxb8eV1iOp8KZteLy60vUrT1D2r7ulI1zY+2q99B7Mu5jR3uWVqlB8cuCzpW1 RscQ== 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=RoVAPsZSUXqHu3rGqd/InzYkwehR6V1qLqYKBR0Of9Q=; b=WHRFk+eKeNQWcUI0xouSMiqs03SfMYZcVmgy+nUx107PREc1VTRXgiO3wyqfbW/qJp Frul20j5qIDHxicvN9c5B0xlsQd19an9H9FXdf2g3N3PEBRxUbDyQ7LcFSZK5VhMpvqz AQOT+NtSqb6lb75Wl9k+m2+u8QTFmXP3IlUF1UQLXQFGiCNaHyThKtH7FyDJVaD/UOqZ pBddAFLjsGpuUSvy0CSS2U2ATl4n4erV4cNuP5Zu4p2oxNFvzKpblXBtvyQHWhnrh7Xw aCOZdNL8oQ3pOl3E4skLIL84ibQNetipBekviVfW+OmJ4Gg1mLYYzNOQFGDaJ3CaJQyO vvAQ== 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 a66si991606wma.270.2017.09.08.01.52.06; Fri, 08 Sep 2017 01:52:07 -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 AFE8019A6F; Fri, 8 Sep 2017 10:46:46 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0083.outbound.protection.outlook.com [104.47.37.83]) by dpdk.org (Postfix) with ESMTP id 5F36719A68 for ; Fri, 8 Sep 2017 10:46:44 +0200 (CEST) Received: from BN3PR03CA0107.namprd03.prod.outlook.com (10.174.66.25) by BN3PR03MB2258.namprd03.prod.outlook.com (10.166.74.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Fri, 8 Sep 2017 08:46:42 +0000 Received: from BY2FFO11FD016.protection.gbl (2a01:111:f400:7c0c::114) by BN3PR03CA0107.outlook.office365.com (2603:10b6:400:4::25) 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: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 BY2FFO11FD016.mail.protection.outlook.com (10.1.14.148) 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: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 v888jmox023063; Fri, 8 Sep 2017 01:46:39 -0700 From: Hemant Agrawal To: CC: , Date: Fri, 8 Sep 2017 14:15:24 +0530 Message-ID: <1504860327-18451-28-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: 131493340022008071; (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)(189002)(199003)(33646002)(6916009)(5003940100001)(110136004)(2950100002)(6666003)(68736007)(8936002)(47776003)(5660300001)(50466002)(54906002)(48376002)(50226002)(305945005)(4326008)(77096006)(53936002)(356003)(81156014)(81166006)(8676002)(104016004)(36756003)(498600001)(85426001)(97736004)(2351001)(86362001)(76176999)(106466001)(8656003)(50986999)(189998001)(105606002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2258; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD016; 1:uFxXrO/7XXTj0oi0O4uV1Vqjx9cE5Zagol7IrapfmIvPBLAcYFIo08W6LNN1Vp6mRAoKwdKzAVPCxseTrX9wWqTsniPz/1LQ9MA/hqTp9LwrjlAYpOi/AIO1ETQtYSD9 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c454eba4-ae52-4295-5dff-08d4f69620bb 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:BN3PR03MB2258; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2258; 3:s/DKRwEiLpfrOkmJdfu7B73/PpCTbW3QMtYZzDcaz2O10Ti2MQvXJx/c0CopCp5utv6Fn2sLhXtWEw2CXywMXZJpcEdzyVeDexPI5BGBJToG5VYnJaUuGLq5k+8lVDQ7F5PwK2DF+JTbgYR+U445HHF8L/14M5+VMqOELSlewl/81L2WHGab/9aPWt1f3cnrqhJwlMy+8f7RwbXMhauTNgmYyL8Q6WBNBz+SW50BiclOW50+drrDwqjr7fyqmDf7YABuQ+N8BEUaa35OVKDd6BcNyb7b6bNeJfRP1pLNgyUd9Os0NFDdrkh2JAdOBrOzFVs0wpgp0uJHHQJFFWgm1MpoSD4g1vgo4bzVhPUC+ss=; 25:igYXD/DnW93PHWlFIhP7EDYq4J3ZfNn2ZS+MB620zTtNHmC52vW59mBqPeO1YzRHIFJk7BQ8tNYVOI2ICvP6zNhOiPDXUXWlW2RRgzpr5VmCaMZqbNydTY055dnCwmCQUlfkXnkWH48CtFSQ0XirHGttBmPeWUlXOUMXKzddp+opM7X4YnoJW2UcIfSzwevhsZ+MGoHajykrqdfd7rXd72BGRyJUClGXWA3k1wDN6V/2FeVoipSfdUfvUe6SEGBAFslKKrkDAUIgv3K0VrpiUIGWOiWqn8ypOuV6j189uCs5BtQUTg7xTIsG59T9Hujvkv/QVidr3v3V2hWSMABs+Q== X-MS-TrafficTypeDiagnostic: BN3PR03MB2258: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2258; 31:EPVjvyBbVk3bDVymQitlxq0z1o9sEo4YyfzpWxI8fiaxLQl+f40Dx1GkOEmFn60B6uzS3F9++IJ72pvhcQ5UUVVSCyjGz6nBWmTP1QL/JHdWhIkHKrPaJs2K9WkQzBnrjpceWgvPmJLxUUIqpW5FEHQKhmGjulfFkwQpLep0YPHbI22BnH4gFL7/5/wuWc9eCZ1A/K6ANAuL0wthVErmlHhttjzqBiGX+HVO9so47Mo=; 4:9rGcFMLPMty4WvAOOWWOOZhDbp4Y1IyJN1o2Kq0O24Pai/8EcqOpgRSjDU8/H8dDzUU4CA2tqPTtON8FRDS5itQ66vsNtTro7eMdNtHw9Mzx4HimzQXx5QD+JhYTv9A0Pg+3o0M7V3aZC7L0h5doYirCKi33GMfvVptvKKr1crIlaPwB8ELRpyZrvv2nKnEqp+ygLpXOr4YJda9dcRN0Jp0J7j+Mtzn9Uz4ZV9fR9D1TKeAzicG90zUp95GZdszwQU91JNaUQf69VE1Io8WXh4YCwbM6Z4SAvyWNLRNUdXs= 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)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123559100)(20161123561025)(20161123556025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2258; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2258; X-Forefront-PRVS: 04244E0DC5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2258; 23:frmmX/i9TP+GPw7LXkfu67+InUJtCeh2l5+Oqin+X?= DjiHaepoetIOWPmLP4TaGlPWAKNynaI1hqMElxSoWS+CabIxHqEGVErS4SeZFBZVHHKIb4KIet2jrovtBV1d7Kxn2pqEYiQ1b/KWS6wCu+uRpNxwhjmKNtB3IAeTaA0yIB72ON8FaOIgGD9+jjCOtvk6g+8cTiH7i/VArcCTRvR5c4IXS3R4EkHQUqjSyscQq0Tg+5SR7CZhubMdH3SJRbujRapqV91fYmqLhf/jsW4XpAUjPIHjC5m7joC44OP3dfGniKfkxdrVFBx/AgcdNZoZcvAkvV0A1rMyqzcHWYmQo5cvbduZ0cXYoPhtpeRK+4hFLRETN0qecV55/vwunOpl5KwjfCODELhnK+O4z9VzOkkBh781bOhvjLJt5X8GszeVmt6eYWg1yPQWXbf/dYwbwukT45jC2bpGnpfDvoIsnXSJKZy5F0eM4Dd+JCIN4WggcuCjxjhZ9wUZYnyKEn+/vJeLieigPdHThN6+mYR6/OQ1fLyOOyKiXYBiafitEm2wUgVsjgLo3+lrUsdN5gaK8AroZhI1atRaQgRxpUFfKWbRSHK5mx4xJ9C3jZfBsaAKaI9WfBgwQsFjSg4BA6ond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2qNPP7nVxTw2qxT7h5VypBFalRTztZ8d6b4S8nspyx7ySd7fqGr3MbroCM5on63io7/HGBA=; 7:UYmzTI6Ehf4woBUjnaZjPsMw0pEluEWY8NUbHmBKucrMjw4WvhLpr4bKrI8NeqUNmehYcwJC58umODID+ahoxR7jGpk8RnXZeZXwDaF40VkWv2ZbTtBrKXhnd2dtP9v2wOOEiwf3J4+ytAayQc1+V4hqTgv3KTkM6tyApCnJsvd3TGILiCemFlHbHrm79L7elXeaS7wSg5VTBuDhocGGv8SldfCZKX4Ep7S6oimaAU0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2017 08:46:41.8264 (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: BN3PR03MB2258 Subject: [dpdk-dev] [PATCH v2 27/30] net/dpaa2: log that VLAN extend offload not supported 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" Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index a274e12..589ae6b 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -182,6 +182,12 @@ dpaa2_vlan_offload_set(struct rte_eth_dev *dev, int mask) RTE_LOG(ERR, PMD, "Unable to set vlan filter = %d\n", ret); } + + if (mask & ETH_VLAN_EXTEND_MASK) { + if (dev->data->dev_conf.rxmode.hw_vlan_extend) + RTE_LOG(INFO, PMD, + "VLAN extend offload not supported\n"); + } } static int