ibft boot: add iscsiadm offload ibft rec support
commit98ecfb96d5b5ba9d6d53d71c90f1a7bfcc4ac266
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 15 Jan 2010 05:48:13 +0000 (14 23:48 -0600)
committerMike Christie <michaelc@cs.wisc.edu>
Fri, 15 Jan 2010 08:24:02 +0000 (15 02:24 -0600)
tree933f0a50b598e6358dda9be7bc817531264fd39e
parentdbe4e4fcd22e33305750cf396ca51ba5f347393e
ibft boot: add iscsiadm offload ibft rec support

This patch allows iscsiadm to setup the ifaces and recs
for offload cards using the ibft info. This is done
when iscsiadm -m discovery -t fw is run.

Note:
- This will set things up so that every target in the boot info
will be accessibly by every offload card in the boot info. I think
this is probably what people want, but the ibft boot info is too
limiting. If it is not want you wanted then just run iscsiadm
to delete some of the records.

- If a iface/node rec is setup with a iface having some setting
like a ip address X, but it is later changed in ibft, when you
boot with that new ibft info iscsid will ignore the node/rec info
and use the ibft info. You must then manaully update the node/iface rec
info (you actually could just leave it or not even set it is
always going to be used for boot and we always will be using
the ibft info).
usr/iface.c
usr/iface.h
usr/iscsiadm.c
usr/iscsid.c