cxgb4: Allocate Tx queues dynamically
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 18 Nov 2016 11:07:40 +0000 (16:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:04:29 +0000 (14:04 -0500)
commitab677ff4ad15bc26c359490ee201557f3a6d20df
tree86fc9dcce2c7a74b270f906ba899ebecd4c04b1c
parentc816061d27659cb666f8fd9a67669757f2c04a55
cxgb4: Allocate Tx queues dynamically

Allocate resources dynamically for Upper layer driver's (ULD) like
cxgbit, iw_cxgb4, cxgb4i and chcr. The resources allocated include Tx
queues which are allocated when ULD register with cxgb4 driver and freed
while un-registering. The Tx queues which are shared by ULD shall be
allocated by first registering driver and un-allocated by last
unregistering driver.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_algo.c
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