linux/drivers/infiniband
Selvin Xavier fd98d89698 RDMA/ocrdma: Initialize stats resources in the driver before ib device registration.
In the latest kernel, process_mad hook of the driver can be invoked as
soon as device is registered. In this hook, ocrdma driver is issuing a
command to get the stats counters from the HW. This is triggering system
crash since the statistics command resources are not allocated by the driver.
Changing the sequence of initialization to avoid this crash.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-02-05 15:14:27 -05:00
..
core IB/sysfs: remove unused va_list args 2016-02-04 07:09:07 -05:00
hw RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ulp IB/IPoIB: Do not set skb truesize since using one linearskb 2016-02-04 07:08:12 -05:00
Kconfig IB/cma: Add configfs for rdma_cm 2015-12-23 10:39:52 -05:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00