Hi Mike, I will discuss how uio will be distributed with Michael tomorrow, and we will get back with you. I agree with your line of thinking in creating a unified front on iscsi configuration. But, there is still work to be done to eliminate the uio configuration file completely.
I haven't gotten a chance to write any documentation on how to hook additional software. But Chelsio could hook in via a shared library, like how the Broadcom CNIC/BNX2I hooks into the uio stack. They can take a look at the example cnic.c source in the directory, 'src/unix/libs/' of the uio tarbarll. They can focus particularly on exporting a get_ops() function, the nic_lib_ops structure and nic_ops structure. These are the main entry points into the uIP stack and the callback's that uio will use. Note: There is still some legacy code where I need a make a cleaner division between the stack and hardware implementation. This is because there is still some areas in the uIP stack where it makes an assumption that UIO will be used to talk directly to the hardware and to send data. Please feel free to contact me with any questions. Thanks again. -Ben On Wed, 2009-06-03 at 13:39 -0700, Mike Christie wrote: > Benjamin Li wrote: > > Hi Mike, > > > > I have attached the uio source here in this email. This should be the > > same as the tarfile I have attached to the RHEL 442418 bugzilla report > > on 2009-05-21 23:05 EDT. Please let me know if the tarfiles aren't the > > same. The website to host the uIP is still not just quite ready yet. > > > > So are you guys planning on distrubuting uio with open-iscsi or separately? > > My preference is with open-iscsi because I think it will be easier for > users to have it all in one place/package. If we could also avoid having > multiple config files or at least multiple config file formats it would > be nice too. If users did not have to sit and think about if something > goes in a uip or iscsid config file and what format the config file used > it would be nice for them. It is weird to configure part of the > initiator with one format and the other part of the initiator with > another (I do not think this is a high priority at first). > > > For the code, I was wondering if there is any pointers on how to hook in > other drivers. The Chelsio devs have started looking into this. > > > > Thanks again. > > > > -Ben > > > > On Mon, 2009-06-01 at 16:03 -0700, Mike Christie wrote: > >> Benjamin Li wrote: > >>> Hi All, > >>> > >>> This patch is used in conjunction with the bnx2i patch Michael Chan sent > >>> eariler to the scsi mailing lists. This is part of the userspace > >>> portion of the Broadcom iSCSI offload solution. This patch is needed > >>> because the uIP stack will use some of the configuration data from the > >>> iface file to determine the iSCSI IP address. > >>> > >>> The uIP source code will be posted to the web soon, and I will provide a > >>> link when the website is up and running. > >>> > >>> Please feel free to contact me with any questions or concerns. > >>> Thanks again. > >>> > >> I am doing some cleanup to this code. Do you by any change have any uio > >> parts you can share? I do not care if it is production ready. I just > >> want to check for regressions in my changes., > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to email@example.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---