[dpdk-users] [EXT] Re: How to identify a network port which is bound to DPDK
stephen at networkplumber.org
Wed Aug 23 22:29:03 CEST 2017
On Wed, 23 Aug 2017 19:35:22 +0000
Stuart Xu <Stuart_Xu at symantec.com> wrote:
> Thanks for the response. Could you point to me which example code I need to look?
> On 8/23/17, 10:53 AM, "Stephen Hemminger" <stephen at networkplumber.org> wrote:
> On Tue, 22 Aug 2017 23:25:35 +0000
> Stuart Xu <Stuart_Xu at symantec.com> wrote:
> > Hi, I understand that the DPDK uses port_id to identify an Ethernet port. Is there a shell command to show a port’s status, such as link status and port ID etc. For non-DPDK bound port I can use tools like “ifconfig”. Does DPDK provide an “ifconfig” equivalent tool to check a port status?
> DPDK network interfaces are not visible or controlled by kernel.
> There are some ways to expose them i.e through KNI and some other proposed code.
Read about KNI. but if all you want is port status, then it would be overkill.
More information about the users