Configuring srp_daemon
----------------------

In order to configure the srp_daemon you must list the
IB ports you want to use in /etc/defaults/srptools.

If you add ports which do not have srp devices presented
to them, srp_daemon will hang, causing the boot process
to hang.

IB ports are listed in the form:

"Channel Adapter":"port number"

You can list all the Channel Adapters (CAs) and ports with the ibstatus 
command. The CA is listed as the Infiniband device.

eg, to configure srp_daemon on all the ports listed below:


#ibstatus 
Infiniband device 'mlx4_0' port 1 status:
        default gid:     fe80:0000:0000:0000:0002:c903:0002:fce9
        base lid:        0x22
        sm lid:          0x1
        state:           4: ACTIVE
        phys state:      5: LinkUp
        rate:            20 Gb/sec (4X DDR)

Infiniband device 'mlx4_0' port 2 status:
        default gid:     fe80:0000:0000:0000:0002:c903:0002:fcea
        base lid:        0x0
        sm lid:          0x0
        state:           1: DOWN
        phys state:      2: Polling
        rate:            10 Gb/sec (4X)


set:

IB_PORTS="mlx4_0:1 mlx4_0:2"

