If an invalid TX queue is configured from testpmd command
like "port config all txq number", the global variable txq
is updated by this invalid value. It may cause testpmd crash.
This patch restores its last correct value when an invalid
txq number configured is detected.
Fixes: ce8d561418d4 ("app
pdk.org] On Behalf Of Wei Dai
> Sent: Wednesday, January 10, 2018 12:14 PM
> To: Lu, Wenzhuo ; Wu, Jingjing
> ; Peng, Yuan ; Ananyev,
> Konstantin
> Cc: dev@dpdk.org; sta...@dpdk.org; Dai, Wei
> Subject: [dpdk-dev] [PATCH v2 2/2] app/testpmd: fix invalid txq number setting
&
i Dai
> > Sent: Wednesday, January 10, 2018 12:14 PM
> > To: Lu, Wenzhuo ; Wu, Jingjing
> > ; Peng, Yuan ; Ananyev,
> > Konstantin
> > Cc: dev@dpdk.org; sta...@dpdk.org; Dai, Wei
> > Subject: [dpdk-dev] [PATCH v2 2/2] app/testpmd: fix invalid txq number
> &
3 matches
Mail list logo