RE: [PATCH 13/15] qla4xxx: Added bsg support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: FUJITA Tomonori [mailto:fujita.tomonori@xxxxxxxxxxxxx]
>Sent: Sunday, June 13, 2010 5:56 PM
>To: michaelc@xxxxxxxxxxx
>Cc: James.Bottomley@xxxxxxx; Vikas Chaudhary; linux-scsi@xxxxxxxxxxxxxxx;
>Ravi Anand
>Subject: Re: [PATCH 13/15] qla4xxx: Added bsg support
>
>On Sun, 13 Jun 2010 15:10:39 -0500
>Mike Christie <michaelc@xxxxxxxxxxx> wrote:
>
>> On 06/12/2010 05:37 PM, James Bottomley wrote:
>> > On Fri, 2010-06-11 at 19:23 -0500, Mike Christie wrote:
>> >> On 06/11/2010 02:49 AM, Vikas Chaudhary wrote:
>> >>> Added BSG support to enable application support to configure
>> >>> ISP40XX/ISP82XX adapter.
>> >>>
>> >>> This patch is on top of: http://marc.info/?l=linux-
>scsi&m=126999297630764&w=2
>> >>>
>> >>
>> >> Did James say that using vendor specific commands was ok? I did not
>see
>> >> anything on the list.
>> >
>> > In principle, the point about vendor specific host commands has already
>> > been conceded ... lpfc and qla2xxx already use them.
>> >
>> > I think the real rule is that for host specific BSG commands, it's only
>> > for stuff that's specific to the host ... so not stuff which should be
>> > done generically.
>> >
>> > There are no hard and fast rules for applying the test above.  In
>> > theory, the management interfaces exposed by FC_BSG_HST_VENDOR could be
>> > used to send commands ... but it tends to get tolerated as long as the
>> > drivers support the standardised rport commands.
>> >
>> > If I look at what the qla4xxx interface would do
>> >
>> >       1. it only supports vendor specific commands ... this is a bit of
>a
>> >          red flag since it's proposing to do nothing in a vendor
>neutral
>> >          way.  This one, I punt back to you: what should an iscsi
>device
>> >          implementing BSG support of the standard commands
>>
>> I am not 100% sure what we need yet, because qlogic has been pushing the
>> vendor specific route and I cannot see exactly what it needs with some
>> of its commands.
>>
>> Based on other drivers and from looking at the qlogic tools and their
>> qlogic.com driver which seems to convert some management operations to
>> flash commands, I have the list below:
>>
>> - Operation to set net settings like ip/dhcp, gateway, dns, subnet,
>> vlan, tcp/ip settings, speed/auto-negotiate, etc.
>>
>> Besides supporting a IPv4 and IPv6 address, some cards can support lots
>> of IPs and/or vlans per same physical port, so this operation cannot be
>> tied to just the host.
>>
>> - Operation to get port state.
>>
>> - Operation to set iscsi initiator port settings like initiator
>> name/alias/isid, iscsi IO settings like FirstBurstLength or Digests,
>> auth settings like chap or radius, etc.
>>
>> This should not be tied to the physical port either since we can have
>> multiple initiator ports per physical port.
>>
>> - Operation to set iscsi settings for specific sessions like iSCSI IO
>> settings and auth settings mentioned above (some drivers want global
>> defaults settable at the host/initiator-port level then be able to
>> specify specific values for each session).
>
>/sys/class/iscsi_* might work better for the above?

For above setting qla4xxx firmware need data in blob format so that's
why we are trying to do it using BSG.

>
>
>> - Operation to discover targets and export targets that were found and:
>> 	- Operation to control if we want to log into specific targets that
>> were found.
>>
>> - Operation to notify userpsace of network link state changes.
>>
>> - Operation to notify userpsace of iscsi session/connection state
>changes.
>
>bsg supports only the request/response interface. The event
>notification from kernel space isn't fit for bsg.

We are working to add netlink support for same in iscsi transport.
We submitted the initial one as RFC patches and working to incorporate 
Mike.C comment to make it like FC as alluded in the other email thread
and resubmit as part of next patch set.

>
>Sounds like all the features are useful to any iSCSI HBAs?
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux