1. 15 12月, 2016 1 次提交
  2. 08 10月, 2016 2 次提交
  3. 24 9月, 2016 2 次提交
  4. 07 6月, 2016 2 次提交
  5. 14 5月, 2016 9 次提交
  6. 13 5月, 2016 8 次提交
  7. 16 4月, 2016 1 次提交
  8. 12 4月, 2016 1 次提交
  9. 01 3月, 2016 1 次提交
  10. 23 12月, 2015 1 次提交
  11. 12 12月, 2015 2 次提交
    • C
      IB/srp: use the new CQ API · 1dc7b1f1
      Christoph Hellwig 提交于
      This also moves recv completion handling from hardirq context into
      softirq context.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      1dc7b1f1
    • C
      IB: add a proper completion queue abstraction · 14d3a3b2
      Christoph Hellwig 提交于
      This adds an abstraction that allows ULPs to simply pass a completion
      object and completion callback with each submitted WR and let the RDMA
      core handle the nitty gritty details of how to handle completion
      interrupts and poll the CQ.
      
      In detail there is a new ib_cqe structure which just contains the
      completion callback, and which can be used to get at the containing
      object using container_of.  It is pointed to by the WR and WC as an
      alternative to the wr_id field, similar to how many ULPs already use
      the field to store a pointer using casts.
      
      A driver using the new completion callbacks allocates it's CQs using
      the new ib_create_cq API, which in addition to the number of CQEs and
      the completion vectors also takes a mode on how we poll for CQEs.
      Three modes are available: direct for drivers that never take CQ
      interrupts and just poll for them, softirq to poll from softirq context
      using the to be renamed blk-iopoll infrastructure which takes care of
      rearming and budgeting, or a workqueue for consumer who want to be
      called from user context.
      
      Thanks a lot to Sagi Grimberg who helped reviewing the API, wrote
      the current version of the workqueue code because my two previous
      attempts sucked too much and converted the iSER initiator to the new
      API.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      14d3a3b2
  12. 08 12月, 2015 5 次提交
  13. 10 11月, 2015 1 次提交
  14. 29 10月, 2015 4 次提交