1. 06 1月, 2015 4 次提交
  2. 10 12月, 2014 2 次提交
  3. 11 11月, 2014 2 次提交
  4. 10 10月, 2014 1 次提交
  5. 29 9月, 2014 2 次提交
  6. 02 9月, 2014 1 次提交
  7. 22 7月, 2014 1 次提交
  8. 16 7月, 2014 1 次提交
    • H
      cxgb4/iw_cxgb4: work request logging feature · 7730b4c7
      Hariprasad Shenai 提交于
      This commit enhances the iwarp driver to optionally keep a log of rdma
      work request timining data for kernel mode QPs.  If iw_cxgb4 module option
      c4iw_wr_log is set to non-zero, each work request is tracked and timing
      data maintained in a rolling log that is 4096 entries deep by default.
      Module option c4iw_wr_log_size_order allows specifing a log2 size to use
      instead of the default order of 12 (4096 entries). Both module options
      are read-only and must be passed in at module load time to set them. IE:
      
      modprobe iw_cxgb4 c4iw_wr_log=1 c4iw_wr_log_size_order=10
      
      The timing data is viewable via the iw_cxgb4 debugfs file "wr_log".
      Writing anything to this file will clear all the timing data.
      Data tracked includes:
      
      - The host time when the work request was posted, just before ringing
      the doorbell.  The host time when the completion was polled by the
      application.  This is also the time the log entry is created.  The delta
      of these two times is the amount of time took processing the work request.
      
      - The qid of the EQ used to post the work request.
      
      - The work request opcode.
      
      - The cqe wr_id field.  For sq completions requests this is the swsqe
      index.  For recv completions this is the MSN of the ingress SEND.
      This value can be used to match log entries from this log with firmware
      flowc event entries.
      
      - The sge timestamp value just before ringing the doorbell when
      posting,  the sge timestamp value just after polling the completion,
      and CQE.timestamp field from the completion itself.  With these three
      timestamps we can track the latency from post to poll, and the amount
      of time the completion resided in the CQ before being reaped by the
      application.  With debug firmware, the sge timestamp is also logged by
      firmware in its flowc history so that we can compute the latency from
      posting the work request until the firmware sees it.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7730b4c7
  9. 02 7月, 2014 2 次提交
  10. 23 6月, 2014 1 次提交
  11. 14 3月, 2014 2 次提交
  12. 23 12月, 2013 2 次提交
  13. 04 12月, 2013 2 次提交
  14. 14 3月, 2013 2 次提交
  15. 20 12月, 2012 3 次提交
    • V
      RDMA/cxgb4: Fix bug for active and passive LE hash collision path · 793dad94
      Vipul Pandya 提交于
      Retries active opens for INUSE errors.
      
      Logs any active ofld_connect_wr error replies.
      
      Sends ofld_connect_wr on same ctrlq. It needs to go  on the same control txq as
      regular CPL active/passive messages.
      
      Retries on active open replies with EADDRINUSE.
      
      Uses active open fw wr only if active filter region is set.
      
      Adds stat for ofld_connect_wr failures.
      
      This patch also adds debugfs file to show endpoints.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      793dad94
    • V
      RDMA/cxgb4: Fix LE hash collision bug for active open connection · 5be78ee9
      Vipul Pandya 提交于
      It enables establishing active open connection using fw_ofld_connection work
      request when cpl_act_open_rpl says TCAM full error which may be because
      of LE hash collision. Current support is only for IPv4 active open connections.
      
      Sets ntuple bits in active open requests. For T4 firmware greater than 1.4.10.0
      ntuple bits are required to be set.
      
      Adds nocong and enable_ecn module parameter options.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      
      [ Move all FW return values to t4fw_api.h.  - Roland ]
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      5be78ee9
    • V
      cxgb4: Add LE hash collision bug fix path in LLD driver · dca4faeb
      Vipul Pandya 提交于
      It supports establishing passive open connection through firmware filter work
      request. Passive open connection will go through this path as now instead of
      listening server we create a server filter which will redirect the incoming SYN
      packet to the offload queue.
      
      It divides filter region into regular filters and server filter portion. It
      introduces new server filter region which will be exclusively used for creating
      server filters. This region will not overlap with regular filter region.
      
      It provides new API cxgb4_alloc_sftid in LLD for getting stid in case of LE
      hash collision path. This new stid will be used to open server filter in the
      filter region.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      dca4faeb
  16. 27 11月, 2012 1 次提交
  17. 28 9月, 2012 4 次提交
  18. 06 9月, 2012 1 次提交
  19. 19 5月, 2012 1 次提交
    • V
      cxgb4: DB Drop Recovery for RDMA and LLD queues · 3069ee9b
      Vipul Pandya 提交于
      recover LLD EQs for DB drop interrupts.  This includes adding a new
      db_lock, a spin lock disabling BH too, used by the recovery thread and
      the ring_tx_db() paths to allow db drop recovery.
      
      Clean up initial DB avoidance code.
      
      Add read_eq_indices() - this allows the LLD to use the PCIe mw to
      efficiently read hw eq contexts.
      
      Add cxgb4_sync_txq_pidx() - called by iw_cxgb4 to sync up the sw/hw
      pidx value.
      
      Add flush_eq_cache() and cxgb4_flush_eq_cache().  This allows iw_cxgb4
      to flush the sge eq context cache before beginning db drop recovery.
      
      Add module parameter, dbfoifo_int_thresh, to allow tuning the db
      interrupt threshold value.
      
      Add dbfifo_int_thresh to cxgb4_lld_info so iw_cxgb4 knows the threshold.
      
      Add module parameter, dbfoifo_drain_delay, to allow tuning the amount
      of time delay between DB FULL and EMPTY upcalls to iw_cxgb4.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      3069ee9b
  20. 11 8月, 2011 1 次提交
  21. 03 8月, 2010 1 次提交
  22. 29 6月, 2010 1 次提交
  23. 19 6月, 2010 1 次提交
  24. 02 4月, 2010 1 次提交