> On Feb 11, 2015, at 6:07 AM, T Manikantasrinivas 
> <[email protected]> wrote:
> 
> Lets say If i want to create dpdk0 from ./bin/ifconfig utility.we are unable 
> to do it. we have gone through sample application given in drv-netif-dpdk, 
> where dpdk0 interface is being created by rump system calls, can we see this 
> interfaces with rump.ifconfig utility.
> 

Hi Manikanta,
    You should be able to create and configure a DPDK port like any other 
rumpkernel network interface.  For example: 

- using a DPDK-compatible ethernet interface already bound to igb_uio
- with a rumpkernel built with drv-netif-dpdk
- a rumprun-posix environment, configured to talk to my rumpkernel

… I can do the following:

rumpremote (unix://csock)$ ifconfig dpdk0
ifconfig: SIOCGIFFLAGS dpdk0: Device not configured
rumpremote (unix://csock)$ ifconfig dpdk0 create
rumpremote (unix://csock)$ ifconfig dpdk0
dpdk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: a0:36:9f:ca:fe:be
rumpremote (unix://csock)$ ifconfig dpdk0 10.0.0.172 netmask 255.255.255.0
rumpremote (unix://csock)$ ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 64 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=10.000000 ms
^C
rumpremote (unix://csock)$ route add default 10.0.0.1
add net default: gateway 10.0.0.1
rumpremote (unix://csock)$ ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 64 data bytes
64 bytes from 4.2.2.2: icmp_seq=0 ttl=57 time=50.000000 ms
^C
rumpremote (unix://csock)$ mkdir -p /etc && dd of=/etc/resolv.conf
nameserver 8.8.8.8
0+1 records in
0+1 records out
19 bytes transferred in 13.040 secs (1 bytes/sec)
rumpremote (unix://csock)$ ping www.rumpkernel.org
PING github.map.fastly.net (23.235.47.133): 64 data bytes
64 bytes from 23.235.47.133: icmp_seq=0 ttl=58 time=50.000000 ms
64 bytes from 23.235.47.133: icmp_seq=1 ttl=58 time=40.000000 ms
^C
rumpremote (unix://csock)$ ifconfig dpdk0 down
rumpremote (unix://csock)$ ping www.rumpkernel.org
ping: Cannot resolve "www.rumpkernel.org" (Host name lookup failure)
rumpremote (unix://csock)$ ifconfig dpdk0 up 
rumpremote (unix://csock)$ ping www.rumpkernel.org
PING github.map.fastly.net (23.235.47.133): 64 data bytes
64 bytes from 23.235.47.133: icmp_seq=0 ttl=58 time=40.000000 ms
^C
rumpremote (unix://csock)$

In future, if you’re having issues running commands, please send both the 
command and the output along with your emails.  It will help us help you debug 
your situation.

Thanks.


Alexander



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to