netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net: arc_emac: annonce IFF_MULTICAST support
@ 2016-11-14 13:20 Alexander Kochetkov
  2016-11-14 13:20 ` [PATCH 2/2] net: arc_emac: don't pass multicast packets to kernel in non-multicast mode Alexander Kochetkov
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kochetkov @ 2016-11-14 13:20 UTC (permalink / raw)
  To: netdev, linux-kernel, davem, tremyfr, peter.chen, wxt, weiyj.lk
  Cc: Alexander Kochetkov

Multicast support was implemented by commit 775dd682e2b0ec7
('arc_emac: implement promiscuous mode and multicast filtering').

It can be enabled explicity using 'ifconfig eth0 multicast'.
The patch is needed in order to remove explicit configuration
as most devices has multicast mode enabled by default.
---
 drivers/net/ethernet/arc/emac_main.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c
index b0da969..2e4ee86 100644
--- a/drivers/net/ethernet/arc/emac_main.c
+++ b/drivers/net/ethernet/arc/emac_main.c
@@ -764,8 +764,6 @@ int arc_emac_probe(struct net_device *ndev, int interface)
 	ndev->netdev_ops = &arc_emac_netdev_ops;
 	ndev->ethtool_ops = &arc_emac_ethtool_ops;
 	ndev->watchdog_timeo = TX_TIMEOUT;
-	/* FIXME :: no multicast support yet */
-	ndev->flags &= ~IFF_MULTICAST;
 
 	priv = netdev_priv(ndev);
 	priv->dev = dev;
-- 
1.7.9.5

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

end of thread, other threads:[~2016-11-14 13:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14 13:20 [PATCH 1/2] net: arc_emac: annonce IFF_MULTICAST support Alexander Kochetkov
2016-11-14 13:20 ` [PATCH 2/2] net: arc_emac: don't pass multicast packets to kernel in non-multicast mode Alexander Kochetkov
2016-11-14 13:32   ` [PATCHv2 1/2] net: arc_emac: annonce IFF_MULTICAST support Alexander Kochetkov
2016-11-14 13:32     ` [PATCHv2 2/2] net: arc_emac: don't pass multicast packets to kernel in non-multicast mode Alexander Kochetkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).