1. 03 3月, 2010 1 次提交
  2. 25 2月, 2010 3 次提交
    • O
      IB/iser: Use libiscsi passthrough mode · 962b4b52
      Or Gerlitz 提交于
      libiscsi passthrough mode invokes the transport xmit calls directly
      without first going through an internal queue, unlike the other mode,
      which uses a queue and a xmitworker thread.  Now that the "cant_sleep"
      prerequisite of iscsi_host_alloc is met, move to use it.  Handling
      xmit errors is now done by the passthrough flow of libiscsi.  Since
      the queue/worker aren't used in this mode, the code that schedules the
      xmitworker is removed.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      962b4b52
    • O
      IB/iser: Simplify send flow/descriptors · f19624aa
      Or Gerlitz 提交于
      Simplify and shrink the logic/code used for the send descriptors.
      Changes include removing struct iser_dto (an unnecessary abstraction),
      using struct iser_regd_buf only for handling SCSI commands, using
      dma_sync instead of dma_map/unmap, etc.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f19624aa
    • O
      IB/iser: New receive buffer posting logic · bcc60c38
      Or Gerlitz 提交于
      Currently, the recv buffer posting logic is based on the transactional
      nature of iSER which allows for posting a buffer before sending a PDU.
      Change this to post only when the number of outstanding recv buffers
      is below a water mark and in a batched manner, thus simplifying and
      optimizing the data path.  Use a pre-allocated ring of recv buffers
      instead of allocating from kmem cache.  A special treatment is given
      to the login response buffer whose size must be 8K unlike the size of
      buffers used for any other purpose which is 128 bytes.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bcc60c38
  3. 05 12月, 2009 1 次提交
  4. 03 10月, 2009 1 次提交
  5. 24 5月, 2009 2 次提交
    • M
      [SCSI] libiscsi: add task aborted state · b3cd5050
      Mike Christie 提交于
      If a task did not complete normally due to a TMF, libiscsi will
      now complete the task with the state ISCSI_TASK_ABRT_TMF. Drivers
      like bnx2i that need to free resources if a command did not complete normally
      can then check the task state. If a driver does not need to send
      a special command if we have dropped the session then they can check
      for ISCSI_TASK_ABRT_SESS_RECOV.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      b3cd5050
    • M
      [SCSI] iscsi: pass ep connect shost · 10eb0f01
      Mike Christie 提交于
      When we create the tcp/ip connection by calling ep_connect, we currently
      just go by the routing table info.
      
      I think there are two problems with this.
      
      1. Some drivers do not have access to a routing table. Some drivers like
      qla4xxx do not even know about other ports.
      
      2. If you have two initiator ports on the same subnet, the user may have
      set things up so that session1 was supposed to be run through port1. and
      session2 was supposed to be run through port2. It looks like we could
      end with both sessions going through one of the ports.
      
      Fixes for cxgb3i from Karen Xie.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      10eb0f01
  6. 27 4月, 2009 1 次提交
  7. 14 3月, 2009 5 次提交
  8. 30 12月, 2008 2 次提交
  9. 13 10月, 2008 2 次提交
  10. 15 7月, 2008 1 次提交
  11. 12 7月, 2008 14 次提交
  12. 30 4月, 2008 1 次提交
  13. 26 1月, 2008 1 次提交
  14. 24 1月, 2008 1 次提交
  15. 12 1月, 2008 4 次提交