qcacmn: Fix stack frame overflow for dp_rx_process

dp_rx_process stack frame has grown to exceed the
stack frame size of 4096. dp_rx_deliver_to_stack_no_peer
is a big function which should not be inline. Calling it
in other function increases the stack size consumed by the
caller function a lot.

Since dp_rx_deliver_to_stack_no_peer is not called very
frequently from dp_rx_process, changing its type to non-inline
function does not hit the core rx datapath much. Hence
change dp_rx_deliver_to_stack_no_peer to a non-inline
function.

Change-Id: Ib042f74c1f5a9cbe5fd947a24f004bb2fecf1fb1
CRs-Fixed: 2636365
This commit is contained in:
Rakesh Pillai
2020-03-02 14:09:18 +05:30
committed by nshrivas
parent 252b67e048
commit f2e0f22bf7

View File

@@ -1709,7 +1709,7 @@ bool dp_is_special_data(qdf_nbuf_t nbuf)
*
* Return: None
*/
static inline
static
void dp_rx_deliver_to_stack_no_peer(struct dp_soc *soc, qdf_nbuf_t nbuf)
{
uint16_t peer_id;