From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/6] testpmd: add io_retry forwarding Date: Wed, 25 May 2016 11:32:13 +0200 Message-ID: <2292380.hL3i5NyNHm@xps13> References: <1462488421-118990-1-git-send-email-zhihong.wang@intel.com> <1462488421-118990-2-git-send-email-zhihong.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, konstantin.ananyev@intel.com, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com To: Zhihong Wang Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 53B052BAB for ; Wed, 25 May 2016 11:32:15 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id n129so54943070wmn.1 for ; Wed, 25 May 2016 02:32:15 -0700 (PDT) In-Reply-To: <1462488421-118990-2-git-send-email-zhihong.wang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-05-05 18:46, Zhihong Wang: > --- a/app/test-pmd/testpmd.h > +++ b/app/test-pmd/testpmd.h > extern struct fwd_engine io_fwd_engine; > +extern struct fwd_engine io_retry_fwd_engine; > extern struct fwd_engine mac_fwd_engine; > extern struct fwd_engine mac_retry_fwd_engine; > extern struct fwd_engine mac_swap_engine; We now have 2 engines with "retry" behaviour. It is maybe the way to go, but I want to ask the question: Would it be possible to have "retry" as an engine parameter?