From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <aber@semihalf.com>
Received: from mail-it0-f41.google.com (mail-it0-f41.google.com
 [209.85.214.41]) by dpdk.org (Postfix) with ESMTP id 302509E3
 for <dev@dpdk.org>; Thu, 27 Apr 2017 11:36:01 +0200 (CEST)
Received: by mail-it0-f41.google.com with SMTP id x188so8056186itb.0
 for <dev@dpdk.org>; Thu, 27 Apr 2017 02:36:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=semihalf-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=SbNhArQSgEnnbNgi/kKm8OuEzkfkdyrhq2y2UGwNU8o=;
 b=zqjSq0X6R6eLhiPsOZGKMM4Z2U1taJewDtTo7gfRYXMhI5E7+TUosr6B0GmTaaS9vi
 tEt5xgidR/AhIgPxtVSGkdXZNl368U5yeaBaOypIMQBZtOehXcjN6Evc4NEIUsVZwQzX
 k27/WUKROJZRwafLsqz1f3J7H+O1wxZ7RILNfoTspmmIVmuUUd99zzjNHSjrbdZx0MVp
 CQCD4RiDOKpGZCZljaSIluoc3F7IUtsOkeN281on4OMS1+HC1W+bFYKXZ4Mh+sxcjhFx
 fOIBCWYWhf1AosChWEgacZpTRP8Mdlhe9HAhCGy0UGIqS0acIHsJpTD8EUgjfzYUmNmp
 Rn4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=SbNhArQSgEnnbNgi/kKm8OuEzkfkdyrhq2y2UGwNU8o=;
 b=MZv9PcUFGl6WZiDY2EliuzWCVqNNeYLzlIYOEXgJ2ahqW6zbb3El20BKgBzdgC9Wjx
 Y8LmWm21ZCk20bD1y9OgK7Q+S7qSxrm5Zn0UGqBTnBxewuHmneAEqobTGKzGNzMY0tro
 XbMkVvy9aYryjPFHjExwnsW3ZO3lW5KAFXXOxVcNSpgSUlVQZ6APDadKzPvQGP52b7jp
 1zT3AgRx0WJP6Qi8I2hXFx3T8oxATyE1VU6v3rgPg8+nLsucPGBMmV6OzyuchlZ6RdFm
 izcPxNE7A5urCvSFO4jfIAMZwAETApyTuolk5OgU54Zq0Wh+7ZURoos0PBHJKtMM6vx6
 RkpA==
X-Gm-Message-State: AN3rC/5VnbgwVrIlS3u0p69jd7EY05koYv0Xhet7OZH6Hvub7vLAJBfC
 fp4FPJZCtjTqhWIZn5LigSN0/48gYA==
X-Received: by 10.36.70.80 with SMTP id j77mr267831itb.20.1493285760444; Thu,
 27 Apr 2017 02:36:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.6.212 with HTTP; Thu, 27 Apr 2017 02:35:39 -0700 (PDT)
In-Reply-To: <1982394.bHk3uHp29x@xps13>
References: <2016122121181642100644@raisecom.com>
 <F5DF4F0E3AFEF648ADC1C3C33AD4DBF16EDCC97E@SHSMSX101.ccr.corp.intel.com>
 <2017011619162170012425@raisecom.com> <1982394.bHk3uHp29x@xps13>
From: Andriy Berestovskyy <aber@semihalf.com>
Date: Thu, 27 Apr 2017 11:35:39 +0200
Message-ID: <CAOysbxpOV3j7PVEW7f5hB1FJLM+u9t+kRNCZiPrxyr5UetWBFw@mail.gmail.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: Maple <liujian@raisecom.com>, DPDK <dev@dpdk.org>
Content-Type: text/plain; charset=UTF-8
Subject: Re: [dpdk-dev] [dpdk-maintainers] Example(Load_balancer) Tx Flush
 Bug(This bug DPDK each version)
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Apr 2017 09:36:01 -0000

Hey,
Those patches superseded by:
http://dpdk.org/ml/archives/dev/2017-April/064858.html

Regards,
Andriy


On Mon, Jan 16, 2017 at 3:18 PM, Thomas Monjalon
<thomas.monjalon@6wind.com> wrote:
> Hi,
>
> Sorry if you feel your patch is ignored.
> It is not in the right format for several reasons we tried
> to explain earlier I think.
> Please read carefully this doc:
>         http://dpdk.org/doc/guides/contributing/patches.html
>
>
> 2017-01-16 19:16, Maple:
>> From: Maple <liujian@raisecom.com>
>> To: <qiming.yang@intel.com>;<dev@dpdk.org>
>> Cc: <maintainers@dpdk.org>
>> Subject: [PATCH] Load_balancer Tx Flush Bug
>> Date: Mon, 16 Dec 2017 19:15:48 +0800
>> Message-Id: <1482371868-19669-1-git-send-email-liujian@raisecom.com>
>> X-Mailer: git-send-email 1.9.1
>> In-Reply-To: <2016122122394164225248@raisecom.com>
>> References: <2016122122394164225248@raisecom.com>
>>
>> We found a bug in use load_balancer example,and,This bug DPDK each version.
>> In IO tx flush, only flush port 0.
>> So,If I enable more than the Port,then,In addition to 0 port won't flush.
>>
>> Signed-off-by: Maple <liujian@raisecom.com>
>> ---
>>  a/examples/load_balancer/runtime.c | 667 ++++++++++++++++++++++++++++++++++++
>>  b/examples/load_balancer/runtime.c | 669 +++++++++++++++++++++++++++++++++++++
>>  2 files changed, 1336 insertions(+)
>>  create mode 100644 a/examples/load_balancer/runtime.c
>>  create mode 100644 b/examples/load_balancer/runtime.c
>>
>> diff --git a/examples/load_balancer/runtime.c b/examples/load_balancer/runtime.c
>> index 9612392..3a2e900 100644
>> --- a/test/a/examples/load_balancer/runtime.c
>> +++ b/test/b/examples/load_balancer/runtime.c
>> @@ -418,9 +418,11 @@ app_lcore_io_tx(
>>  static inline void
>>  app_lcore_io_tx_flush(struct app_lcore_params_io *lp)
>>  {
>> +       uint8_t i;
>>         uint8_t port;
>>
>> -       for (port = 0; port < lp->tx.n_nic_ports; port ++) {
>> +       port = lp->tx.nic_ports[0];
>> +       for (i = 0; i < lp->tx.n_nic_ports; i ++) {
>>                 uint32_t n_pkts;
>>
>>                 if (likely((lp->tx.mbuf_out_flush[port] == 0) ||
>>
>
>



-- 
Andriy Berestovskyy