From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=44+GK853yWq1y9miAJo6PP6Ql45dXMLHvKWVWvbgyo8=; b=xJikSCIJdfZyaqlfRzCvEYHRDPJv9P7t5pMBwvJ9+bEhS76d/uaY5l0MOkkk3A5+9f b4AvliOQB/r2B2N/kM4e0PYsmjKiA7TSd8nTvLWRPNMNOZ3HWue5sfNKtmo/E2T9BTbm I083dxNpeBHr/uW9c4G0u2BO1QxexlKsThI6pzxfDLPeyej6pVg2Q6BzDPnbQ9NCpL+u CJzIK6yMRjk08tdRpVZc1GYU3GJIW/Yy+LP5coPdp09WqniK6xA6OglVw2qk47LD+bES wArhRNcb95uk/AXgqW0sUKMqz/S7M8Xo2wHV4qRYQ4jT98+PnKc/EhzSlJ3ao8uAjvUy qwUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=44+GK853yWq1y9miAJo6PP6Ql45dXMLHvKWVWvbgyo8=; b=HCv7S8smSYhKzCO8kLMkx8scqlEriCz+aTHfKS/waBMUn0x2m2J2/s4Y53nlqd+mJQ ubD+xgBnzSJTq/U+f4g3gL5e3UrBPoEz8PQTaZzuW4SOAmJNQirGMuGj33xoEGye4rMp 2/B0J93tp8D9orl4BI50Tp+oh9oWcQKeLcAbFFV0H46dCnay2slY4OFfZFp38CZLMba8 RCFY4enXQihpEqyJmg7r3kf7HTCJHvOhj4xMVlX34Gv5H0cVTho/AESqSLmp6lpMvFZm I47JiNjwzr+UT5lhqm6LRYIiD64rGCP4H3JSAFjK0JTTG8SFngjCM5RX9GPU359KvfQ2 bMBA== X-Gm-Message-State: ALyK8tKc6MgHxYWB981z7nXl4WNJm5mOhLkqxh2o2T9ptVrREJYP4oVK7tCKkL5cbp4m5k0B X-Received: by 10.194.117.132 with SMTP id ke4mr2651441wjb.111.1464168735082; Wed, 25 May 2016 02:32:15 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id ac2sm7725134wjc.35.2016.05.25.02.32.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2016 02:32:14 -0700 (PDT) From: Thomas Monjalon To: Zhihong Wang Cc: dev@dpdk.org, konstantin.ananyev@intel.com, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com Date: Wed, 25 May 2016 11:32:13 +0200 Message-ID: <2292380.hL3i5NyNHm@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1462488421-118990-2-git-send-email-zhihong.wang@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/6] testpmd: add io_retry forwarding X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 09:32:15 -0000 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?