commit | 705149946b71ac5477a9ccb97c74b442f888f048 | [log] [tgz] |
---|---|---|
author | Mohit Khanna <mkhannaqca@codeaurora.org> | Mon Nov 12 18:39:03 2018 -0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Sat Dec 15 10:07:15 2018 -0800 |
tree | 6942ada2dc0eee5ad021a699a77c2a4fbc4e669e | |
parent | 96e363387458f7626ed7b391f12da31ee4f0598c [diff] |
qcacmn: Fix large RX desc pool memory allocation During dp_rx_pdev_attach and dp_rx_pdev_mon_buf_attach we are allocating three times as many rx descriptors as there are entries in the ring for AP usecase. This is not needed for MCL and may need to kmalloc failures for allocating that much contiguous memory Allocate only as many RX descriptors as there are ring entries for MCL usecase. Change-Id: I8b559a85c3899bcbdc520e71ba5da409314db160 CRs-Fixed: 2342957