Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1521649
| From | Alexander Kochetkov <al.kochet@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv2 1/2] net: arc_emac: annonce IFF_MULTICAST support |
| Date | 2016-11-14 14:40 +0100 |
| Message-ID | <sDpEm-7Av-33@gated-at.bofh.it> (permalink) |
| References | <sDpuF-7x1-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
---
Changes in v2:
Add Signed-off-by text.
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] net: arc_emac: annonce IFF_MULTICAST support Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-14 14:30 +0100
[PATCH 2/2] net: arc_emac: don't pass multicast packets to kernel in non-multicast mode Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-14 14:30 +0100
[PATCHv2 1/2] net: arc_emac: annonce IFF_MULTICAST support Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-14 14:40 +0100
[PATCHv2 2/2] net: arc_emac: don't pass multicast packets to kernel in non-multicast mode Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-14 14:40 +0100
csiph-web