Message ID | 20181012100426.29349-3-shreyansh.jain@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp538007lji; Fri, 12 Oct 2018 03:06:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV63emaNSxYBmW20/knB6nnOxvb7epCe3B7DjrQwiL5GmOAYkFLu+rL5PV+cB0vdOU1vYDDcj X-Received: by 2002:a1c:540d:: with SMTP id i13-v6mr4800699wmb.149.1539338762769; Fri, 12 Oct 2018 03:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539338762; cv=none; d=google.com; s=arc-20160816; b=Sz/gcFvBELLDIXV5ZFVAnER/mPHgyShvTtlE/igeyxantxqfowVL4IUoSywsLXdeSK RtwCEnwo1jqsA7bterbg0G0UW7nmWLd5xR2PSf77OlxBWGxQzJnc0fVoJgEJG3JuqT1Y WMfRnSS/FVHrV4JbJlLzsv9BRSZSAz5NinV11ODbWUFA/iO7Rg+PtVLxwC+npyqJOENa vJntHTL/oQcUTmW5ToIiNC+g5Dy+F+K31TeRVaxOYYE2rn4TL+7nwGil4FXa51VH6NKc tJbX0BfL9hWFZjmmEGaTNjyho1jByIh91ocTsIlkHjv7bS4ElDDRayQqL1oGXa013L10 tyjQ== 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:dkim-signature; bh=9QgRpA2SAJ+0jmc2ZigcXa4UUp243AuUa6L+ZRZ8YTo=; b=MsyuDhtOqcRJI726VhLXYvg7RF7oNQ1Ev1vCDgXeO7CqT14KGXcA/DR+hSr2JLtF1R KWDnY6saZ8aY+q8m6eahT6Ni3JmBJys0EZY25QaRZ9fV4sc2Mrz0qM35nh36l3sXWuiJ KL2JPG4+hY4NA0pSvcY40EL/cGBqqLdr5KsvyLLik50c1ignT+nzFkB+u30Ice737NmS S3zDbe6ASbGb9V5MsKG2XYYHukdl4X51KBGuq0xz3+7tDs04eHLmBNKx2BprHXxUsJQQ M/TBEX5OK0gU7sJ+QozMFsGc75gSBk953UptCZzZcZjWI93FnkoDPLr7UWc8U5Tk7MqS xa2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=c1tFnPFI; 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 b13-v6si835935wmg.68.2018.10.12.03.06.02; Fri, 12 Oct 2018 03:06:02 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=c1tFnPFI; 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 7B3F11B19E; Fri, 12 Oct 2018 12:05:48 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00041.outbound.protection.outlook.com [40.107.0.41]) by dpdk.org (Postfix) with ESMTP id 7C40B1B452; Fri, 12 Oct 2018 12:05:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9QgRpA2SAJ+0jmc2ZigcXa4UUp243AuUa6L+ZRZ8YTo=; b=c1tFnPFIx1OA60gO7dz3Bjz0Nvsnl3RtAyybsopVlCOE2F4wxK5uH+dRd94EmDRm701WYRxCZ1qPsHfDPOStScbxCkSHjF8hYERnZ24ZHq/eIQHNAKOJcG0PvZ2Hb8/f94hU4SeTYShkSI0JRnw5IP6QtmrKDFtuuABDeBkaPlM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Fri, 12 Oct 2018 10:05:42 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: thomas@monjalon.net Cc: ferruh.yigit@intel.com, dev@dpdk.org, Hemant Agrawal <hemant.agrawal@nxp.com>, stable@dpdk.org Date: Fri, 12 Oct 2018 15:34:13 +0530 Message-Id: <20181012100426.29349-3-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181012100426.29349-1-shreyansh.jain@nxp.com> References: <20180926180440.31726-1-shreyansh.jain@nxp.com> <20181012100426.29349-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BMXPR01CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::14) To AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92a38e82-1739-4a2b-91f5-08d6302a45a7 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4676; X-Microsoft-Exchange-Diagn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hsmXpXYck2SdNCouvBFeB2+rynSVfzBPCSJzZdaOHrOWeYIGgojXNgy3W/k/aNjoY2tZ/EvzrISnkl6yCMaypmo/D0vh+IRlF29wfJrpnvfdn2aXYjYf/j7fD+w+hNCc3x/FBL48L7YBudTndvNpBYX0z4nVIkYHJ/ApNm2opfy/D1KaXCoRIVvGBOIr2eH6kbOwoHXcTgY1vq3LqBobD0Vidn7RCFDBH2omtk1Jp3qvGyLNVO3ML3h2ccdIWjEqbELXIyzSgTv5utap6inJTKz+yxQRxaXAJal2SvOHc8V8kzda2Tqpd1BD1mRsbVb20NRWmofnTiXjX+efQK+vf2EEXPSFbc6PLaPkN8R4d9V0y7UUtfHBH+dEkqY75R9qf/; 4:D/Z2xAxn7JBfSgY/RvmInEVhbXUESD5Q1iKNsJ74VKy9okGxOihIkvaXNf7EbzJIy4JQ8XtnSVAV9YUju9GSPzUwLSAtkNit07EjO/RMPcBcPA3G3lR5Lt+pV5cbdv8jzqOVMw+JVGJklcEKFPEcDDmBpzXm66K3Vx1yYy9FtYFEdYzJmGjX6qo+6UubOYCGvzizsDx7PqwZsrroiWccnNFQukpskqLvjUA4raRUoWFCfcGx9KeYrsOQZFYde1HXlSaEFR011f9BIAUd+wERRqwB5MEFQVGdVCugVwZIFnoxQgy89N8ah7cxxC1w+k53 X-Microsoft-Antispam-PRVS: <AM0PR04MB467645EA130DC8CEF0855D9D90E20@AM0PR04MB4676.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM0PR04MB4676; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4676; X-Forefront-PRVS: 0823A5777B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(366004)(136003)(39860400002)(199004)(189003)(45074003)(2906002)(52116002)(16526019)(14444005)(53936002)(8676002)(478600001)(186003)(386003)(446003)(105586002)(7736002)(106356001)(6512007)(6116002)(86362001)(3846002)(81156014)(50226002)(68736007)(1076002)(47776003)(5660300001)(6506007)(8936002)(78486009)(36756003)(316002)(26005)(66066001)(6666004)(25786009)(55236004)(81166006)(11346002)(48376002)(76176011)(44832011)(2361001)(956004)(51416003)(2616005)(97736004)(1006002)(50466002)(486006)(476003)(305945005)(16586007)(6916009)(4326008)(6486002)(2351001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4676; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR04MB4676; 23:Rw80Ki7cTctaf/9nTClUSVT5VW6RAyxrFJoCh/Fle?= wAxk+yMJO70IzpsOUXS3J88Whr/IihuPyLTv7b3y8D3gjfhK04iRppecJBEWsSidNtW4ovpbUjNJs0+JcW7oaANBubdbh/CfhcMx6X2ZeDG+8LsloG2xalzrFCOvlY+ThAHqYuPoNU2XRE3EPfHiAbBC9UcSAthuTokwzc23IwQOEB8jtAGM+8mi5EY3tuI/3pcc6p2M5ReFPZ4bD9A0GYcreVahDl2pTSI1Bw9qst2rfokKwirpiOocm47yzzKV+mhNwZ8Q3CS0Op1PG7YyKWrG+YmhgoZz7DUThjHHmXBKPjKW74Zr5pRa6CUqNjDVfOvjsCKgZ98CDaN1yLk38wjSqI2jKvd2NTSsSjFGMif/JeHksJtuH806KcBJCNrPAddUwzGo2uGF83hpyPkqWU1Q1q2HFcFwovPdH2idYSKAQx42UwoZ8behAyq97bTPnS2XyUxP6OfUGz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n8kmWanL2tZ4ONQnLlpWItID68VwM+FEtUsJ7elk9vWEhgSqx/XHVruPdVjJ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2018 10:05:42.3395 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92a38e82-1739-4a2b-91f5-08d6302a45a7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4676 Subject: [dpdk-dev] [PATCH v3 02/15] net/dpaa2: fix VLAN filter enablement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[v3,01/15] net/dpaa2: fix IOVA conversion for congestion memory
|
expand
|
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 9ae326023..bfe78c051 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -405,7 +405,8 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev) } } - dpaa2_vlan_offload_set(dev, ETH_VLAN_FILTER_MASK); + if (rx_offloads & DEV_RX_OFFLOAD_VLAN_FILTER) + dpaa2_vlan_offload_set(dev, ETH_VLAN_FILTER_MASK); /* update the current status */ dpaa2_dev_link_update(dev, 0);