-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating dedicated memory pools for data and control traffic #78588
base: main
Are you sure you want to change the base?
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
b162373
to
23d6eea
Compare
23d6eea
to
073e311
Compare
modules/nrf_wifi/os/shim.c
Outdated
|
||
struct zep_shim_intr_priv *intr_priv; | ||
|
||
static void *zep_shim_mem_alloc(size_t size) | ||
{ | ||
size_t size_aligned = ROUND_UP(size, 4); | ||
size = (size + 4) & 0xfffffffc; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use the ROUND_UP macro here and below?
ad272f6
to
0201f96
Compare
Create dedicated memory pools for Wi-Fi management and data operations (defaults: 20KB for management and 130KB for data). Remove the `HEAP_MEM_POOL_ADD_SIZE_NRF70` hint since we are creating separate heaps for driver and not allocating from system heap. Signed-off-by: Ravi Dondaputi <[email protected]>
Pull changes for creating separate memory pools for control traffic and data traffic. Signed-off-by: Ravi Dondaputi <[email protected]>
0201f96
to
8dae35d
Compare
@@ -535,6 +529,16 @@ config NRF70_RSSI_STALE_TIMEOUT_MS | |||
|
|||
if NETWORKING | |||
# Finetune defaults for certain system components used by the driver | |||
|
|||
config NRF_WIFI_CTRL_HEAP_SIZE | |||
int "Dedicated memory pool for control path" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int "Dedicated memory pool for control path" | |
int "Dedicated memory pool for control plane" |
Create dedicated memory pools for Wi-Fi management and
data operations