From patchwork Fri Jul 27 16:54:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 143085 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1050073ljj; Fri, 27 Jul 2018 09:54:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVy2Abomobd9Gd7n1rmUei5TKuHdh5hQ65NwAoW7QyipuGN6DbOwCNrVCnyH9J7rOYO4q2 X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr6799215plp.14.1532710489715; Fri, 27 Jul 2018 09:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532710489; cv=none; d=google.com; s=arc-20160816; b=lGlo4EfTaQJ7t85X701f0Hp+7reIUUBSbLnBOBY4VOTPB8+N6MuAQ0f40OYj0AzVYu Em5pCTDBzkPjOkxthl9uATEMKPKoKpFU0qt02rdkAKX49ctVo/GliL1gnab/brbxWM5X sR/iMN3bSOGt5lmU5BsZc+39jVrxUWgWe7nZgtny6cxzaj+YDrOCCsJ1gfebHztUgFbN EqyCTfqY1V7A1Sz8SBpuT6esBL2nmHMLkfKuc28OrlOQVX2obd6Fl64fxk3J9Ov+KZn3 msPVE6VtpdZ2LIqDdUPo518CLCC40xrqrbLFl/xyqq17hOQUMxM7IA4nVY8F7Z2Rd4gl HtHw== 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=mA/MdkaHqcg/V9nufpPfBTuhY2YRfbICWWmax22LXk9ipMfgoYHTfpD5fVLSlFat3a MJsRqCxILx6dmYZnEB0iqJ5uSmoCi+i0HFHtA/VdM118DMVoGokSVBHcPjpGUB4v5ba4 uct+hUABk/1fW+YdmLUVEVd2nIBbOw/KmUkVPyDyAUlP91PTt6Pj9R0UgyRWVs/Y5wt9 Ar6s+lmNzAHrdoa2WYhho0tpFm6OQM0u4i1+878aXv9bMi0nkyL9Wnvx5RUezuXI6fRV DXbBbxYVfpNj0UgRNWb6L/d7C4qioyTRfPRCHr/2uhjatGHQEmsdC50/Xm9+eFRQGRcR w/mQ== 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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 v21-v6si4050656plo.397.2018.07.27.09.54.49; Fri, 27 Jul 2018 09:54:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S2388652AbeG0SRb (ORCPT + 10 others); Fri, 27 Jul 2018 14:17:31 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46185 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731568AbeG0SRb (ORCPT ); Fri, 27 Jul 2018 14:17:31 -0400 Received: by mail-lj1-f195.google.com with SMTP id 203-v6so4975271ljj.13 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=j1ITHpKaChyOEmKQB+trUmRKM4ce0DcUFi7GmI05fIlsRydSq4bPBWuDdXiOw043Ng V5szO2lpkbThvsXhD1+WqhfzqtAw9YuGriWofi/ih7doqLxmP/qV8Zm/7L+0i/xSgT1x q9SWoBExKUNOTHzFE+pxSlutAANR+Lqh55HK3R5Jx9108e3F6za8zGKhINX3wiUr0Bnl OixRCkmJj/A8k1A+KMTA4DgUqt/Kw/rXifghlZK/JRufmNaV604bs//0nRki7aWD/5jz NZj28apg1TXYBi+l+J3WpYxG/VTUVNjTyhIoO6lEynKJm4MnH6sLqwt7PvIv2SazZfPo PSJQ== X-Gm-Message-State: AOUpUlGyR66Ndt3nai2eWmYlXszNYVb9/O+3jRdXNyHzxDJLbTmCSjWn LzWLgt7WikI6nDKtXW1JHqpOzA== 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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(-) -- 2.17.1 Reviewed-by: Grygorii Strashko 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;