From patchwork Sat Sep 16 10:52:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 112805 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1617806qgf; Sat, 16 Sep 2017 03:58:32 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDYYoOh+mLm7Bi0dwG53bp9j52gkL+A6egGLzTTANBIvarvT8+2YeoeD0OPUpuRtEmQTLef X-Received: by 10.223.196.161 with SMTP id m30mr8253248wrf.187.1505559512776; Sat, 16 Sep 2017 03:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505559512; cv=none; d=google.com; s=arc-20160816; b=AD94j9GnrpdQSgWgsxrl/oJ2RQTjDytZKjw3n77z2s7MRAxHkKrt3l5G3rx5wF/1/g P7TwrXCyinfwsIzy9f49iMB6dEfKLrYvs4Za1dF3CIm0c5vY8P1KmnHvKPBRWOSm0Ba8 wZSFUF/Xa/cOy9I+9wAdN66JNKcIU6x6aX88g0r96JluttiMtvc345XVPp7zE2jhF76l moJ0CuTRIwMCU/cZy/MdJFMdLwaMg9wDKBtNgtph0rwHFwd2/uRfUomz+yY80fJHHjeV JkeI4JKr6pzZZHBJ6iacOsGZU2jUxxq1XVvOO9XMddmC5D5XBF7V76/3jCnIN8UHDHvc 43Aw== 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=LVW88DG98o86eRVoDwoC0GA+QUPaj+/+hI0ur96NNjg=; b=Baf4iZm2Rvt1WQdDVgF3jwvcrFMPyGca2qjFzhzmDWIj4S4XZ0VGEm+fuIXf5suZsV /AAGcX+E4MhwCSTgUSzSPMcUjoAylGfbmCz3ZNMhx7gcDnxBxnVT9ep/RN3zB1orsaav fMjs5F/aGBJ2+i6Gmv4ysaj7b4EGTLsliwyw8It9am9fkVt2mn5NgQKAMAP0sHINalFT a+LtQkDmjGw3rxoLAW4hPSJezn4MXi5nvIbDYR7DRjLRLJwEHL9qxc7XwrfF1+z4VU1D agBjL2FHhoOHeW0ecnTAUlkAoJq1eMgH0ohaOyIbKxJQlAOU3BJSBQg5snUjA6v4G2DQ xbQQ== 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 d9si2438889wrh.118.2017.09.16.03.58.32; Sat, 16 Sep 2017 03:58:32 -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 4E1C41B237; Sat, 16 Sep 2017 12:54:13 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0065.outbound.protection.outlook.com [104.47.34.65]) by dpdk.org (Postfix) with ESMTP id D452B1B1A9 for ; Sat, 16 Sep 2017 12:53:53 +0200 (CEST) Received: from BN6PR03CA0080.namprd03.prod.outlook.com (10.164.122.146) by CY4PR03MB2695.namprd03.prod.outlook.com (10.173.43.138) 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:52 +0000 Received: from BY2FFO11FD001.protection.gbl (2a01:111:f400:7c0c::155) by BN6PR03CA0080.outlook.office365.com (2603:10b6:405:6f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.56.11 via Frontend Transport; Sat, 16 Sep 2017 10:53:51 +0000 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 BY2FFO11FD001.mail.protection.outlook.com (10.1.14.123) 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:51 +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 v8GAr6vA028328; Sat, 16 Sep 2017 03:53:49 -0700 From: Hemant Agrawal To: CC: , Date: Sat, 16 Sep 2017 16:22:37 +0530 Message-ID: <1505559161-29222-24-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: 131500328317024056; (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)(346002)(376002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(81156014)(8656003)(6916009)(81166006)(110136004)(316002)(50986999)(8676002)(2950100002)(76176999)(4326008)(47776003)(6666003)(305945005)(54906002)(16586007)(189998001)(36756003)(53936002)(104016004)(8936002)(86362001)(50226002)(105606002)(68736007)(106466001)(48376002)(2906002)(5660300001)(498600001)(356003)(5003940100001)(50466002)(33646002)(97736004)(77096006)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2695; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD001; 1:hqO6YbmHjI8YkRqMxV+WD9aFSfWnwZhgx9DzpN+V+DBSh7eDgmjj5bYs80gnyqv4BgeNnXDCROKQRWnpSOIlM8gWhttpyIaoFlY82uwnSad2aOC+bRVaavBcqVFa91Bf MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f32a3e06-5d56-4fb0-ec30-08d4fcf13792 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:CY4PR03MB2695; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2695; 3:2IkCG+JHQV6p/52ege3EWb3VGDLQa/L4O7/pFuuNUX+jESF0yu8itISHe7caB+st2+g3kIrw0isGu9lelVr/fDaChCTYjJx8Msa0MTCxkdKWUwha4vt0eWd/qIMoOIhTd+y76riWZS1PTzXe7yNBP5ALbRMCSpPWr4Av1GpyUVqhOIWy/p22Vb87rYZYvVTmm37G9fWT0lGAN07I9YoXmUGwubo++IFDGaiPVSewDh3SxddfiR5somz91X+FOArZHCmRBFIDXztYWqhu+fh861ppL+DuDFSydiuKx9j69OlGUmbOxscilKWA2c9L5djr9ZL5ZtuaxwTE36Wp2nF52uao7OUZyEHdqw8PzkdZfgM=; 25:w2GswgNP6+L6FQpXLRwEIpqoVf+sd+SU/B/QwPq0EdmTWaXE2WDkCDaUT4ZMtXtu6qU7A8aBrTg++g4US3tUXWR+Bzux5pUuxoyvRZL2aXC9Jkpzyxr5RdXShMfbP7tlyszpP+ePwGBAS+OeJe0/X2lpBwQfa98DP/QHdGKR/4hXqddpo4HCZBOnV8oWTtxjZMJnAJwI5XU37cxPTHK7tgzDYUMPYgSqahmquEfVRmcu0hHgcbRo8MzIzigrPbpPzqPJprLPx72lIwv7zszrDOQb2sUOj/DYzwU+ceBk8/LeoJW8/Zy3Hhr+cOVpUVRrnvjHAqdpfOG5noqaqzBfjg== X-MS-TrafficTypeDiagnostic: CY4PR03MB2695: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2695; 31:Kopax8VQLAGAf5ydZKRMjZthH39Ajbl9yhJQ9Hgr8WU7LEUfdtNqMTKjH5ssyepAPijzVeH827LBV8DmO5UVxqKNRNHOQJRgMeqFBa33ksM0lGPCY028DjziR/qBosmSIBPCypmHcB7hh8KsPK9BmkQnE5HRI8KCJ2W82YNUowS6JcmHl07orbmLmSDXzvkmF3Ut52rETiQStP0B+F/UvgYE2RuqM/OwC7/HpmUKiEU=; 4:T3h+AMP6WQ/PxUmTOV6xoIxiyVI75JdYlQ9JPtCJMeu9wVBOdYUDIcq7pbS46DH7RviJ3XVx/JZ2B5gGgRb6cNMWbbdjzRynA32DPxUkCAFJnXqRIIn02BC1EkVKiNl7AqIvootjsELFMlKOPuZwu1mLGctVrQhl4AkVz/GJ0G8M5voTJI0NJvsUOGQWkxfYTvhN7+U2ZpE/hhRBNTWewuDZ3h00mPCFepdzAFClDHkM9RtecHxyK543okmLX78rpYoubRTFCAHtLIejUEvcXpVmxZCMwzum2cmCbXbPTh4= 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)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123559100)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2695; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2695; X-Forefront-PRVS: 0432A04947 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2695; 23:wVOsXIpeOw4NvkUKbyOnCvOsccRz3NKmfy2UqaCgH?= 1mty22OGhWJHqyXxcLJuLXa5ljAs/VYoKnys+o8cLes+lqXLndBWVkOvF86uHPg8tb1qkM5gJg6Lq90XlMx/umXDqU8vcgHldpyPxVbb9hmBRTWL7dhgWs4DsckrftVoGCxLXZUQ53ya4hVWQPSbmPneCldVHGMkhUj3vfSTFHTmiJpaA9IlnWu63CBNcOaeZUwtmwYVMrTISinbqr/IcY5q0/xxYM2SNe/2UkLECsFzERU8Ff8wE6/tx9HI+ywuLsSns5JrdUDcQHRYVtrtFX6DXsQb5e7H7njGZRkpJHbxxoXAP+ECjMOzaa5f+9vUfLU/ZxICb3CH8ad+eNltTdTNt9TkmvNiuBVulmby2itIoEEzS8hzbRi3NhOw+ZSAl9raQEPm5Nf4ak4M4cfoR0ahWL7j5NG/kIloXFlRdBxKzfK1AE+uOKBOHQ1bzfe/yYON266rXtl4pMF+RzD2HHIfHp8QWMI/WYIiGszasDBqTm5QIIpZrDwAayG93I4iinhtQ21qAJO26T4lDCoo7Cj5u1MknOQ4Hg7wIEeY+sBndot1nWPiWGLgPQoWUQvebDM1vnPdD0Yvur1M2YqppoP49jW84DAzVT/I4KTlkXplUyyneMPgb7EE/JKfIoCZv9MjjfWApU81x5AU5Q0RwIiVf+wj0t22P7nhdYv7r1GdJkCVsimcT68kBlE6K5ezF4sekubBOwIb8OxIFk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ha7VBuBdzvB2nqOIrbdc3vP+uQBO6kygLyer6NAKOJhnCuSIk6zNMTrpgH7X+3ceKEyWjSLEAa+sEUVThZauGolNbvHtdNSNuqydyEmQ0n6ZTfYmN1ufBxfFCiS0S768hAcoU6Oiwek2+XoQgBOi25PxlaqE54d7XE5rf8X4IQnTnL1p8wNBx325Z6+2b3DbScE3VSbBLKmK9mUfgamCpXgvhsMMMroJG8Dt4vrA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2017 10:53:51.3904 (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: CY4PR03MB2695 Subject: [dpdk-dev] [PATCH v3 23/27] 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 7b09a87..611f59b 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