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
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
1705770b9f
commit
53537c67e1
@@ -26,6 +26,8 @@
|
||||
|
||||
#define DP_PEER_WDS_COUNT_INVALID UINT_MAX
|
||||
|
||||
#define DP_BLOCKMEM_SIZE 4096
|
||||
|
||||
/* Alignment for consistent memory for DP rings*/
|
||||
#define DP_RING_BASE_ALIGN 32
|
||||
|
||||
|
Reference in New Issue
Block a user