1. 08 2月, 2015 1 次提交
  2. 25 1月, 2015 1 次提交
  3. 09 1月, 2015 1 次提交
  4. 19 12月, 2014 1 次提交
  5. 13 12月, 2014 2 次提交
  6. 23 11月, 2014 5 次提交
  7. 14 11月, 2014 1 次提交
  8. 11 11月, 2014 1 次提交
  9. 02 9月, 2014 1 次提交
  10. 22 8月, 2014 1 次提交
  11. 08 8月, 2014 1 次提交
    • A
      cxgb4: IEEE fixes for DCBx state machine · 10b00466
      Anish Bhatt 提交于
      * Changes required due to 16eecd9b ("dcbnl : Fix misleading
        dcb_app->priority explanation")
      * Driver was previously not aware of what DCBx version was negotiated by
        firmware, this could lead to DCB app table  in kernel or in firmware being
        populated wrong  since IEEE/CEE used different formats made clear by above
        mentioned commit
      * Driver was missing a couple of state transitions that could be caused
        by other drivers that use chelsio hardware, resulting in incorrect behaviour
        (the change that addresses this also flips the state machine to switch on
         state instead of transition, hope this is okay in current window)
      * Prio queue info & tsa is no longer thrown away
      
      v2: Print DCBx state transition messages only when debug is enabled
      Signed-off-by: NAnish Bhatt <anish@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10b00466
  12. 16 7月, 2014 1 次提交
    • H
      cxgb4/iw_cxgb4: use firmware ord/ird resource limits · 4c2c5763
      Hariprasad Shenai 提交于
      Advertise a larger max read queue depth for qps, and gather the resource limits
      from fw and use them to avoid exhaustinq all the resources.
      
      Design:
      
      cxgb4:
      
      Obtain the max_ordird_qp and max_ird_adapter device params from FW
      at init time and pass them up to the ULDs when they attach.  If these
      parameters are not available, due to older firmware, then hard-code
      the values based on the known values for older firmware.
      iw_cxgb4:
      
      Fix the c4iw_query_device() to report these correct values based on
      adapter parameters.  ibv_query_device() will always return:
      
      max_qp_rd_atom = max_qp_init_rd_atom = min(module_max, max_ordird_qp)
      max_res_rd_atom = max_ird_adapter
      
      Bump up the per qp max module option to 32, allowing it to be increased
      by the user up to the device max of max_ordird_qp.  32 seems to be
      sufficient to maximize throughput for streaming read benchmarks.
      
      Fail connection setup if the negotiated IRD exhausts the available
      adapter ird resources.  So the driver will track the amount of ird
      resource in use and not send an RI_WR/INIT to FW that would reduce the
      available ird resources below zero.
      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>
      4c2c5763
  13. 23 6月, 2014 2 次提交
  14. 19 2月, 2014 2 次提交
  15. 04 12月, 2013 1 次提交
  16. 13 8月, 2013 1 次提交
  17. 30 4月, 2013 1 次提交
    • V
      cxgb4: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG · b407a4a9
      Vipul Pandya 提交于
      Newer firmware can post CPL_SGE_EGR_UPDATE message encapsulated in a
      CPL_FW4_MSG as follows
      
      flit0 rss_header (if DropRSS == 0 in IQ context)
      flit1 CPL_FW4_MSG cpl
      flit2 rss_header w/opcode CPL_SGE_EGR_UPDATE
      flit3 CPL_SGE_EGR_UPDATE cpl
      
      So FW4_MSG CPLs with a newly created type of FW_TYPE_RSSCPL have the
      CPL_SGE_EGR_UPDATE CPL message in flit 2 of the FW4_MSG. Firmware can still
      post regular CPL_SGE_EGR_UPDATE messages, so the drivers need to handle
      both.
      
      This patch also writes a new parameter to firmware requesting encapsulated
      EGR_UPDATE. This allows firmware with this support to not break older drivers.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b407a4a9
  18. 14 3月, 2013 1 次提交
  19. 20 12月, 2012 2 次提交
    • 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 T4 filter support · f2b7e78d
      Vipul Pandya 提交于
      The T4 architecture is capable of filtering ingress packets at line rate
      using the rule in TCAM. If packet hits a rule in the TCAM then it can be either
      dropped or passed to the receive queues based on a rule settings.
      
      This patch adds framework for managing filters and to use T4's filter
      capabilities. It constructs a Firmware Filter Work Request which writes the
      filter at a specified index to get the work done. It hosts shadow copy of
      ingress filter entry to check field size limitations and save memory in the
      case where the filter table is large.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      f2b7e78d
  20. 27 11月, 2012 1 次提交
  21. 28 9月, 2012 4 次提交
  22. 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
  23. 11 8月, 2011 1 次提交
  24. 17 12月, 2010 1 次提交
  25. 24 8月, 2010 1 次提交
  26. 03 8月, 2010 1 次提交
  27. 29 6月, 2010 1 次提交
  28. 19 6月, 2010 1 次提交
  29. 13 5月, 2010 1 次提交