Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1023979imm; Fri, 27 Jul 2018 09:55:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfrZZeB+FZT1Z1mane2ob+osXDlkju6co8sLbChPBXOvVwkNf6z+vSrUU5QVxREVD4TQn8N X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr6726776plh.135.1532710551226; Fri, 27 Jul 2018 09:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532710551; cv=none; d=google.com; s=arc-20160816; b=VHUcTc4wnSdJD5gNgqJX807LVzOzrxc+00barsA1gMYH7xds2lisx6+YNCoMFDeljG X4w6smIgKuDACEUYqMJC1ddeD8/NuEiPJd8Rx4FRzbxj7/sTq+rtx0FSBZqhbIQ0W0CK OHcqwDeYrNRX1HqJMGsEohK2zqWyfPxS0aPz/9LvGofnYue8V8xF5LKNy+c1b4jwtxa2 qxj+xWLyBHoIH/cuJ/dA7ff2fLbeic1S8KBjCLe/eblwJHLt7dXBhe3TTzrIMHcfAZ8B 9Rn6/pt1vu7VLv42zZYwbfy/iyTBSnjV6bND5skQmd1MdnTGizOTxqh1b0umWOmSrXdx 4kZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=WefzQjHmu9TxAhfWBP6EovtIO8laSdhs66en4L/Gh/c=; b=HiAE2BrjNJMQUM2gwFkIMKBH9s00K7nGJ8FvUJl7ZS8fPnoK192QrCMOQxnm0qvWhs IyN4frHT8eT9cu/gjVY5pQVJd5uNBZuWbU44+taOaORHLxO3au7rJBwRccXv5NC5aypH ajtQYx7XkRvgCQH+wH1+vHTYzIreh0gRK8TgkJ5BTHvBh6AAn9W/bx6dSdKHEiW527gw MX8Mzik21DqsJyn9vizVsILIYZR+Q4n1dBWgZI5H9+YYcDkkFXVnW5+etXLX8AqZ/TRt 8o1mGMHIR/d0mtB2ULOzgixPb9yAe0QAici463RFKt1xUsjpwbD4h3pIKMnac/GZDxDm 7RpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aujge1nw; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j124-v6si4668228pfb.191.2018.07.27.09.55.36; Fri, 27 Jul 2018 09:55:51 -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=@linaro.org header.s=google header.b=aujge1nw; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388752AbeG0SRc (ORCPT + 99 others); Fri, 27 Jul 2018 14:17:32 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35319 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388332AbeG0SRb (ORCPT ); Fri, 27 Jul 2018 14:17:31 -0400 Received: by mail-lj1-f194.google.com with SMTP id p10-v6so4996079ljg.2 for ; Fri, 27 Jul 2018 09:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=WefzQjHmu9TxAhfWBP6EovtIO8laSdhs66en4L/Gh/c=; b=aujge1nwfR1yJI4srajHmfDfl3lrgGhyjbWCWChyUgSagNfurTGuNqGjcz7Q1WcUZR Vk9PkqshwTLpfx/tITPMLeUhO9BTecmzfk//ZoeCRyZ295xevgivugNheDhEcXsTcS7o 7JxbqiduI5suavRDuBRjP9lbcf9b+JGM8XU4M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WefzQjHmu9TxAhfWBP6EovtIO8laSdhs66en4L/Gh/c=; b=IkjfwYq87e/h5+CB8pA0stJVd167p1Z3IqDKTbcemZXmpJN2Ox0eLH86t8+Axs97yp Iw9/rEHoq1V/T4sYi9/NsS+ejSlNNC1kNhIHJSfCb3l+lT7rZpCgNULMy7fB8oSWHg3T VLwYF//qcGqZu39wB+pKUWo3IvP6x3925YjAMM4rRBDOJB3NIce9+wX7I7xZwhGgsb6Z fuG0p77bC6CAf5SvWC+lSvmD3riP7JGcRLgbNZ4bsRG4aGGoCNX/ZwDBc27Z1CMWQkKO diWoGBz07VbioBMIGBJKcdrUECRAUo4yd1DjMoORGhLz/j/OXUWOEhVxFvUaggtRmOfV h3tg== X-Gm-Message-State: AOUpUlHMUA4wgvuVcNI9CcywvRaxVdaJEUVnJM8/bTnUndOvUDmFbQ+m /e+qqD+PsNBmPogmGC2BjyMUHQ== X-Received: by 2002:a2e:3313:: with SMTP id d19-v6mr3852866ljc.25.1532710485968; Fri, 27 Jul 2018 09:54:45 -0700 (PDT) Received: from localhost.localdomain (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id l1-v6sm753478lji.41.2018.07.27.09.54.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 09:54:45 -0700 (PDT) From: Ivan Khoronzhuk To: grygorii.strashko@ti.com, davem@davemloft.net Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave Date: Fri, 27 Jul 2018 19:54:39 +0300 Message-Id: <20180727165439.16933-1-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Seems it was missed while adding for first net dev in dual-emac mode. Signed-off-by: Ivan Khoronzhuk --- Based on net-next/master drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 171abcfb6184..1b54c26c2bec 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -3287,7 +3287,7 @@ static int cpsw_probe_dual_emac(struct cpsw_priv *priv) priv_sl2->emac_port = 1; cpsw->slaves[1].ndev = ndev; - ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; + ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX; ndev->netdev_ops = &cpsw_netdev_ops; ndev->ethtool_ops = &cpsw_ethtool_ops; -- 2.17.1