On Tue, Jun 30, 2015 at 05:50:14PM -0700, Gopakumar Choorakkot Edakkunni wrote: > So update on this. Summary is that its purely my fault, apologies for > prematurely suspecting the wrong areas. Details below > > 1. So my AWS box had an eth0 interface without DPDK, I enabled dpdk > AND created a KNI interface also AND named the KNI interface to be > eth0 > > 2. So Ubuntu started its dhcpclient on that interface, but my app > doesnt really do anything do read the dhcp (renews) from the KNI and > send it out the physical port and vice versa .. The kni was just > sitting there not doing much of Rx/Tx > > 3. Now my l2fwd-equivalent code started working fine, after a few > minutes, the dhcp client on ubuntu gave up attempting dhcp renew (eth0 > already had an IP) and attempted to take off the IP from eth0 > > 4. At this point the standard KNI examples in dpdk which has callbacks > registered, ended up being invoked - and the examples have a > port_stop() and a port_start() in them - and exactly at this point my > app crashed > > So my bad! I just no-oped the callbacks for now and changed AWS eht0 > from dhcp to static IP and this are fine now ! My system has been up > for long with no issues. > > Thanks again Thomas and Bruce for the quick response and suggestions > No problem. Thanks for letting us know that this was resolved.
Regards, /Bruce