From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0047.outbound.protection.outlook.com [104.47.1.47]) by dpdk.org (Postfix) with ESMTP id 33F555B26; Mon, 17 Sep 2018 12:38:01 +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=eGpMe1l4vwI37m031h1WSmPNIzg/JwbMel44pD7T+yM=; b=OpTfJ/sK5G6/vvLNGMneb0BqH7gpSToUR/2/8tQMPLMVE1yQEdxnw9KmldwSSKCArjj5eXf6XQDemibvlPxr5SvC+s9nsYhJuLGKS95igNTLjlzuezvTUs9Tet24qeLxd4zhXdpuOUq23kdZ5Ui7t0hxHm3arJvq3sPZ2Z5rdjE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 10:37:59 +0000 From: Shreyansh Jain To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Hemant Agrawal , stable@dpdk.org Date: Mon, 17 Sep 2018 16:06:31 +0530 Message-Id: <20180917103631.32304-12-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180917103631.32304-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0092.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::32) To AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b480560e-295f-44be-9966-08d61c89a3bb X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4673; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 3:w7WsPAyy3fAG5Gh2PIr1f6p5N9/SALYojz3b0UR063jD9vWL/dJ37VMR9bG/mEgwhZcUjnvzsRS9t1O/ufO758IkCjPaq8DqhW5U01gkpzz4cPGoMDAzBl1w47TJT8s/yt2NgOlhMu78lYrRzNwAN+JnZYIENuPv6EjGkdrjKCiXGyg0a3vgsgsDBfb+gVSdYH+YRH87rHdckbZskStWdNyDk3iZAFxSxHoeue4UC6pR3vsrO+BPLcsWBfXVjyqh; 25:V4qmAScst765UVj2HBoak4/gjUF7+fU93RJaEXdGIQkfqFQAdh+khA5owa2oQXlpBCy0yxCdI1b8l/PXerAZ95h3iAEKlhND/ysn7UEDkVOUjuCxjVFDw08jXOk+Lh3799moQCBtTr1a9fl7J7ff+GY0+Sn6sd4oM4H62fuvDLQi9YC9GsrEETtcRc0J720eiCO6M0N4/ZfQjEOfbIFIqXVy8oKxBa+c+v54sAmmEWWFtK5JKXgDn39FerJj+IcIrt8oQaGki09Oe5Lay2CYwTdRgCVXnuX3PQDJ3puXQdPdUvF9Q0zSp1MFJQlQjcp8wm6CuWvGRoezU4H+Mc8OyQ==; 31:hFvPL9U+Kb0FKv7ZTAHhFoVsHNGgJ8Vp70UZQpzo60UVFgbi4hP04Dw7gcFM9iXscwrf+3htqAiWPjp0zC0lMMzEgLtPPVVVayyoe5JEj6W7DKWnh7SVR+Z89W8LRFqjrURDKa0th4jqqo4BGInpQTVd35KZp6vno5fc/INhcYLuYR2NE9XL7LAk1wJm9NmFkPBXL4VPNBNSlPlhfaZfcnHTc5U2CkW/nTT5pfETlEQ= X-MS-TrafficTypeDiagnostic: AM0PR04MB4673: X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 20:CYB8AfjuqZ0fHHk1yNCfgcVAYV1eSMB8xABVJwxVbcWmIMG698503UtmvYCQ/lOTi5fJUSKpGTot6RF+iTRPzrzCZQ99oScVI4kNE8coM/zvRtDBGVcNDkZiIaskc+dTU7JFrFJMF4PINuAiP+3JVDzWHnqveiEmYe62DUExxqTfr1+QsuE1ZPDIFPZuw6f7Ri4ZthZlSHB7llKY+va5WAKZ2s4pNukA90NOiWY2CUlSBEsnh8R67eHP86GgJYgnaSnkZrZvkltUehl6vRL/gbiIv1kqKJmd2McRatItfD+FyowexZhpaKXbhgCgR7HwM8gkV2AwpLCrLf+oxWTecwu5oV/VyolGkneh27In3GCMNDH4F1JQ4cMSSNo2F7XFzanRnzQHAdcVsEQxzKXw0AmeDHu7q8VYzCeolfb+iKsOQ2v/eUBu5eXb+RS8ngZdkNgfQ3Hm9+Ng/BSlv1Auv67BsZh1QeDogcHyG3lHx/qJ69/aj/2lm7JJDsFo0JXN; 4:DR+HajqfyrUPc6wsqfZnhi0clX3U1zkXnLzA2AIb22I+1tOSlWq/uljBrf5oCLS6vdY47Eu130D1v5eRofigNGINNHMKt904F6nsNzEOTlwskh2jbYGMHnCXuIEN98JfZkG9zDB6syq1oOn8JsWBzQPLD8A/yGifV+dxB54B5LGwuBRphBJjnC1LjW2MQiAf7KUORh4p+av8zzkE9iK1HNquBmM9egC9lbySmlEHAx4O0LBPv1kfPzrz264lg0VYKr4a/Grg0Ty0SiPvjcmxG98VMa/0sSgndprzoXgoPqflMKrxtFGbvPL0hSbmCePv X-Microsoft-Antispam-PRVS: 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)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050); SRVR:AM0PR04MB4673; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4673; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(136003)(396003)(346002)(366004)(376002)(39860400002)(45074003)(199004)(189003)(16526019)(48376002)(186003)(1076002)(3846002)(5660300001)(486006)(6506007)(386003)(16586007)(316002)(36756003)(14444005)(44832011)(5009440100003)(52116002)(6116002)(2616005)(76176011)(446003)(51416003)(11346002)(956004)(476003)(6512007)(47776003)(106356001)(25786009)(50226002)(2906002)(68736007)(105586002)(81156014)(81166006)(7736002)(6666003)(305945005)(8676002)(8936002)(4326008)(86362001)(97736004)(6486002)(478600001)(50466002)(66066001)(26005)(53936002)(110426005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4673; 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; AM0PR04MB4673; 23:2LRR6xbUVbTBaWco/HKKmaggI6xa5lPRWyFJOZIPc?= =?us-ascii?Q?wVLAtTAHgRvXzQLR36hwyKz3oWA6mJ1ux7AJ4DI7lt/czhtbUPcc9wKyfgsS?= =?us-ascii?Q?rwFVPPQrZkpYDvnxdccbU1mff0DztiP+NoagizhjNEUcRZgWVCbRzyVjekE4?= =?us-ascii?Q?gpSk+KahKsOFeNb0F0Bb1LG36I/7fAhJcVl6G0Cl0rFOtTxzIGj2S4CiSnPA?= =?us-ascii?Q?KdmS4mMiNk3+BcCEIZu86Pg+BJq90Vdfl952z6lKjCmyfC+tvyGvkoyfnUCG?= =?us-ascii?Q?VRSCS2oys7Ddf7++x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ascii?Q?DrV15a5BlXMm0cuPJFNjGjaUm/UR9eZ+MwEf4uj6w1Ick7FUDxyYQjVP4VVd?= =?us-ascii?Q?rJTLHYpY6Tpct0b9iV+lk4HqxdLbtaY+h/5kf5OvphTp0iBGgCgtXT1drecH?= =?us-ascii?Q?rBX8iq+GcKSfSgX76sTMtSMLHoomJGUbZkvE6LQUbQNpGXW4IiUF6E0objTD?= =?us-ascii?Q?SPD7jH0LU0DbXv4ntKISGjEJTU=3D?= X-Microsoft-Antispam-Message-Info: bR3lH4UBKMZhMVrnS0NKZdyc6feXSYhtc8jJCoSXp6fY2qW8hHrXVZIoFavLqoirPfN9lEfmgoMcksCs3SFH9Atzc7dMSDbXs9zi9efRg1Dw5eLuRtAJXjp03CX7KlGQM2CZCG3yzsXGqaSNhOSau1q/Ham++YFq6Hvd4WcKpkzNExGhnyA4plw/5np0m7znl5cgVTYpl8wg8HbPgYh2VpphWskcKukbj+Xq/rDrDTIup0BWKrYz4rZkX4KCUK56HkER8x2EwmDS8QwQrVuOh+yxD1MnEWsSOj57uO4RdUrBLbzMY17KoXpvzJUGdtaKpb7punVdr0eHJJQ0anADrSmue0gumc0Jyv042VYkGwc= X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 6:oE+rph/0JOMbO4+4rHHuaKML9EvyGcLG6TsidIGIErCGbXJR7gNJi25eW6RftvnOtUnFBo4pmVeHYDa62K8petzr3P6tnqNnsFKWJs7XidwGt0P/Ea9Adv6iuh5G5/y8tZa2bBhKEZoBJq2eN5+A/3tXc5++xlbZ56yHHXz6t/mHSSuLEPx+GgkCzgz++qnDPIiwpOvMF39D27nUi53x6bfPB9G4e69esa5BDISO29YrLhUl697rd7gJsmEt6ASNMM5GAGacEdThWy48mfKSaa6oKTd2TI+qhsDDz2BZIh+23++4KovQBgp57KVUcEuFQmyvEWAS7oAdid9YRM3UKcJjDFOaxT88vAtKYLIyEuy9fGlbxzax5zsIls1QZYPV9tbM+MlmiFv0aUU95igZg18NTuNhFTbmEFxyTEX41ov0Nb48bGBQe0dd0QBVgNKD5iQ/EaaFl7Vnnmfr1N96iA==; 5:iJDWbM4QBb4aRqjzbHp5S7Au3RSQ2Zb0p6O3o51lgnKatP9a9jIkgrIsmxhNW9B66z0iScKFBe0Ouegp5jzzbDxkimrY122dWGZ0vnkxL/cheC+1upCE+PCnier434JMtFIhe823+ixYxgEuW3OQWDO+ErHL6xgMTYfoiQXK6p0=; 7:eXwM7DGNwUvjYZgGPKL46TLlXRF/x12t2Nzcbp2th1t9vzrfLSG8htUJMRtqv807IaTW1LgyP4yWptWH4FZRA8S+98XCWtsqNQ8wBEyqWrKZSJmiWjTJb5dn5XNCFqWeuZ5Jrhaf/lPVfOG0TUjR5K9NCFwKGUNjk1z3cPrUlIFm1EKc1T9/SkW1/LmT8dE/SDv15R0lVZO72fWuRy+qVGNOxr9KGCpeQfm+o9rnYpC6Y9PiI41CogNQp8lONwuG SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 10:37:59.3675 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b480560e-295f-44be-9966-08d61c89a3bb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4673 Subject: [dpdk-dev] [PATCH 11/11] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2018 10:38:01 -0000 From: Hemant Agrawal Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 1715e9f33..d9be3377b 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -407,7 +407,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); -- 2.17.1