Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-11-08 Thread Thomas Monjalon
09/11/2021 07:42, Gregory Etelson: > Hello Thomas, > > > > > 28/10/2021 17:35, Burakov, Anatoly: > > > On 28-Oct-21 4:14 PM, Gregory Etelson wrote: > > > >>> - uint8_t client = 0; > > > >>> + static uint8_t client = 0; > > > > > > Acked-by: Anatoly Burakov > > > > > > checkpatch has a m

Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-11-08 Thread Thomas Monjalon
28/10/2021 17:35, Burakov, Anatoly: > On 28-Oct-21 4:14 PM, Gregory Etelson wrote: > >>> - uint8_t client = 0; > >>> + static uint8_t client = 0; > > Acked-by: Anatoly Burakov checkpatch has a message for you: ERROR:INITIALISED_STATIC: do not initialise statics to 0

Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 4:14 PM, Gregory Etelson wrote: Hello Anatoly, ..snip.. b/examples/multi_process/client_server_mp/m p_server/main.c @@ -234,7 +234,7 @@ process_packets(uint32_t port_num __rte_unused, struct rte_mbuf *pkts[], uint16_t rx_count) { uint16_t i; - uin

Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-10-28 Thread Burakov, Anatoly
On 26-Oct-21 10:50 AM, Gregory Etelson wrote: MP servers distributes RX packets between clients according to round-robin scheme. Current implementation always started packets distribution from the first client. That procedure resulted in uniform distribution in cases when RX packets number was a

[dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-10-26 Thread Gregory Etelson
MP servers distributes RX packets between clients according to round-robin scheme. Current implementation always started packets distribution from the first client. That procedure resulted in uniform distribution in cases when RX packets number was a multiple of clients number. However, if RX burs