From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A667A0032 for ; Tue, 16 Nov 2021 16:08:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CFDD426E2; Tue, 16 Nov 2021 16:08:15 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 6B23C426D2 for ; Tue, 16 Nov 2021 16:08:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637075292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8IHTNs2jZtq6/dbrNbfzmPVh4I1mckB7qFAcWaIZq/w=; b=MJysUUvHAKJtfbekLDZKzDxxALQRtJLKuhToOC4lZudktpWFLhdxAJVq24OPfAVHxU79Mc mMjYV12OMDAhZMmvnBPuRKaEHvKCu2IrqXABMg1VmLQ6kCmvPLOHMqODqrlFnl85AdGCol ARp+r/KtIrjvClzxO/rpjARSuzRPmC4= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-563-80aPehuDNmafdkCiimx8Ug-1; Tue, 16 Nov 2021 10:08:11 -0500 X-MC-Unique: 80aPehuDNmafdkCiimx8Ug-1 Received: by mail-lf1-f71.google.com with SMTP id bp10-20020a056512158a00b0040376f60e35so8310168lfb.8 for ; Tue, 16 Nov 2021 07:08:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8IHTNs2jZtq6/dbrNbfzmPVh4I1mckB7qFAcWaIZq/w=; b=mTuXLSEqfLbpKJJplevaNZiX8a+Y5gxmZAMOU9CUrMQ/hq9+YBEvY0f1wnOw6bVF7T wGJ/I+tcJImC1mlLpYEsCxyw3uJOn5ttXhSZ5ggNiZ54LiT8qSajdbcf27ogMTYKSR0p LcmVIHk61cfDlCIV5lg9PsPy2I6GKMdQVl3kWgljkA4KVJakGZ3NuAgR/PyFXSaBTKzn 74gUhgzU4iMXdu0GVD4Lov7BuUpqInWupgQH/ygZyn+HsSF4hVTPKKKHX6iQ36hlR6Pw Jxe+u11N4SsV3GHYU5yqp7LzvDEOhkoD0EJvcF54VyduWubFPDNPEYFXwszXGwyW+12/ FkAg== X-Gm-Message-State: AOAM530l85Qcpu0GJ8unyhl/Mg5XpSSsvzwZl4UY80mPhadvq/7iq4Dg ZHodShatQN6Rh2mqIeXj+swA6yBYHbEPk+GmsyhIL+FBwaO3y/QBgWJsPJgNsKDbShAFv/z0Baj vYmJjrFMjm/TIrGjMPDIbIIA= X-Received: by 2002:a2e:96c2:: with SMTP id d2mr7790467ljj.46.1637075288777; Tue, 16 Nov 2021 07:08:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXNcq2B//19hBx8A1PolOsDC+g6Pp6vRKT3e/+LJwiwjpe0co1CmAnOjRVCCLTBe0Vpbbj4cAJl8dk1lxEup4= X-Received: by 2002:a2e:96c2:: with SMTP id d2mr7790215ljj.46.1637075287326; Tue, 16 Nov 2021 07:08:07 -0800 (PST) MIME-Version: 1.0 References: <20211026095037.17557-1-getelson@nvidia.com> <20211110165800.11018-1-getelson@nvidia.com> In-Reply-To: <20211110165800.11018-1-getelson@nvidia.com> From: David Marchand Date: Tue, 16 Nov 2021 16:07:56 +0100 Message-ID: Subject: Re: [PATCH v4] examples/multi_process: fix Rx packets distribution To: Gregory Etelson Cc: dev , Matan Azrad , Raslan Darawsheh , Thomas Monjalon , dpdk stable , Anatoly Burakov Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Wed, Nov 10, 2021 at 5:58 PM 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 around clients number > multiplication. However, if RX burst repeatedly returned single > packet, round-robin scheme would not work because all packets > were assigned to the first client only. > > The patch does not restart packets distribution from > the first client. > Packets distribution always continues to the next client. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Gregory Etelson > Acked-by: Anatoly Burakov Applied, thanks. -- David Marchand