[dpdk-dev] vmxnet3 pmd dev restart

2014-10-26 Thread Navakanth M
Thanks a lot guys for your support. I have tried the patch by Yong Wang, stop and start functions are working fine with out any crash. I have noticed that tx/rx stats are being reset to 0. I am not sure if this is valid behavior as we do not reset stats to 0 when we do ifconfig down and ifconfig up

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-13 Thread Patel, Rashmin N
Waterman/Navakanth, we've got some patches posted for the same by Yong Wang at VMware. I haven't got the chance to look at it but if you can validate it, it'd be great. Thanks, Rashmin -Original Message- From: Navakanth M [mailto:navakanth...@gmail.com] Sent: Sunday, October 12, 2014 8

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-13 Thread Navakanth M
Hi Rashmin I have tried the memset change but still I am facing the problem which I pointed out earlier. After restart, packets are not being received in vmxnet3_recv_pkts(). I have also observed PANIC in vmxnet3_tq_tx_complete() after couple of stop and start operations. PANIC in vmxnet3_tq_tx_c

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-10 Thread Cao, Waterman
Hi Rashmin, We found similar issue when we start/stop vmnet dev several time. (> 3 times) It happens kernel panic, and sometimes kernel will occur core dump. Let me know if you want to submit patch to fix it. Thanks Waterman -Original Message- >From: Patel, Rashmin N >Sent: Friday,

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-09 Thread Patel, Rashmin N
I just quickly looked into the code and instead of releasing memory or simply set it to NULL (patch: http://thread.gmane.org/gmane.comp.networking.dpdk.devel/4683), you can zero it out and it should work perfectly, you can give it a quick try. //rte_free(ring->buf_info); memset(ring->buf_info,

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-09 Thread Navakanth M
I had tried with Stephen's patch but after stop is done and when we call start it crashed at vmxnet3_dev_start()-> vmxnet3_dev_rxtx_init()->vmxnet3_post_rx_bufs() as buf_info is freed and is not allocated again. buf_info is allocated in vmxnet3_dev_rx_queue_setup() which would be called once at the

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-08 Thread Patel, Rashmin N
Yes I had a local copy working with couple of lines fix. But someone else, I think Stephen added a fix patch for the same, and I assume if it's been merged, should be working, so did not follow up later. I don't have a VMware setup handy at moment but I think Waterman would have more informati

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-08 Thread Navakanth M
Hi Rashmin I have come across your reply in following post that you have worked on this problem and would submit the patch for it. Can you please share information on the changes you worked on or patch log if you had submitted any for it? http://thread.gmane.org/gmane.comp.networking.dpdk.devel/46

[dpdk-dev] vmxnet3 pmd dev restart

2014-09-30 Thread Navakanth M
Hi I am using DPDKv1.7.0 running on Vmware Esxi 5.1 and am trying to reset the port which uses pmd_vmnet3 library functions from below function calls. rte_eth_dev_stop rte_eth_dev_start Doing this, i face panic while rte_free(ring->buf_info) in Vmxnet3_cmd_ring_release(). I have gone through foll