On Wed, 23 Aug 2017 19:35:22 +0000
Stuart Xu <[email protected]> wrote:

> Stephen,  
> 
> Thanks for the response.  Could you point to me which example code I need to 
> look?
> 
> Regards,
> 
> --Stuart
> 
> 
> 
> On 8/23/17, 10:53 AM, "Stephen Hemminger" <[email protected]> wrote:
> 
>     On Tue, 22 Aug 2017 23:25:35 +0000
>     Stuart Xu <[email protected]> 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.

Reply via email to