From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by dpdk.org (Postfix) with ESMTP id F18E87D4F for ; Wed, 23 Aug 2017 22:29:11 +0200 (CEST) Received: by mail-pg0-f41.google.com with SMTP id m133so4779688pga.5 for ; Wed, 23 Aug 2017 13:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g5G1emkJf7e5E8N3isHddeySqFKo/cLmyFPkGTbYNfc=; b=A0Aunp2Y7XHRpIXapGByEQt+I5yiJBPh6jI9dzK0H5FwEi6hfdGJ9SnNC7V3VejNsy xhlXKcBZq8XOl76YmV4a+R6aIUOtB2hEKZ/gtGrywU4yCnH5W9rOUIfYkzD/KqS1p1fj dg4wv9KfDiSwnro0VQiOWxkkxCIRI9vVXWJF3tzypw0omYwA/77GHTZ7T72J2pLY5iEs CSYBVw4VBA+r4h7AsSjQTcH43Qmc6hHyvHDSfI8M7PpWeBrUrrqBsqQT2TxJGnW7nbJm uT1cRluvema9cwDSYVaKlJQgWSNTbBDi6xpY+LV1UZLEoh2LtM4sAgfTAPRq08E7KndY RMDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=g5G1emkJf7e5E8N3isHddeySqFKo/cLmyFPkGTbYNfc=; b=rOxAkKLDicuaUhrcNl/fqplTd4pjxfVn6H7Tnf00ZgTsYZHaBrS94I7lsGhAvi2YTS nHZi0XgTa1licglGbu3laGnPN/Z9gLswHhRMzSJFMBR5gwUcdBgmiggBDsJl32NtSniO +IMWUA/16Gg6k8VMe/CzONh85b9XA0bOZcAO5YYbJcNuyCIRWFST61Snomg8tbHgQz0t SmYf+RmIcP0uGWDygmrPua2Bo18X6P4dmISC++ZAh4eNweS7sGdJ+WHK7DO7Dlfb3W2r pE0dygof59Q/cJLfP7QPkKgPqLnl2zTv1pjYxXQ1GGNMTuVpuaW2CWiXN3SU4AnTeNvA iJ7g== X-Gm-Message-State: AHYfb5hxyRpk/oPuggvG3B1nnFvAm4KwACjhLRszBrmPpy8koSPl6s/3 FEO0qsletIJ+45aJHuVkhA== X-Received: by 10.98.137.81 with SMTP id v78mr4090256pfd.150.1503520151204; Wed, 23 Aug 2017 13:29:11 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id c80sm5191421pfj.26.2017.08.23.13.29.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Aug 2017 13:29:11 -0700 (PDT) Date: Wed, 23 Aug 2017 13:29:03 -0700 From: Stephen Hemminger To: Stuart Xu Cc: "users@dpdk.org" Message-ID: <20170823132903.7d481893@xeon-e3> In-Reply-To: <81CBEFD8-70D6-490B-949B-44A6AC68E924@symantec.com> References: <20170823095357.581a6ccc@xeon-e3> <81CBEFD8-70D6-490B-949B-44A6AC68E924@symantec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] [EXT] Re: How to identify a network port which is bound to DPDK X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 20:29:12 -0000 On Wed, 23 Aug 2017 19:35:22 +0000 Stuart Xu wrote: > Stephen, =20 >=20 > Thanks for the response. Could you point to me which example code I need= to look? >=20 > Regards, >=20 > --Stuart >=20 >=20 >=20 > On 8/23/17, 10:53 AM, "Stephen Hemminger" wr= ote: >=20 > On Tue, 22 Aug 2017 23:25:35 +0000 > Stuart Xu wrote: > =20 > > Hi, I understand that the DPDK uses port_id to identify an Ethernet= port. Is there a shell command to show a port=E2=80=99s status, such as l= ink status and port ID etc. For non-DPDK bound port I can use tools like = =E2=80=9Cifconfig=E2=80=9D. Does DPDK provide an =E2=80=9Cifconfig=E2=80= =9D equivalent tool to check a port status? > > =20 > =20 > DPDK network interfaces are not visible or controlled by kernel. > There are some ways to expose them i.e through KNI and some other pro= posed code. > =20 Read about KNI. but if all you want is port status, then it would be overki= ll.