[ofw][PATCH-1/3] [IBIOU] Expose vendor defined device in ibiou

Leonid Keller leonid at mellanox.co.il
Mon Mar 23 11:51:39 PDT 2009


Applied in 2039, thank you.


________________________________

	From: mailmeatdkg at gmail.com [mailto:mailmeatdkg at gmail.com] On
Behalf Of Deepak Gupta
	Sent: Tuesday, March 17, 2009 3:47 PM
	To: Leonid Keller
	Cc: ofw at lists.openfabrics.org
	Subject: Fwd: [ofw][PATCH-1/3] [IBIOU] Expose vendor defined
device in ibiou
	
	
	Leonid,
	
	Did you get time to see the patch?
	
	Your comments/concerns will be appreciated.
	
	Regards
	Deepak
	
	
	---------- Forwarded message ----------
	From: Deepak Gupta <deepak.gupta at qlogic.com>
	Date: Fri, Mar 13, 2009 at 6:35 PM
	Subject: [ofw] ***SPAM*** [PATCH-1/3] [IBIOU] Expose vendor
defined device in ibiou
	To: "ofw at lists.openfabrics.org" <ofw at lists.openfabrics.org>
	
	
	All,
	
	We had a discussion on list for having a vendor defined device
interface in ibiou.
	Below is the link of discussions from the archives:--
	
	
http://lists.openfabrics.org/pipermail/ofw/2009-January/004229.html
	
	As discussed previously, we needed it for QLogic's EVIC Gateway
device.
	
	This solution involves changes in IBIOU and QLGCVNIC along with
addition of a new user mode tool called "qlgcvnic_config".
	
	Brief Description:-
	
	IBIOU driver doesn't create child PDO's on discovering a EVIC
IOC. 
	It's behavior for SRP target IOCs is not altered and child
devices for SRP targets will get created on their discovery.
	
	IBIOU keeps a global list of reachable IOCs in iou_globals.
IBIOU add/delete entries in this list on IOC ADD and IOC REMOVE PnP
events.
	User mode utility "qlgcvnic_config" is used to list all the
reachable IOCs to the user and then to create the VNIC PDOs.
	"qlgcvnic_config" uses device IOCTLs to communicate with the
IBIOU driver.
	IBIOU creates the devices only if sees that EVIC IOC is
reachable from the particular CA.
	"qlgcvnic_config" utility writes this device information into
the registry also, so that IBIOU can pick up these device creation
information on 
	next reboot.
	In initialization phase, IBIOU reads the child device
information from the registry and makes a list of VNIC child devices to
be created.
	On each IOC add events, it traverses the child device list
(prepared during initialization) and create the child PDO for matching
child device entries.
	
	Leonid,
	
	I have attached the patch for changes in IBIOU herewith.
	I am sending other patches other relevant patches in seprate
mails.
	Please let me know your comments/suggestions, so that we can
move it in asap.
	
	Regards
	Deepak
	
	_______________________________________________
	ofw mailing list
	ofw at lists.openfabrics.org
	http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090323/50b80173/attachment.html>


More information about the ofw mailing list