linux/drivers/infiniband/ulp/ipoib
Erez Shitrit 94232d9ce8 IPoIB: Start multicast join process only on active ports
The driver starts the mcast_join task whenever the netdev interface is
UP without relation to the underlying IB port state.

Until the port state is ACTIVE all the join requests are irrelevant,
and the IB core returns -EINVAL. So the user will see errors such as:
"multicast join failed for ff12:401b:... , status -22".

Instead, have ipoib_mcast_join_task() return when the port is not active.

It will be called again when the port state is changed and the
low-level driver triggers the IB_EVENT_PORT_ACTIVE event or the
IB_EVENT_CLIENT_REREGISTER event.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-11-08 14:42:49 -08:00
..
ipoib_cm.c IPoIB: Change CM skb memory allocation to be non-atomic during init 2013-11-08 14:42:48 -08:00
ipoib_ethtool.c IPoIB: Add version and firmware info to ethtool reporting 2013-02-19 08:21:36 -08:00
ipoib_fs.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
ipoib_ib.c IPoIB: Add path query flushing in ipoib_ib_dev_cleanup 2013-11-08 14:42:49 -08:00
ipoib_main.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib_multicast.c IPoIB: Start multicast join process only on active ports 2013-11-08 14:42:49 -08:00
ipoib_netlink.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib_verbs.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipoib_vlan.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib.h IPoIB: Fix usage of uninitialized multicast objects 2013-11-08 14:42:49 -08:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00