Thread (14 messages) 14 messages, 5 authors, 2021-01-29

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] app/testpmd: avoid exit without terminal restore

From: Ferruh Yigit <hidden>
Date: 2021-01-29 10:47:07

On 1/26/2021 8:24 AM, Li, Xiaoyun wrote:

<...>
quoted
quoted
From: Dapeng Yu <redacted>

In interactive mode, if testpmd exit by calling rte_exit without
restore terminal attributes, terminal will not echo keyboard input.

register a function with atexit() in prompt(), when exit() in
rte_exit() is called, the registered function restores terminal attributes.

Fixes: 5a8fb55c48ab ("app/testpmd: support unidirectional
configuration")
Cc: stable@dpdk.org

Signed-off-by: Dapeng Yu <redacted>
 >
Acked-by: Xiaoyun Li <redacted>
Applied to dpdk-next-net/main, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help