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

Deepak Gupta deepak.gupta at qlogic.com
Fri Mar 13 06:05:58 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090313/41db58ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_dev_creation_ibiou.patch
Type: application/octet-stream
Size: 59894 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090313/41db58ac/attachment.obj>


More information about the ofw mailing list