[dpdk-dev] Crash when 'ifconfig vEth0 X.X.X.X'

Hyun Yoo easetheworld at gmail.com
Sun Aug 9 23:50:31 CEST 2015


After kni, I want to wake vEth0 up automatically.
so, I executed 'ifconfig vEth0 X.X.X.X' programatically with various ways.

A) put system('ifconfig...)' right after check_all_ports_link_status() in
main()  examples/kni/main.c
B) put system('ifconfig...)' in callback using
rte_eth_dev_callback_register().
C) in shell script,
    examples/kni/build/kni &
    for loop
          ifconfig ...

In either ways, linux crashes sometimes.
No keyboard, mouse works. I have to reboot.
There was usually no error message but once time I saw something about irq
balance...
It seems ifconfig shouldn't be run right after(or before) link is up, maybe.

Has anyone experienced the same?

I'm using DPDK 2.0.0 on RHEL 6.5 (kernel 2.6.32).


More information about the dev mailing list