[ewg] [PATCHv8 06/11] ipoib: avoid ipoib over IBoE

Roland Dreier rdreier at cisco.com
Wed May 5 15:27:51 PDT 2010


 > @@ -1383,6 +1385,9 @@ static void ipoib_remove_one(struct ib_device *device)
 >  	dev_list = ib_get_client_data(device, &ipoib_client);
 >  
 >  	list_for_each_entry_safe(priv, tmp, dev_list, list) {
 > +		if (rdma_port_link_layer(device, priv->port) != IB_LINK_LAYER_INFINIBAND)
 > +			continue;

Why do we need this chunk here?  How could a netdev get on our list if
we never create IPoIB interfaces for IBoE ports?

 - R.
-- 
Roland Dreier <rolandd at cisco.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html



More information about the ewg mailing list