Re: [PATCH] iscsi_ibft: Display iBFT signature in sysfs

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

 



On 11/30/2011 08:10 AM, Hannes Reinecke wrote:
> Broadcom iSCSI offload cards use the signature 'BIFT' to signal
> that iSCSI offload is in use. This patch exports the iBFT signature
> to sysfs so that userspace can enable iSCSI offloading here.

Seems useful and ok to export.

Reviewed-by: Mike Christie <michaelc@xxxxxxxxxxx>


Note that you should not need this for the iscsi tools though. The iscsi
tools in git already figure this out for all drivers if you compile with
OFFLOAD_BOOT_SUPPORTED set. Basically, if the MAC address in the
firmware ibft/iscsi_boot dirs/info is the same as one in the
/sys/class/iscsi_host dir then it is offload. For broadcom when you
enable hba mode it puts the offloaded MAC address in ibft. If hba mode
is not enabled then the MAC is the normal networking card port's MAC (in
this case iscsi tools will just do iscsi_tcp over bnx2x/bnx2).
--
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