linux/drivers/infiniband/hw/ocrdma
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
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_abi.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_ah.c IB/core: Use hop-limit from IP stack for RoCE 2016-01-19 15:26:56 -05:00
ocrdma_ah.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_hw.c RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_sli.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_stats.c RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_verbs.h IB: remove support for phys MRs 2015-12-23 14:29:04 -05:00
ocrdma.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00