Quantcast
Channel: Embedded Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 3032

Questions about dpdk kni example

$
0
0

Hi everyone,

 

 

While running the DPDK 17.02 kni sample application,I found machine can not surf the Internet but ping other LAN machines is ok.

 

 

My Env:

  CentOS 7.2 x86_64

  gcc version 4.8.5

  Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz  (24 core)

  Intel Corporation Ethernet Controller 10-Gigabit X540-AT2

 

 

I did the following:

1. Bind nic with DPDK driver successfully.

2. insmod rte_kni.ko

3. Start the kni application

./build/kni -c 0x3 -n 2 -- -P -p 0x1 --config '(0,0,1)'

4. Assign the ip address to vEth0

ifconfig vEth0 192.168.44.129 netmask 255.255.255.0

5. Assign the MAC address to vEth0

 

 

I would like to know whether kni sample can ping the Internet ok, if not, how should I use of dpdk with kni?

 

 

Thanks

Aland


Viewing all articles
Browse latest Browse all 3032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>