DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Receive packet one by one instead of a bulk of 16
@ 2013-09-16 12:19 dvr
  0 siblings, 0 replies; only message in thread
From: dvr @ 2013-09-16 12:19 UTC (permalink / raw)
  To: dev

hi all,


    In "testpmd", the default nb_pkt_per_burst value is 16, that is, receive 16 packets one time and then forward.
    Now, I set nb_pkt_per_burst=1, and after the packet received, delay 50us, because I have to add some packet processing steps between receive and transmit. However, in this situation, I lost 20% packets. How could this happen? And what should I do to have an effect?
    Any help will be appreciated.


Best Regards.
Maria
From thomas.monjalon@6wind.com  Mon Sep 16 15:08:25 2013
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com
 [209.85.214.46]) by dpdk.org (Postfix) with ESMTP id C2595688F
 for <dev@dpdk.org>; Mon, 16 Sep 2013 15:08:24 +0200 (CEST)
Received: by mail-bk0-f46.google.com with SMTP id 6so1487333bkj.5
 for <dev@dpdk.org>; Mon, 16 Sep 2013 06:09:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:organization:to:subject:date:user-agent
 :references:in-reply-to:cc:mime-version:content-type
 :content-transfer-encoding:message-id;
 bh=Oh2vfpNGy9yBIymmlBdS4KqP7GjBf7XCprzAA69Vr9M=;
 b=JmNyAszBInzSl3LjCdIoOmG5wb14wXaouNneLcaxR9/QOg4keSgtm2fYK0S45rjJrR
 fL2lL2FmC0qTIsFXnmTXHxpcKj45AO/LvF+y0kPnu3qG+zipad92Uw8IfTl+2tjMEWwR
 KTCPu+rT6llPgnhl916n/z0Atqj0IrKLq7/ElvGWEiu8+658v1oRlFaE6pE9jKNK/QVe
 qjsswxeaQcvHi4nUfeJvyVJX/kBVsOCv3HVKH9WcYH4Oo/LVVq+t5QU0SL7Rhnka/IVg
 IQCxRSyHtsxHNpk1NYIizKjiL6DTE3ZInWiaODFRAdH+VohsUYTavNrInY9wu6kaRndW
 Dskw==
X-Gm-Message-State: ALoCoQkzd4xZ7cHJWjLsfbQCPw06BI70vmQQxo76fX1WNxCwe96SxgPcgYxfb4m9lkvaIx4XDneu
X-Received: by 10.204.102.136 with SMTP id g8mr1782422bko.34.1379336942514;
 Mon, 16 Sep 2013 06:09:02 -0700 (PDT)
Received: from angus.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by mx.google.com with ESMTPSA id ku9sm7596946bkb.1.1969.12.31.16.00.00
 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 16 Sep 2013 06:09:02 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
Organization: 6WIND
To: nicolas.dichtel@6wind.com
Date: Mon, 16 Sep 2013 15:09:00 +0200
User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )
References: <cover.1375101416.git.thomas.monjalon@6wind.com>
 <95c752508913ea02f74b36c53eb7d5ae88a29dc0.1379081595.git.thomas.monjalon@6wind.com>
 <5236E9C7.5050502@6wind.com>
In-Reply-To: <5236E9C7.5050502@6wind.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <201309161509.01110.thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2 1/4] kni: fix build with kernel 3.8
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <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: Mon, 16 Sep 2013 13:08:25 -0000

16/09/2013 13:21, Nicolas Dichtel :
> Le 13/09/2013 16:14, Thomas Monjalon a =E9crit :
> > - timecompare (used for hardware timestamping) has been removed.
> > (see Linux commit 65f8f9a1c1db831e5159e3e3e50912d1f214cd0c)
> > Simply disable HW_TIME_STAMP feature because it is not used by KNI.
> > For this purpose, kcompat.h must be included before testing for
> > HAVE_HW_TIME_STAMP.
> >=20
> > - annotations __devinit and __devexit have been removed.
> > (see Linux commit 54b956b903607f8f8878754dd4352da6a54a1da2)
> >=20
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> > Tested-by: David Nystr=F6m <david.c.nystrom@gmail.com>
>=20
> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

pushed, thanks for the review

=2D-=20
Thomas

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-16 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-16 12:19 [dpdk-dev] Receive packet one by one instead of a bulk of 16 dvr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).