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: 10547443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9065C112B for ; Fri, 27 Jul 2018 16:54:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FC402C118 for ; Fri, 27 Jul 2018 16:54:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 735C42C188; Fri, 27 Jul 2018 16:54:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 251022C118 for ; Fri, 27 Jul 2018 16:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388660AbeG0SRc (ORCPT ); Fri, 27 Jul 2018 14:17:32 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:34598 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732097AbeG0SRb (ORCPT ); Fri, 27 Jul 2018 14:17:31 -0400 Received: by mail-lj1-f196.google.com with SMTP id f8-v6so5009213ljk.1 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=NbQ5OzAVpoGGclbzeAXl81+vdLJoIJ5hoCLGnx80dObcqXYb8i9cJjsUvQso/tuRvJ WHZu0IatPq3X3qmarn+GVhsq/pbKMI9WnZOt3WziFjidz6K0ly+SWy+8UeQjR7GMlx+J ImtZ4N8EsDLTHiLTuvZukgzHo+C6Sl8PoebFIsfgXYljrBh3knL/Bil+h6XBphDkZWUN JuiyRf0A3dDBl3VBWvWEhjSwnbjC3cA+1pZWf6gLeMIZJKMJOEijM30uKsZR0B6vx/Fl 5Plh2bDTnnfwB26c8psJddQWwSDUBzuH5azYdATA4+69OJmTpYz4WCIXk8hRuXB+im/K p0Jw== X-Gm-Message-State: AOUpUlHQr22zAlAKfUoSIc094sobemidkSssBGkzxRlU77bz7NvnAU3w uW3cl7V7xLJe7WXCqSrzy9EVgA== X-Google-Smtp-Source: AAOMgpeJ0Ixwl4wJR1hYuWABSi1nkXVAmjoCxfUbuhZjWR6gvs0eHiAfJrcY8KBjxC3Zl/V6CRrDCQ== 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Seems it was missed while adding for first net dev in dual-emac mode. Signed-off-by: Ivan Khoronzhuk Reviewed-by: Grygorii Strashko --- 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;