Re: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-10-17 Thread Andrew Rybchenko
Subject: Re: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process 在 2022/9/6 22:53, Peng Zhang 写道: Primary process could set up queues state correctly when starting port, while secondary process not. Under multi-process scenario, "stream_init" function would get wr

RE: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-10-14 Thread Zhou, YidingX
> > > + if (rte_eal_process_type() != RTE_PROC_PRIMARY) { > > + struct fwd_stream *fs = fwd_streams[i]; > > + struct rte_eth_dev_data *dev_rx_data, > *dev_tx_data; > > + > > + dev_rx_data = (&rte_eth_de

Re: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-10-12 Thread Stephen Hemminger
On Tue, 6 Sep 2022 22:53:10 +0800 Peng Zhang wrote: > + if (rte_eal_process_type() != RTE_PROC_PRIMARY) { > + struct fwd_stream *fs = fwd_streams[i]; > + struct rte_eth_dev_data *dev_rx_data, > *dev_tx_data; > + > +

RE: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-10-12 Thread Zhou, YidingX
Hi > -Original Message- > From: Zhou, YidingX > Sent: Thursday, September 29, 2022 9:58 AM > To: Zhang, Peng1X ; lihuisong (C) > ; dev@dpdk.org; andrew.rybche...@oktetlabs.ru > Cc: Singh, Aman Deep ; Zhang, Yuying > > Subject: RE: [PATCH v3] app/testpmd: fix i

RE: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-09-28 Thread Zhou, YidingX
> > > Primary process could set up queues state correctly when starting > > > port, while secondary process not. Under multi-process scenario, > > "stream_init" > > > function would get wrong queues state for secondary process. > > > > > > This commit is to get queues state from ethdev which is loc

RE: [PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-09-10 Thread Zhang, Peng1X
> -Original Message- > From: lihuisong (C) > Sent: Wednesday, September 7, 2022 9:53 AM > To: Zhang, Peng1X ; dev@dpdk.org > Cc: andrew.rybche...@oktetlabs.ru; Singh, Aman Deep > ; Zhang, Yuying ; > sta...@dpdk.org > Subject: Re: [PATCH v3] app/testpmd: fix i

[PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-09-06 Thread Peng Zhang
Primary process could set up queues state correctly when starting port, while secondary process not. Under multi-process scenario, "stream_init" function would get wrong queues state for secondary process. This commit is to get queues state from ethdev which is located in shared memory. Fixes: 3c