Received: by 10.192.165.148 with SMTP id m20csp2656542imm; Sun, 22 Apr 2018 11:57:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx48B6EJXeNNOkNvyOKIL1Tb57POCvd43dpn12tnTJRobrz/LLx/dyvm17k+Rg7KkcMZjkCKM X-Received: by 10.98.14.198 with SMTP id 67mr13093618pfo.36.1524423457333; Sun, 22 Apr 2018 11:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524423457; cv=none; d=google.com; s=arc-20160816; b=HFF5fgCeN37zw77dOg2E9uQVnFTEUXGEPOVtb9O9ZKshWdK+WwQONCVoshxyYIDMAY StbP4vnHfylC1g5KsX7azslr1dlbFLHIf4LCee54END7GhaGpV42ar3PFHawVL+R6mgg e0T/eed6u+3cf7T/bm4b7BdOEX/G+zBIDf1BdU8Ln4tPV5u8ttHbgvd7SeByrwdaiyTb 4DV/o7FphCvy3wJlqNelfrj3xALOajnzTAfWIhfKyc9IwoAu/TN4RyivwyqO10ZDCqN4 VlM5zaPu0GD9JVugbU4a+9OYkml6FWyz6CyOwWyBmZo8wswXNXdnXZIz1ruqckNd0nMS a2YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=pwGApTpJuDSREXf39y9fgPlc2ONdDt18PL2UugWpBWQ=; b=tLrEwwjTFMQISzpKATxEIvRI/FSryZllkm4EyjDZbt40Hkzx3wdyuiQkDtsNO2vjZG HgE+3dMJAOXPmOnH78DF32wAC5mD8EHDEmRMBymbp7GZrux0tKPR+uovMYoGJkq6ZY64 nI29kzNnhUSR8AoZlGcTGcAqVYol1mifqjg6OU1K+fgWMbXF6fbt89GSeQJsqHJGgbgT U6xQAoHVOkFFBBenzQrCj/KKEC3MyThu1evocGCfd2KhQzejvsLS2ynVrOnKHDJrYN0w 29Kg1hXNqf+0zNCOjBBPawjRpxszGcYbk84Nmypf9hqstO0aHG7FvndGRCik2AMEN0cl HvPQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si8575174pgr.256.2018.04.22.11.57.22; Sun, 22 Apr 2018 11:57:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753499AbeDVS4F (ORCPT + 99 others); Sun, 22 Apr 2018 14:56:05 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:39952 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753365AbeDVS4E (ORCPT ); Sun, 22 Apr 2018 14:56:04 -0400 Received: from localhost (pool-173-77-163-229.nycmny.fios.verizon.net [173.77.163.229]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id F0362104311E4; Sun, 22 Apr 2018 11:56:03 -0700 (PDT) Date: Sun, 22 Apr 2018 14:56:03 -0400 (EDT) Message-Id: <20180422.145603.2079222042973638224.davem@davemloft.net> To: ivan.khoronzhuk@linaro.org Cc: grygorii.strashko@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: ethernet: ti: cpsw: fix tx vlan priority mapping From: David Miller In-Reply-To: <1524167349-11004-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1524167349-11004-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 22 Apr 2018 11:56:04 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ivan Khoronzhuk Date: Thu, 19 Apr 2018 22:49:09 +0300 > The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping > register and basically replaces vlan pcp field for tagged packets. > So, set it to be 1:1 mapping. Otherwise, it will cause unexpected > change of egress vlan tagged packets, like prio 2 -> prio 5. > > Fixes: e05107e6b747 ("net: ethernet: ti: cpsw: add multi queue support") > Reviewed-by: Grygorii Strashko > Signed-off-by: Ivan Khoronzhuk > --- Applied and queud up for -stable.