qcacmn: Monitor Status ring memory optimization
Memory optimization of monitor status ring by allocating buffers during replenish using alloc_skb (linux API). It creates buffer of required size rather than 4k size(dev_alloc_skb) Change-Id: I3ae5e403de28c4570f8ac3b50d3ca878a9e4b2f9 CRs-Fixed: 2733931
Šī revīzija ir iekļauta:

revīziju iesūtīja
snandini

vecāks
bd6a237677
revīzija
c4c0a179f6
@@ -40,6 +40,14 @@
|
||||
#define RX_MONITOR_BUFFER_SIZE 2048
|
||||
#endif
|
||||
|
||||
/* MONITOR STATUS BUFFER SIZE = 1536 data bytes, buffer allocation of 2k bytes
|
||||
* including skb shared info and buffer alignment.
|
||||
*/
|
||||
#define RX_MON_STATUS_BASE_BUF_SIZE 2048
|
||||
#define RX_MON_STATUS_BUF_ALIGN 128
|
||||
#define RX_MON_STATUS_BUF_SIZE (RX_MON_STATUS_BASE_BUF_SIZE - \
|
||||
RX_MON_STATUS_BUF_ALIGN - QDF_SHINFO_SIZE)
|
||||
|
||||
/* HAL_RX_NON_QOS_TID = NON_QOS_TID which is 16 */
|
||||
#define HAL_RX_NON_QOS_TID 16
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user