mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e8bc8f9a67
commit
0fbc81b3ad
10 changed files with 385 additions and 694 deletions
|
|
@ -652,6 +652,9 @@ static struct iscsit_transport cxgbit_transport = {
|
|||
|
||||
static struct cxgb4_uld_info cxgbit_uld_info = {
|
||||
.name = DRV_NAME,
|
||||
.nrxq = MAX_ULD_QSETS,
|
||||
.rxq_size = 1024,
|
||||
.lro = true,
|
||||
.add = cxgbit_uld_add,
|
||||
.state_change = cxgbit_uld_state_change,
|
||||
.lro_rx_handler = cxgbit_uld_lro_rx_handler,
|
||||
|
|
|
|||
Loading…
Reference in a new issue