Received: by 10.213.65.68 with SMTP id h4csp132207imn; Tue, 27 Mar 2018 23:56:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx485XUsmqxaQM51cOm8VZL2XvUEqWYHdInHk9936L2/XLkuFk418FweCuAO0aUQtNeJtRKxJ X-Received: by 10.98.160.92 with SMTP id r89mr1953326pfe.235.1522220205594; Tue, 27 Mar 2018 23:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522220205; cv=none; d=google.com; s=arc-20160816; b=T1OZe+CMg8wAF0un6+09cq4vNlwcJv2ktFCjMD6JfuMPuaNXXHeItc8wb3OITzmUXQ MmVBi0nZcpr9CmSyAWDtb3h7nL3lvTHu0ytC+m7ZheeunqpOgeV79cbr3jMoe5943yls E8bLDi5ZLL5V+64PyebnQ3gBmAS/18gI5Kuy+Z1yWVsQFVU7GuK4YFIyQTs9SSP3V/6D l2rNmU4wzNXkqGyMtEs0vUP1ksf5vjg0NJELh/6cU2xHr0Doj7PWG5+Xe2VXT+Ta93Iv maO2hc/K5Sm/B1SYhlksOMbPRxkzYnLYkRfB+BsX5QQZ4+r19J+MasfcMy89kBeNXYjg fEFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=pauOIkYRQ48e4ZlyOjr8r9kxoswYoz048grTlnj+m1M=; b=PTXNVsBqll8ghVkeZAPvRISxZC3VY4eCfj9Vv6nB4y0620/k0ag3RrhCkkGXBEaTGn V60tv4uBca0WWN6Jr073vrsLvZJilB4y7+RYlLK+U+nnZ3GLoHivr2fCCVp8V5dGfXcF tBKyG+M4r9aYeDRACC/Rhw7z4juOM/6tlQjT7ThCvQelO+Yx2N+5lFM5heK3bET16l5e 8JDKB6dU8LqUKsy4EnBF8z6Pe+zyxK/CdvPFaI4KjvE9Aa2TCP+n7QNMZv9y6SrJfPTI a/YqmYi9BSkWgTOavJFMefrjD07Tl/+UdtROBp7WyK2S7iNj2DQe3FpTREGojTx4+ulo fdDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=bHss8bYk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9-v6si2972090pln.542.2018.03.27.23.56.30; Tue, 27 Mar 2018 23:56:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=bHss8bYk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752568AbeC1Gpl (ORCPT + 99 others); Wed, 28 Mar 2018 02:45:41 -0400 Received: from mail-eopbgr00078.outbound.protection.outlook.com ([40.107.0.78]:36134 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750732AbeC1Gpj (ORCPT ); Wed, 28 Mar 2018 02:45:39 -0400 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; bh=pauOIkYRQ48e4ZlyOjr8r9kxoswYoz048grTlnj+m1M=; b=bHss8bYkfdiCYAtFrEOGSMzva3BYlJ9TjxDBz4ARGU3n/6nEi9sr5J0/xXSExn9EXkeIoV86MbIlTc7NkH5zsIYKR4kku6aumJ6xW9RAjlNkkB6iZmPH/TDIJr6ZRwWCo6bD9HfjJDsHLj/gp+8oyBzEZEh2Oj5IoBGK7yMpuMw= Received: from AM3PR04MB0743.eurprd04.prod.outlook.com (10.160.5.23) by AM3PR04MB401.eurprd04.prod.outlook.com (10.242.112.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.631.10; Wed, 28 Mar 2018 06:45:31 +0000 Received: from AM3PR04MB0743.eurprd04.prod.outlook.com ([fe80::3:762b:c18e:fe4]) by AM3PR04MB0743.eurprd04.prod.outlook.com ([fe80::3:762b:c18e:fe4%14]) with mapi id 15.20.0609.012; Wed, 28 Mar 2018 06:45:31 +0000 From: Razvan Stefanescu To: Andrew Lunn CC: "gregkh@linuxfoundation.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Alexandru Marginean , Ruxandra Ioana Ciocoi Radulescu , Ioana Ciornei , Laurentiu Tudor Subject: RE: [PATCH] staging: fsl-dpaa2/ethsw: Fix TCI values overwrite Thread-Topic: [PATCH] staging: fsl-dpaa2/ethsw: Fix TCI values overwrite Thread-Index: AQHTxc0XrZLTXiFkIU2GUSVuupTjyKPkFfMAgAEe6lA= Date: Wed, 28 Mar 2018 06:45:31 +0000 Message-ID: References: <20180327131050.30581-1-razvan.stefanescu@nxp.com> <20180327133740.GI5862@lunn.ch> In-Reply-To: <20180327133740.GI5862@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=razvan.stefanescu@nxp.com; x-originating-ip: [86.34.165.90] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR04MB401;7:QoDrucztonmKkmR++Fp4UbQnyfHxYpnJZHe7KJaA2inuRryTTR/TEGBqtfhmK9EMWhI4oCCRwofTdohd12nxXeFocTytz8ayvfyOu4FcW1zehAstyYC+Y9MKBAOGMiz9glzlxUjQYXIn/mAQDFSXLZ2kalSKN0pX8HwMX6b7fo6+979qBOG0ZuMvNNPgRPfu2htT1CoIVvqKowMtfbvrpvjCM6iSOfN8zJL1q+i/1xocRWSINd8FUzStnFm8Vge6 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d79f253f-4367-461e-ecad-08d59477804a x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:AM3PR04MB401; x-ms-traffictypediagnostic: AM3PR04MB401: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501327)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:AM3PR04MB401;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB401; x-forefront-prvs: 06259BA5A2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(376002)(396003)(366004)(39380400002)(346002)(39860400002)(189003)(199004)(13464003)(54534003)(99286004)(3280700002)(6916009)(68736007)(25786009)(76176011)(5250100002)(476003)(66066001)(6116002)(486005)(11346002)(305945005)(446003)(7696005)(2906002)(86362001)(105586002)(3846002)(486005)(59450400001)(74316002)(26005)(186003)(6506007)(3660700001)(7736002)(478600001)(53546011)(4326008)(229853002)(6436002)(5660300001)(55016002)(102836004)(6246003)(9686003)(54906003)(316002)(97736004)(53936002)(8936002)(2900100001)(33656002)(81166006)(8676002)(14454004)(81156014)(106356001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB401;H:AM3PR04MB0743.eurprd04.prod.outlook.com;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-antispam-message-info: Qt9zdioUtSniXMagrJ/FgQisNGb1EGArIV6XQGtQIqVz/NVZw/AG3CZ7YE5yHxjysq1jtyXdgxmlpG+nZeR0huL0qUrgZxO8PmQy1mECDoMCfYZ0BNiCs9kHIVF2iBs5T9SscWTGyP7cLtF47ZHFiIVyfQ6Ds/nUktn915vkoTsFwvwCX2IO6+hqr3ojJGgqyVI8sr3B30djmplv0TU4OHEYdUNZBJiFSqUTEBD8Enyj86TxKxPhaqQkT+VtNpXwDoJqX6bLcSXkjlAhhjBslA5RW2cXI780SSRS7VsmTw8Ov3xCgyMZuqhzieA5WYmuMVqER9ILZhuADWebbmal3A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d79f253f-4367-461e-ecad-08d59477804a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2018 06:45:31.6268 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB401 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel- > owner@vger.kernel.org] On Behalf Of Andrew Lunn > Sent: Tuesday, March 27, 2018 4:38 PM > To: Razvan Stefanescu > Cc: gregkh@linuxfoundation.org; devel@driverdev.osuosl.org; linux- > kernel@vger.kernel.org; netdev@vger.kernel.org; Alexandru Marginean > ; Ruxandra Ioana Ciocoi Radulescu > ; Ioana Ciornei ; > Laurentiu Tudor ; stuyoder@gmail.com > Subject: Re: [PATCH] staging: fsl-dpaa2/ethsw: Fix TCI values overwrite >=20 > On Tue, Mar 27, 2018 at 08:10:50AM -0500, Razvan Stefanescu wrote: > > Previous implementation overwrites PCP value, assuming the default valu= e > is > > 0, instead of 7. > > > > Avoid this by modifying helper function ethsw_port_set_tci() to > > ethsw_port_set_pvid() and make it update only the vlan_id of the tci_cf= g > > struct. >=20 > Hi Razvan >=20 > It is a good idea to explain acronyms, especially for staging, since > there are patches for all sorts of devices, can you cannot expect > everybody to know network specific acronyms. >=20 > By PCP you mean Priority Code Point. TCI i have no idea about. >=20 > Looking at the code, i think you are changing the flow to become > read/modify/write, instead of just write, which is overwriting the > previously configured Priority Code Point? >=20 > Please try to add more details to your change logs, to help us > understand the change. >=20 Thank you Andrew. I'll address this in v2. Best regards, Razvan Stefanescu