1. 10 8月, 2015 4 次提交
    • A
      NTB: Schedule to receive on QP link up · 8b5a22d8
      Allen Hubbe 提交于
      Schedule to receive on QP link up, to make sure that the doorbell is
      properly cleared for interrupts.
      Signed-off-by: NAllen Hubbe <Allen.Hubbe@emc.com>
      Signed-off-by: NJon Mason <jdmason@kudzu.us>
      8b5a22d8
    • D
      NTB: Fix oops in debugfs when transport is half-up · 260bee94
      Dave Jiang 提交于
      When the remote side is not up, we do not have all the context for the
      transport, and that causes NULL ptr access. Have the debugfs reads check
      to see if transport is up before we make access.
      Signed-off-by: NDave Jiang <dave.jiang@intel.com>
      Signed-off-by: NJon Mason <jdmason@kudzu.us>
      260bee94
    • D
      NTB: Fix transport stats for multiple devices · c8650fd0
      Dave Jiang 提交于
      Currently the debugfs does not have files for all NTB transport queue
      pairs.  When there are multiple NTBs present in a system, the QP names
      of the last transport clobber the names of previously added transport
      QPs.  Only the last added QPs can be observed via debugfs.
      
      Create a directory per NTB transport to associate the QPs with that
      transport.  Name the directory the same as the PCI device.
      Signed-off-by: NDave Jiang <dave.jiang@intel.com>
      Signed-off-by: NJon Mason <jdmason@kudzu.us>
      c8650fd0
    • A
      NTB: Fix ntb_transport out-of-order RX update · da2e5ae5
      Allen Hubbe 提交于
      It was possible for a synchronous update of the RX index in the error
      case to get ahead of the asynchronous RX index update in the normal
      case.  Change the RX processing to preserve an RX completion order.
      
      There were two error cases.  First, if a buffer is not present to
      receive data, there would be no queue entry to preserve the RX
      completion order.  Instead of dropping the RX frame, leave the RX frame
      in the ring.  Schedule RX processing when RX entries are enqueued, in
      case there are RX frames waiting in the ring to be received.
      
      Second, if a buffer is too small to receive data, drop the frame in the
      ring, mark the RX entry as done, and indicate the error in the RX entry
      length.  Check for a negative length in the receive callback in
      ntb_netdev, and count occurrences as rx_length_errors.
      Signed-off-by: NAllen Hubbe <Allen.Hubbe@emc.com>
      Signed-off-by: NJon Mason <jdmason@kudzu.us>
      da2e5ae5
  2. 05 7月, 2015 11 次提交
  3. 02 7月, 2015 1 次提交
  4. 14 9月, 2014 2 次提交
  5. 08 4月, 2014 2 次提交
  6. 21 11月, 2013 3 次提交
  7. 15 11月, 2013 2 次提交
  8. 06 9月, 2013 4 次提交
  9. 04 9月, 2013 2 次提交
  10. 16 5月, 2013 8 次提交
  11. 22 1月, 2013 1 次提交