mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Set the CE2 buffer size to 3200 bytes
Buffers attached to CE2 destination ring are of 4k bytes. skb allocation for these buffers exceed 1-page allocation due to addition bytes reserved for alignment, padding and skb shared info. Set the CE2 buffer size to 3200 bytes so that the skb memory fits into a single page. Change-Id: I97b3fc140376bb107ba23ab581a2dd5aeb833948 CRs-Fixed: 2785267
This commit is contained in:
parent
14be947c4e
commit
7d4b38f4ad
1 changed files with 2 additions and 2 deletions
|
|
@ -1262,7 +1262,7 @@ static struct CE_attr host_ce_config_wlan_qca6490[] = {
|
|||
/* target->host HTT + HTC control */
|
||||
{ /* CE1 */ CE_ATTR_FLAGS, 0, 0, 2048, 512, NULL,},
|
||||
/* target->host WMI */
|
||||
{ /* CE2 */ CE_ATTR_FLAGS, 0, 0, 4096, 64, NULL,},
|
||||
{ /* CE2 */ CE_ATTR_FLAGS, 0, 0, 3200, 64, NULL,},
|
||||
/* host->target WMI */
|
||||
{ /* CE3 */ CE_ATTR_FLAGS, 0, 32, 2048, 0, NULL,},
|
||||
/* host->target HTT */
|
||||
|
|
@ -1286,7 +1286,7 @@ static struct CE_pipe_config target_ce_config_wlan_qca6490[] = {
|
|||
/* target->host HTT */
|
||||
{ /* CE1 */ 1, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,},
|
||||
/* target->host WMI + HTC control */
|
||||
{ /* CE2 */ 2, PIPEDIR_IN, 32, 4096, CE_ATTR_FLAGS, 0,},
|
||||
{ /* CE2 */ 2, PIPEDIR_IN, 32, 3200, CE_ATTR_FLAGS, 0,},
|
||||
/* host->target WMI */
|
||||
{ /* CE3 */ 3, PIPEDIR_OUT, 32, 2048, CE_ATTR_FLAGS, 0,},
|
||||
/* host->target HTT */
|
||||
|
|
|
|||
Loading…
Reference in a new issue