From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] app/testpmd: bypass code cleanup Date: Mon, 11 Jul 2016 15:18:11 +0200 Message-ID: <6555354.y6J05FPVCA@xps13> References: <1468218079-8064-1-git-send-email-wenzhuo.lu@intel.com> <1468225758-13466-1-git-send-email-wenzhuo.lu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com To: Wenzhuo Lu Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 546AE2B91 for ; Mon, 11 Jul 2016 15:18:16 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id r190so19285134wmr.0 for ; Mon, 11 Jul 2016 06:18:16 -0700 (PDT) In-Reply-To: <1468225758-13466-1-git-send-email-wenzhuo.lu@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-07-11 16:29, Wenzhuo Lu: > In testpmd code, device id is used directly to check if bypass > is supported. But APP should not know the details of HW, the NIC > specific info should not be exposed here. > As every bypass API does know if it's supported, no need to check > that at first. So, this patch removes the *bypass_is_supported*. > > Suggested-by: Jingjing Wu > Signed-off-by: Wenzhuo Lu Applied, thanks