01 Nov, 2011

1 commit


01 Mar, 2011

1 commit

  • EM anchors list initialization for only master port was not enough to
    keep npiv working as described here:-
    https://lists.open-fcoe.org/pipermail/devel/2011-January/011063.html

    So this patch moves fc_exch_mgr_list_clone to update npiv ports
    EMs once EM anchors list initialized.

    Also some cleanup, no need to set lport = NULL as that always
    get initialized later.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     

13 Feb, 2011

1 commit


17 May, 2010

1 commit

  • This patch creates a port_id member in struct fc_lport.
    This allows libfc to just deal with fc_lport instances
    instead of calling into the fc_host to get the port_id.

    This change helps in only using symbols necessary for
    operation from the libfc structures. libfc still needs
    to change the fc_host_port_id() if the port_id changes
    so the presentation layer (scsi_transport_fc) can provide
    the user with the correct value, but libfc shouldn't
    rely on the presentation layer for operational values.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     

11 Apr, 2010

1 commit


05 Dec, 2009

2 commits

  • NPIV vports are managed in libfc by changing their virtual link state
    when the parent N_Ports internal state changes. The vport link is only
    online when the N_Port is in a ready state (logged into the fabric).

    vport_state is updated as needed in this patch as well, currently the states
    LINKDOWN, INITIALIZING, ACTIVE, DSIABLED, and NO_FABRIC_SUPP are used.

    This also changes the fc_host port_state handling to differentiate between
    LINKDOWN and OFFLINE.

    Signed-off-by: Chris Leech
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Chris Leech
     
  • Adds a function to create a new VN_Port instances, which share the EM
    list with the N_Port, VN_Port lookup by fabric ID when responding to a new
    request (otherwise the exchange lookup from the N_Ports EM list is trusted to
    return an exchange with a cached lport value for the correct VN_Port),
    a pointer to a fc_vport structure for VN_Ports, and flags to indicate if an
    N_Port supports NPIV and if the switch/fabric allows it.

    Signed-off-by: Chris Leech
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Chris Leech