qcacmn: Support none 4k page size kernel
DP uses multi page allocation for tx/rx descriptor. ID and offset mask of decriptor is based on 4096 which couples with Kernel's MMU PAGE_SIZE. This cause trouble when deploy driver on none-4K page size kernel. Set qdf_dp_blockmem_size to 4096 so that DP won't depend on kernel page size. Change-Id: I17f5c10b394e8709e6b4b153f3dd094cf792787f CRs-Fixed: 3235246
此提交包含在:
@@ -49,9 +49,10 @@
|
||||
*/
|
||||
QDF_COMPILE_TIME_ASSERT(dp_tx_desc_size,
|
||||
((sizeof(struct dp_tx_desc_s)) <=
|
||||
(PAGE_SIZE >> DP_TX_DESC_ID_PAGE_OS)) &&
|
||||
(DP_BLOCKMEM_SIZE >> DP_TX_DESC_ID_PAGE_OS)) &&
|
||||
((sizeof(struct dp_tx_desc_s)) >
|
||||
(PAGE_SIZE >> (DP_TX_DESC_ID_PAGE_OS + 1))));
|
||||
(DP_BLOCKMEM_SIZE >> (DP_TX_DESC_ID_PAGE_OS + 1)))
|
||||
);
|
||||
|
||||
#ifdef QCA_LL_TX_FLOW_CONTROL_V2
|
||||
#define TX_DESC_LOCK_CREATE(lock)
|
||||
|
新增問題並參考
封鎖使用者