All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave
@ 2018-07-27 16:54 Ivan Khoronzhuk
  2018-07-27 17:37   ` Grygorii Strashko
  2018-07-29 19:52 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Ivan Khoronzhuk @ 2018-07-27 16:54 UTC (permalink / raw)
  To: grygorii.strashko, davem
  Cc: linux-omap, netdev, linux-kernel, Ivan Khoronzhuk

Seems it was missed while adding for first net dev in dual-emac mode.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
---
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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave
  2018-07-27 16:54 [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave Ivan Khoronzhuk
@ 2018-07-27 17:37   ` Grygorii Strashko
  2018-07-29 19:52 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: Grygorii Strashko @ 2018-07-27 17:37 UTC (permalink / raw)
  To: Ivan Khoronzhuk, davem; +Cc: linux-omap, netdev, linux-kernel



On 07/27/2018 11:54 AM, Ivan Khoronzhuk wrote:
> Seems it was missed while adding for first net dev in dual-emac mode.
> 
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
> ---
> Based on net-next/master

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>


-- 
regards,
-grygorii

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave
@ 2018-07-27 17:37   ` Grygorii Strashko
  0 siblings, 0 replies; 4+ messages in thread
From: Grygorii Strashko @ 2018-07-27 17:37 UTC (permalink / raw)
  To: Ivan Khoronzhuk, davem; +Cc: linux-omap, netdev, linux-kernel



On 07/27/2018 11:54 AM, Ivan Khoronzhuk wrote:
> Seems it was missed while adding for first net dev in dual-emac mode.
> 
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
> ---
> Based on net-next/master

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>


-- 
regards,
-grygorii

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave
  2018-07-27 16:54 [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave Ivan Khoronzhuk
  2018-07-27 17:37   ` Grygorii Strashko
@ 2018-07-29 19:52 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2018-07-29 19:52 UTC (permalink / raw)
  To: ivan.khoronzhuk; +Cc: grygorii.strashko, linux-omap, netdev, linux-kernel

From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Date: Fri, 27 Jul 2018 19:54:39 +0300

> Seems it was missed while adding for first net dev in dual-emac mode.
> 
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>

Applied to net-next.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-29 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27 16:54 [PATCH net-next] net: ethernet: ti: cpsw: add missed RX_CTAG feature for second slave Ivan Khoronzhuk
2018-07-27 17:37 ` Grygorii Strashko
2018-07-27 17:37   ` Grygorii Strashko
2018-07-29 19:52 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.