Debug CLI commands are executed in “process” [aka cooperating multitasking 
thread] context. As such, the stack has a fixed maximum size of 65K. See 
…/src/vlib/unix/cli.c, search for “.process_log2_n_stack_bytes = 16”…

HTH… Dave

From: <[email protected]> on behalf of Alok Makhariya 
<[email protected]>
Date: Tuesday, October 9, 2018 at 3:18 AM
To: "[email protected]" <[email protected]>
Subject: [vpp-dev] Query regarding cli function handler


I am writing cli handler.
Is there any stack limit for cli function handler ?
What will happen if I define a large local variable inside function handler ?

Thanks
Alok

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10778): https://lists.fd.io/g/vpp-dev/message/10778
Mute This Topic: https://lists.fd.io/mt/27120391/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to