[dpdk-users] [EXT] Re: How to identify a network port which is bound to DPDK

Stuart Xu Stuart_Xu at symantec.com
Thu Aug 24 18:22:31 CEST 2017


Thanks a lot,

--Stuart


On 8/23/17, 2:29 PM, "Stephen Hemminger" <stephen at networkplumber.org> wrote:

    On Wed, 23 Aug 2017 19:35:22 +0000
    Stuart Xu <Stuart_Xu at symantec.com> 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" <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 mailing list