[Bug 1180] TestPMD shell get stuck

Stephen Hemminger stephen at networkplumber.org
Sun Mar 12 22:39:52 CET 2023


On Sun, 12 Mar 2023 17:09:12 +0000
bugzilla at dpdk.org wrote:

> https://bugs.dpdk.org/show_bug.cgi?id=1180
> 
>             Bug ID: 1180
>            Summary: TestPMD shell get stuck
>            Product: DPDK
>            Version: unspecified
>           Hardware: x86
>                 OS: Windows
>             Status: UNCONFIRMED
>           Severity: major
>           Priority: Normal
>          Component: testpmd
>           Assignee: dev at dpdk.org
>           Reporter: pdamouny at nvidia.com
>   Target Milestone: ---
> 
> from the commit 0fd1386c30c3ad9365d7fdd2829bf7cb2e1b9dff
> 
> when entering testpmd with interactive mode 
> while writing the shell get stuck and cant enter or CTRL C
> 

IANAW  (I am not a Windows Programmer)
Is there a way to read from stdin and get interrupted if Ctrl C is hit.
On Linux, this requires doing select() then do a read() since the default
behaviour is to restart the read() on signal.


More information about the dev mailing list