1. 19 2月, 2014 1 次提交
  2. 04 12月, 2013 1 次提交
  3. 13 8月, 2013 1 次提交
  4. 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
  5. 14 3月, 2013 1 次提交
  6. 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
  7. 27 11月, 2012 1 次提交
  8. 28 9月, 2012 4 次提交
  9. 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
  10. 11 8月, 2011 1 次提交
  11. 17 12月, 2010 1 次提交
  12. 24 8月, 2010 1 次提交
  13. 03 8月, 2010 1 次提交
  14. 29 6月, 2010 1 次提交
  15. 19 6月, 2010 1 次提交
  16. 13 5月, 2010 1 次提交
  17. 02 4月, 2010 1 次提交