From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=FU4SZmmrS9/KiEqm63BOH5rZIwtvX9rezMbqdvMjiyM=; b=GDu3R7CBX2lCGOP47ftBfuZJ/lLKnCrbjFD23TKXrJquzVKaOC+n+LQCV+3uTcVW5w fKXgu3rwWWioScHQRle4biNr58dF4eXPah0oMz7MxWc8o89mnc0qdvftLzF4mMMvd4Q9 IN7VJmMN7yPWJES+a+MAWeORMK+TJr9KOZsf5ZDmHTN1uJtSSrJW8XU9R83BthvQ9Jm8 1EDjkCxmjFrClJPlgcNoFdiTwSYoR3e6EIWy8VRtU/A6A/1Fb/y2EQ25QDpcgMjvdpb0 /QyY21/C0/7u3jfOrtl5aVExbRL4smj5BPGVzRfOEE+vUydCFKpUIt2c5SoI/b0LOsXy t8YA== 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=FU4SZmmrS9/KiEqm63BOH5rZIwtvX9rezMbqdvMjiyM=; b=NwJviO9TrylUNoLlMDiTsT2YZvL85nTpUNUUgVC8QMtvWFX7tARcXVDmEkJjw1ZoAR 9iMi1SBtRb8Bx73JVrXFK+IELYGp21/x6NjeZAsvX8m2+7AY4VbSDszjQlJcrrXCGnzZ h6ZkkH+l0XjzdcTgM51khTApG1H+g/IXiMIcLFyfrzbw7JTHYCraNzVo0wfs3Qws58Lg UAkoKEBZbXGB6V8I/8E+ErEXgSPnZLDhboqKqPFwxdG0Zh+AVTCV3aprXGpL5HeiuRgJ EIwJZzbOt2G0kl0dvV+lJEfPn5lsGs+fdNceUdTtQwSgar5faml9KjcWJhA8jRYb6+Qr 8tGA== X-Gm-Message-State: ALyK8tL95mp6fY9jMTJM0jCcS9OJMiZeJDLHcxnderSPiZuHGiRF0pZ3tS3OxPcSvSfan8xX X-Received: by 10.28.46.129 with SMTP id u123mr14236796wmu.19.1468243096035; Mon, 11 Jul 2016 06:18:16 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id p191sm5762526wme.7.2016.07.11.06.18.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 06:18:15 -0700 (PDT) From: Thomas Monjalon To: Wenzhuo Lu Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com Date: Mon, 11 Jul 2016 15:18:11 +0200 Message-ID: <6555354.y6J05FPVCA@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468225758-13466-1-git-send-email-wenzhuo.lu@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: bypass code cleanup 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: Mon, 11 Jul 2016 13:18:16 -0000 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