1. 15 3月, 2014 1 次提交
  2. 13 8月, 2013 1 次提交
    • V
      cxgb4: Add routines to create and remove listening IPv6 servers · 80f40c1f
      Vipul Pandya 提交于
      Add cxgb4_create_server6 and cxgb4_remove_server routines to create
      and remove listening IPv6 servers.
      
      Return success (0) from cxgb4_create_server in case of ctrl queue
      congestion since in case of congestion, passive open request gets
      queued and gets processed later.  If a non-zero value were returned it
      would be treated as an error and the ULD would free STID, which can
      result in an error in passive open reply.
      
      Add cpl structure for active open request with IPv6 address for T5.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      80f40c1f
  3. 30 4月, 2013 2 次提交
    • V
      cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG · 94dace10
      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>
      94dace10
    • 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
  4. 14 3月, 2013 2 次提交
  5. 20 12月, 2012 3 次提交
    • V
      RDMA/cxgb4: Fix LE hash collision bug for passive open connection · 1cab775c
      Vipul Pandya 提交于
      It establishes passive open connection through firmware 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. After this driver tries to establish the connection using
      firmware work request.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      1cab775c
    • 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
  6. 27 11月, 2012 1 次提交
  7. 11 8月, 2011 1 次提交
  8. 15 3月, 2011 1 次提交
  9. 03 8月, 2010 1 次提交
  10. 29 6月, 2010 1 次提交
  11. 28 4月, 2010 1 次提交
  12. 02 4月, 2010 1 次提交