1. 20 7月, 2012 4 次提交
  2. 19 7月, 2012 1 次提交
  3. 18 7月, 2012 1 次提交
  4. 12 7月, 2012 4 次提交
  5. 11 7月, 2012 2 次提交
    • M
      IB/qib: Fix sparse RCU warnings in qib_keys.c · 7e230177
      Mike Marciniszyn 提交于
      Commit 8aac4cc3 ("IB/qib: RCU locking for MR validation") introduced
      new sparse warnings in qib_keys.c.
      Acked-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      7e230177
    • J
      mlx4: Use port management change event instead of smp_snoop · 00f5ce99
      Jack Morgenstein 提交于
      The port management change event can replace smp_snoop.  If the
      capability bit for this event is set in dev-caps, the event is used
      (by the driver setting the PORT_MNG_CHG_EVENT bit in the async event
      mask in the MAP_EQ fw command).  In this case, when the driver passes
      incoming SMP PORT_INFO SET mads to the FW, the FW generates port
      management change events to signal any changes to the driver.
      
      If the FW generates these events, smp_snoop shouldn't be invoked in
      ib_process_mad(), or duplicate events will occur (once from the
      FW-generated event, and once from smp_snoop).
      
      In the case where the FW does not generate port management change
      events smp_snoop needs to be invoked to create these events.  The flow
      in smp_snoop has been modified to make use of the same procedures as
      in the fw-generated-event event case to generate the port management
      events (LID change, Client-rereg, Pkey change, and/or GID change).
      
      Port management change event handling required changing the
      mlx4_ib_event and mlx4_dispatch_event prototypes; the "param" argument
      (last argument) had to be changed to unsigned long in order to
      accomodate passing the EQE pointer.
      
      We also needed to move the definition of struct mlx4_eqe from
      net/mlx4.h to file device.h -- to make it available to the IB driver,
      to handle port management change events.
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      00f5ce99
  6. 09 7月, 2012 6 次提交
  7. 08 7月, 2012 2 次提交
    • H
      {NET, IB}/mlx4: Add device managed flow steering firmware API · 0ff1fb65
      Hadar Hen Zion 提交于
      The driver is modified to support three operation modes.
      
      If supported by firmware use the device managed flow steering
      API, that which we call device managed steering mode. Else, if
      the firmware supports the B0 steering mode use it, and finally,
      if none of the above, use the A0 steering mode.
      
      When the steering mode is device managed, the code is modified
      such that L2 based rules set by the mlx4_en driver for Ethernet
      unicast and multicast, and the IB stack multicast attach calls
      done through the mlx4_ib driver are all routed to use the device
      managed API.
      
      When attaching rule using device managed flow steering API,
      the firmware returns a 64 bit registration id, which is to be
      provided during detach.
      
      Currently the firmware is always programmed during HCA initialization
      to use standard L2 hashing. Future work should be done to allow
      configuring the flow-steering hash function with common, non
      proprietary means.
      Signed-off-by: NHadar Hen Zion <hadarh@mellanox.co.il>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ff1fb65
    • R
      RDMA/ocrdma: Fix assignment of max_srq_sge in device query · d1e09ebf
      Roland Dreier 提交于
      We want to set attr->max_srq_sge to dev->attr.max_srq_sge, not to itself.
      
      This was detected by Coverity (CID 709210).
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      d1e09ebf
  8. 05 7月, 2012 1 次提交
  9. 15 6月, 2012 1 次提交
  10. 12 6月, 2012 4 次提交
  11. 07 6月, 2012 1 次提交
  12. 04 6月, 2012 2 次提交
  13. 30 5月, 2012 3 次提交
  14. 22 5月, 2012 1 次提交
  15. 19 5月, 2012 7 次提交