31 Mar, 2011

1 commit


26 Feb, 2011

1 commit


02 Nov, 2010

1 commit

  • "gadget", "through", "command", "maintain", "maintain", "controller", "address",
    "between", "initiali[zs]e", "instead", "function", "select", "already",
    "equal", "access", "management", "hierarchy", "registration", "interest",
    "relative", "memory", "offset", "already",

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Jiri Kosina

    Uwe Kleine-König
     

28 Jul, 2010

4 commits

  • The FC-BB-6 committee is proposing a new FIP usage model called
    VN_port to VN_port mode. It allows VN_ports to discover each other
    over a loss-free L2 Ethernet without any FCF or Fibre-channel fabric
    services. This is point-to-multipoint. There is also a variant
    of this called point-to-point which provides for making sure there
    is just one pair of ports operating over the Ethernet fabric.

    This patch defines the new message type and subtypes as well as
    one new descriptor type used by VN2VN mode.

    These are all still at the proposed stage and subject to change.

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

    Joe Eykholt
     
  • The FIP proposal for VN_port to VN_port point-to-multipoint
    operation requires a FLOGI be sent to each remote port.
    The FLOGI is sent with the assigned S_ID and D_IDs of the
    local and remote ports. This and the response get
    FIP-encapsulated for Ethernet.

    Add FLOGI state to the remote port state machine.
    This will be skipped if not in point-to-multipoint mode.

    To reduce a little duplication between PLOGI and FLOGI
    response handling, added fc_rport_login_complete(), which
    handles the parameters for the rdata struct.

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

    Joe Eykholt
     
  • Resubmitting after incorporating Joe's review comment.

    Unsolicited PRLO request is now handled by sending LS_ACC,
    and then relogin to the remote port if an N-port login
    session exists for that remote port.

    Note that this patch should be applied on top of Joe Eykholt's
    "Fix remote port restart problem" patch.

    Signed-off-by: Bhanu Prakash Gollapudi
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Bhanu Prakash Gollapudi
     
  • Some old comments in fc_fcoe.h say TBD long after the
    standard has been passed by T11. Clean them up.

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

    Joe Eykholt
     

11 Apr, 2010

1 commit


05 Dec, 2009

8 commits

  • While the target reset task management function has been deprecated in
    newer specs, it is still in use by SCSI FC drivers and there is no
    real replacement. Add the target reset flag to the FCP header file to
    allow usage of this definition in SCSI FC drivers.

    Reviewed-by: Swen Schillig
    Signed-off-by: Christof Schmitt
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • Add struct fcoe_fc_els_lesb as described in FC-BB-5 LESB for FCoE. It has
    the same size as LESB defined in FC-FS-3 (struct fc_els_lesb) but members
    have different meanings according to FC-BB-5.

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

    Yi Zou
     
  • When the D bit is set if the FKA_ADV_Period of the FIP Discovery
    Advertisement, the ENode should not transmit period ENode FIP Keep Alive and
    VN_Port FIP Keep Alive (FC-BB-5 Rev2, 7.8.3.13).

    Note that fcf->flags is taken directly from the fip_header, I am claiming one
    bit for the purpose of the FIP_FKA_Period D bit as FIP_FL_FK_ADV_B, and use
    FIP_HEADER_FLAGS as bitmask for bits used in fip_header.

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

    Yi Zou
     
  • Customers and certification tests have pointed out that we don't
    show up on the switch management software as an initiator.

    On some MDS switches 'show fcns database' command shows libfc
    initiators as 'fcp' not 'fcp:init' like other initiators.

    On others switches, I think the switch gets the features by doing a PRLI,
    but it may be only certain models or under certain configurations.

    Fix this by registering our FC4 features with the RFF_ID CT request
    after local port login and after the RFT_ID.

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

    Joe Eykholt
     
  • Export fc_els.h, fc_fs.h, fc_gs.h and fc_ns.h so that they
    may be used by applications.

    This will be needed for FC Passthrough applications like fcping,
    but could be used by other applications.

    Fix to include to exported files provided by
    Chris Leech .

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

    Robert Love
     
  • Register the fc_host symbolic name as the symbolic port name
    with the fabric name server.

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

    Chris Leech
     
  • Register the fc_host symbolic name as the symbolic node name
    with the fabric name server.

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

    Chris Leech
     
  • Add FDISC ELS handling to libfc and libfcoe, treat it the same as FLOGI where
    appropriate.

    Add checking for NPIV support in the FLOGI LS_ACC service parameters.

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

    Chris Leech
     

21 Sep, 2009

1 commit


11 Sep, 2009

1 commit


09 Jun, 2009

1 commit


27 Apr, 2009

1 commit

  • When building with a .config generated from 'make allmodconfig'
    some build warnings are generated. This patch corrects the warnings,
    adds a FC_FID_NONE (= 0) enumeration for FC-IDs and cleans up one
    variable naming to meet our variable naming conventions. For example,
    fc_lport's should be named "lport," not "lp."

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

    Robert Love
     

03 Apr, 2009

1 commit


14 Mar, 2009

1 commit


10 Mar, 2009

1 commit


07 Mar, 2009

1 commit

  • This allows any rport ELS to retry on LS_RJT.

    The rport error handling would only retry on resource allocation failures
    and exchange timeouts. I have a target that will occasionally reject PLOGI
    when we do a quick LOGO/PLOGI. When a critical ELS was rejected, libfc would
    fail silently leaving the rport in a dead state.

    The retry count and delay are managed by fc_rport_error_retry. If the retry
    count is exceeded fc_rport_error will be called. When retrying is not the
    correct course of action, fc_rport_error can be called directly.

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

    Chris Leech
     

30 Dec, 2008

1 commit