Message ID | 20180926180440.31726-3-shreyansh.jain@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1034535lji; Wed, 26 Sep 2018 11:06:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV612tl/M3ozjDb5dVrFJh6Ir2jAsR0oETnxJuGPikjviABRRCz2T5zpguOBx6etZq1440947 X-Received: by 2002:a1c:8e81:: with SMTP id q123-v6mr5627428wmd.56.1537985166018; Wed, 26 Sep 2018 11:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537985166; cv=none; d=google.com; s=arc-20160816; b=UKhsI7Ky1BqqoJQvweJw7bNQZjDoduirkGzGX9CxcXaE6sfKGPe4HxdHlYEoj1WDhY xDZzfh6WuvHvwbJx2s5vwH5JupEe3wF+phdAbg7Ct/o10zbdPPU1qlJrLzEa/gkkrfl1 ElrcOfsh8miaFAPEln6L7F788R499YcLq3aJUcUHXTNuXvBaHFTs4IPrFX4BKeM/5xCR KLHiGkhoT9AEY11XyQynbiMm0OJ+//hJhdvqVyAanXilZJ8l1Rl1wNZwRD/LVkI6KNh2 nHT9kG5Ap0qBE2rl7/zGSfUw3+0ujl/r5RIqzuhdn4XCPWqaP+cVpaVn8m3b3z3JlE8Y 6Y+g== 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=JLzT1DvExB9Jxm3jRfgyu6BSrX98u8aF6nBU6jvFD2M=; b=GgctehTqKmNA3Prarm31RKs5pnb8UJi4nDVYYZE/npuxsMsHb3EGz6wRLcHKPKenYu Kjb345asKQmg/WlECjWZMwdX0iUkegL/3au6Ubbi8M9ttdO7mxRblAD5gQL3HlM3q/1A yDoYIc7j+PGI2vQcMZVSXnJmeuCot/Nz0UMYJ++B4QvbkXlGcDjrDK4kUk0DzIuPSezL ZtBASVao+JRnZy5cP6zmkNAgLA+i+KFpI8X1N5f1KaU1ARtRNc28ja0EUAsd72UAk3ub lhtr43U34Nh0HXQl81XomMre1FEv2S9iEaOB2FtYDqHhOMaKs4fvlR7usDfZeb7DeZEB DT6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="oYiyo6/b"; 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 r15-v6si78445wmc.11.2018.09.26.11.06.05; Wed, 26 Sep 2018 11:06:06 -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="oYiyo6/b"; 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 C0D7A1B479; Wed, 26 Sep 2018 20:05:54 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50049.outbound.protection.outlook.com [40.107.5.49]) by dpdk.org (Postfix) with ESMTP id 131FC1B46C; Wed, 26 Sep 2018 20:05:52 +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=JLzT1DvExB9Jxm3jRfgyu6BSrX98u8aF6nBU6jvFD2M=; b=oYiyo6/bwcVPKVYgLbf//qCU1Xeb7agJW2JvLbsesTKBNLRDWLV3Cj9r6KrOLbJ4zGzFLdDjbs0KiBE8kmiw6Vi4xc4W2tHWdQ6xpByJZFVBzFkH5TREB8puCWVds4oKSkb3fsKcvGXvPtT7BH8fn8ZCgBOAZVSheu4F+nYfcP8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 18:05:48 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: thomas@monjalon.net, Hemant Agrawal <hemant.agrawal@nxp.com>, stable@dpdk.org Date: Wed, 26 Sep 2018 23:34:27 +0530 Message-Id: <20180926180440.31726-3-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926180440.31726-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> <20180926180440.31726-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MA1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::24) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb10bbed-c79c-4139-1efc-08d623dab171 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microso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hDkcJgiB5UHROYmEp5D89F0Fq10w3jhpR5lXPvHDNkPXYsClKMtLYpRY/7UPkhrDFVsJCOK19iL43LDsW/u7f6H0zRrx2pX6podo0LKuSaFyyoTZ+aZCVNF7MD+z7rFVLlvK8ResX69xo8kKE7wJZk4toNIdTNOJF2j9cWW4R7H1VgxgChTcfv9Lze/QH2yp5PLFLL/vZJGfghLhI1ZwGFnzYqGU4BjKcmDEfkRGNvgOBvrV/FBLqnwZwMD/Y5P9pGm+Xz9v7y54W29xeIl9/lhxRweEvxqjvf1OtXeIB226uSr8wyLnnGDUOcvf1gW99ULpotte4YdxFeKrBDEZceDF/d7Er5x0n//pS4Cx/Y9lUl1sUEwUeklB6jCCwYbqmTYocCaAu; 4:M51OVI9BEkBO4qa8TURz3NDVGba1LI/adVD5l6JXWIbvG/x5h8CHmtnQC4sKytzASJvJY3NYG7A8Ud5K2q2OFL04CZM04uy2e46xoGgw6EVrTYCJUOL0GGMCqNPI83GnNTYf2rRSqdSUM1laJv+XrLgbPX8JpPejpWIQuNzDaWi0r3tAFUQs+vvj8HERgk3shgAKqD5M6qaJL6CHyvkvxY0DXH+u6wi3va8Qx92EotpZEzLbj32aKkEskl8QgA1Lp54ZGlxvHUFRC0mpO8MEQCI0bIO2gt4W2WvFh04bnQE/9w6gprbY5UZfagnWRIED X-Microsoft-Antispam-PRVS: <AM6PR04MB4679AC3740BD83F9C44EE7D390150@AM6PR04MB4679.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)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(346002)(366004)(39860400002)(45074003)(189003)(199004)(11346002)(50226002)(446003)(47776003)(44832011)(956004)(476003)(106356001)(486006)(2616005)(6512007)(66066001)(305945005)(7736002)(6486002)(105586002)(36756003)(86362001)(478600001)(8936002)(16526019)(81166006)(50466002)(186003)(26005)(25786009)(8676002)(55236004)(48376002)(81156014)(4326008)(3846002)(6116002)(1076002)(6666003)(52116002)(34290500001)(5009440100003)(2906002)(16586007)(51416003)(316002)(97736004)(6506007)(76176011)(5660300001)(386003)(68736007)(14444005)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR04MB4679; 23:zthfUz6NNwCdznGUA5zJSRXMLQZmVT5Vy2qw0BxRT?= 1U4071rRiekJyLK+4KDNNi6P+TTafTq0SZSOOMypgp4faDVpdSfB9jBjhPUQGJ+XRR42QKYkBnamSuN2/kxhQ//lw/dsZVcBr6CfuU/ME807plUG2Qealgem45epU4CtqYJcRmfiuob+tvYKHwFS7BQM2UfROEItLf7wxnFAk9FuzXeu2F8NreRdARX8bHTynmOCRrLX2aA+nWr4geFmIjanJ1b0bre+YwqorLJBcJSDyzbiEHG+ogoxpXysIXF1w61dFmCvr1KGoq8mqfpwXP9XCFDxB3ikCAsbe3ZNz8QjWXRo6zCebqeTgHgnlOf6vq0ap3x8MKVa41mczDPIQoBao4lwAwpnhJ3rAa1Ovh2ukyBkJiSygDbCn64iG5u7/zE9K1HTKhGrkhW2vwkHeGXDVpxVDXupzMX8Gkngr3nU7cqEbCoQ/U0sMJYGF8B2B2z9vxzyvXQCWCe6sYV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pamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 18:05:48.7264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb10bbed-c79c-4139-1efc-08d623dab171 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: [dpdk-dev] [PATCH v2 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 |
[v2,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 5bbbdf74e..91b1d5916 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);