chcr/cxgb4i/cxgbit/RDMA/cxgb4: Allocate resources dynamically for all cxgb4 ULD's
authorHariprasad Shenai <hariprasad@chelsio.com>
Sat, 17 Sep 2016 02:42:39 +0000 (08:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:37:32 +0000 (01:37 -0400)
commit0fbc81b3ad513fecaaf62b48f42b89fcd57f7682
treed87e58df6ccb3e1ed05c417118efa4478eb3e83e
parente8bc8f9a670e26e91562e724a2114243898bd616
chcr/cxgb4i/cxgbit/RDMA/cxgb4: Allocate resources dynamically for all cxgb4 ULD's

Allocate resources dynamically to cxgb4's Upper layer driver's(ULD) like
cxgbit, iw_cxgb4 and cxgb4i. Allocate resources when they register with
cxgb4 driver and free them while unregistering. All the queues and the
interrupts for them will be allocated during ULD probe only and freed
during remove.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_core.c
drivers/infiniband/hw/cxgb4/device.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/target/iscsi/cxgbit/cxgbit_main.c