diff options
| author | Chris Lew <clew@codeaurora.org> | 2016-01-27 13:18:06 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:23:50 -0700 |
| commit | 90b06c27f2f8b4c1fa3a5f21ff3f02417796d66f (patch) | |
| tree | 76ede5b9d2d2d9157f752094eb460c4c65ae1c55 | |
| parent | 9e1875b6945e251ada3f84ad9906b92b5d698694 (diff) | |
diag: Increase number of buffers for MHI and USB
When there is heavy diag traffic, all the read buffers
for MHI are used. This change doubles the amount of buffers to
increase the packet throughput.
CRs-Fixed: 971043
Change-Id: I854abe0ba5273add8dee6a9762598706db12804a
Signed-off-by: Chris Lew <clew@codeaurora.org>
| -rw-r--r-- | drivers/char/diag/diagchar_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/diag/diagchar_core.c b/drivers/char/diag/diagchar_core.c index d1b6659f8160..27065a140fbf 100644 --- a/drivers/char/diag/diagchar_core.c +++ b/drivers/char/diag/diagchar_core.c @@ -96,7 +96,7 @@ module_param(poolsize_dci, uint, 0); #ifdef CONFIG_DIAGFWD_BRIDGE_CODE /* Used for reading data from the remote device. */ static unsigned int itemsize_mdm = DIAG_MDM_BUF_SIZE; -static unsigned int poolsize_mdm = 9; +static unsigned int poolsize_mdm = 18; module_param(itemsize_mdm, uint, 0); module_param(poolsize_mdm, uint, 0); @@ -113,7 +113,7 @@ module_param(itemsize_mdm_dci, uint, 0); * Don't expose the itemsize since it is constant. */ static unsigned int itemsize_mdm_usb = sizeof(struct diag_request); -static unsigned int poolsize_mdm_usb = 9; +static unsigned int poolsize_mdm_usb = 18; module_param(poolsize_mdm_usb, uint, 0); /* |
