[openib-general] ipoib mcast questions...

Arthur Jones arthur.jones at qlogic.com
Thu Oct 5 14:23:27 PDT 2006


hi all, i'm looking over the ipoib multicast
code, and i have a couple questions:

1) the set_multicast_list net device callback
seems to just kick off another thread to do
the work of registering the multicast group.
the mc_list net_device field is only valid
under the netif_tx_lock, but this lock is not
grabbed by the restart_task.  what happens
if the mc_list is modified while in the
restart_task?

2) there seem to be 2 threads, the restart_task
which creates queries and the join_task which sends
off the mad requests.  why?  is there some performance
advantage?  it would seem easier to do the registrations
serially in the restart task...

arthur




More information about the general mailing list