On 01/31/2013 10:41 PM, Vikas Chaudhary wrote: >>> + >>> +#define iscsi_flash_tgt_attr(type, name, param) >>> \ >>> + iscsi_flash_tgt_attr_show(type, name, param) \ >>> +static ISCSI_FLASHTGT_ATTR(type, name, S_IRUGO, >>> \ >>> + show_##type##_##name, NULL); >>> + >>> +/* Target attributes */ >>> + >>> +iscsi_flash_tgt_attr(tgt, is_fw_assigned_ipv6, >>> + ISCSI_FLASHTGT_IS_FW_ASSIGNED_IPV6); >> >> >> Could you give me more info on this one? I saw on the follow on pathc it >> mentions link local ipv6 addrs. Can the card have multiple link local >> ipv6 addrs some are assigned my fw and some are assigned by the driver? > > No, only single link local IPv6 address is supported at a time. > This flag indicate if the address is assigned by FW or driver.
>>> +iscsi_flash_tgt_attr(tgt, max_segment_size, >>> ISCSI_FLASHTGT_MAX_SEGMENT_SIZE); >>> +iscsi_flash_tgt_attr(tgt, local_port, ISCSI_FLASHTGT_LOCAL_PORT); >> >> So why is the port printed but not the local ipaddress? It is due to how >> your card supports addresses right? >> >> I think we want a link to the iface. Is that not possible? >> > > This will not be relevant when the target entry is in the flash. > This is here just for placeholder and not running copy. Ah ok. So that is why above for is_fw_assigned_ipv6 we have it on that fw tgt instead on the iface right? Ok then. Eddie, for bnx2i do you know what we want? We want to match a target with some host/iface side networking info right? > >> >> >>> +iscsi_flash_tgt_attr(tgt, discovery_parent, >>> ISCSI_FLASHTGT_DISCOVERY_PARENT); >> >> Could you make this print out a string like "send_targets" and 'isns"? >> > > This can be send_target entries index as well. For ISNS it would be a hex > number like 0xFFFDh Is 0xFFFDh a qlogic specific value or does it have some spec reference/meaning? I think this might be too specific for your fw. Other drivers would want to export how something was discovered but for isns returning 0xFFFDh seems like a qlogic specific value. Could you break it up into type and index? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
