1. 03 9月, 2013 1 次提交
  2. 12 4月, 2013 1 次提交
  3. 22 5月, 2012 2 次提交
    • N
      [SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core · 75f8c1f6
      Nicholas Bellinger 提交于
      This patch adds support for tcm_qla2xxx fabric module for target-core
      using the new qla_target.c LLD logic.  This includes support for explict
      NodeACLs via configfs using tcm_qla2xxx_setup_nacl_from_rport() from libfc
      struct fc_host->rports, and demo-mode support for virtual LUN=0 access.
      
      This patch also adds support for using tcm_qla2xxx_lport->lport_fcport_map
      and ->lport_loopid_map of btree_head32 to track struct se_node_acl pointers
      for individual 24-bit Port ID and 16-bit Loop ID values w/ qla_target_template
      ->find_sess_by_s_id() and ->find_sess_by_loop_id() used in a number of
      locations into the primary I/O dispatch logic in qla_target.c LLD code.
      
      The main piece for FC Nexus setup is in tcm_qla2xxx_check_initiator_node_acl(),
      which calls tcm_qla2xxx_set_sess_by_[s_id,loop_id]() to setup our
      lport->lport_fcport_map and lport_loopid_map pointers respectively, and
      register the new nexus with TCM via __transport_register_session().
      
      (nab: Add qla_tgt_mgmt_cmd usage with TARGET_SCF_ACK_KREF during TMRs +
            change tcm_qla2xxx_nacl->nport_id to u32 (DanC))
      (danc: tcm_qla2xxx: checking for NULL instead of IS_ERR())
      (roland: Fix up v3.5 breakage for removal of transport_do_task_sg_chain +
               Add hook so qla_target code can shutdown sessions)
      (steveh: Convert FC address map from flat array to btree)
      (randy: fix qla2xxx printk format warnings for size_t)
      (joern: Make most of tcm_qla2xxx static + remove unnecessary
              workqueue_struct prototypes + use WWN_SIZE instead of hard-coded
              constants)
      Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
      Signed-off-by: NChad Dupuis <chad.dupuis@qlogic.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      75f8c1f6
    • N
      [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series · 2d70c103
      Nicholas Bellinger 提交于
      Add LLD target mode for >= 24xx series HW.  This code was originally based on
      external qla2x00t module based on 8.02.01-k4, and has been refactored to
      push the bulk of code into mainline qla2xxx.ko LLD -> qla_target.c.
      
      The implementation uses internal workqueues for I/O context submission
      into tcm_qla2xxx code, and includes the struct qla_tgt_func_tmpl API for
      external interaction to allow qla2xxx LDD to function without direct
      target-core dependencies:
      
      It also enables qla_target.c usage within existing qla2xxx LLD code.
      This includes:
      
      *) Addition of target mode specific members to existing data
      structures in qla_def.h and struct qla_hw_data->tgt_ops using
      qla_target.h:struct qla_tgt_func_tmpl
      
      *) Addition of struct qla_tgt_func_tmpl and direct calls into
      qla_target.c logic w/ qlt_* prefixed functions.
      
      *) Addition of qla_iocb.c:qla2x00_req_pkt() for ring processing, and
      qla2x00_issue_marker() for handling request/response queue processing
      for target mode operation
      
      *) Addition of various qla_tgt_mode_enabled() logic checks in
      qla24xx_nvram_config(), qla2x00_initialize_adapter(), qla2x00_rff_id(),
      qla2x00_abort_isp(), qla24xx_modify_vp_config(), and
      qla2x00_vp_abort_isp().
      
      By default the new qlini_mode module parameter is setting initiator-mode
      to 'enabled' in order for 'modprobe qla2xxx' to continue to function as
      expected in initiator only mode.  Enabling target-mode operation will
      currently require a:
      
          modprobe qla2xxx qlini_mode="disabled"
      
      in order to explictly disabled initiator mode and allow target-mode
      to be enabled via tcm_qla2xxx configfs fabric callers.
      
      (nab: Convert to qlini_mode='enabled' by default in qla_target.c)
      (joern: Remove loop_id from qla_tgt_make_local_sess() arguments +
              Remove unused s_id + fix s_id endianness bug +
              simplify qla_tgt_abort_work)
      (gerard: fix section __exit mismatch in qla_tgt_exit)
      (arun: Capture ATIO queue during firmware dump + Send SCR in target mode +
             Target mode review comments)
      (roland: Don't create duplicate target sessions to address tearing down
               ACLs with IO in flight + Add missing call to qlt_fc_port_deleted
      	 call during qla2x00_schedule_rport_del timeout)
      Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
      Signed-off-by: NChad Dupuis <chad.dupuis@qlogic.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      2d70c103
  4. 02 5月, 2010 1 次提交
  5. 11 4月, 2010 1 次提交
  6. 24 1月, 2008 1 次提交
    • A
      [SCSI] qla2xxx: Add Fibre Channel Event (FCE) tracing support. · df613b96
      Andrew Vasquez 提交于
      FCE support enables the firmware to record FC extended link
      services and basic link services frames which have been
      transmitted and received by the ISP.  This allows for a limited
      view of the FC traffic through the ISP without using a FC
      analyzer.  This can be useful in situations where a physical
      connection to the FC bus is not possible.
      
      The driver exports this information in two ways -- first, via a
      debugfs node exported for all supported ISPs under:
      
      	<debugfs_mount_point>/qla2xxx/qla2xxx_<host_no>/fce
      
      where a read of the 'fce' file will provide a snapshot of the
      firmware's FCE buffer; and finally, the FCE buffer will be
      extracted during a firmware-dump scenario.
      Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      df613b96
  7. 15 7月, 2007 1 次提交
  8. 20 5月, 2006 2 次提交
  9. 12 3月, 2006 1 次提交
  10. 13 1月, 2006 1 次提交
  11. 14 12月, 2005 2 次提交
  12. 28 7月, 2005 2 次提交
  13. 14 7月, 2005 1 次提交
  14. 19 4月, 2005 1 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4