Re: [dpdk-dev] [PATCH v3] vmxnet3: fix Rx deadlock

2016-12-16 Thread Yong Wang
> -Original Message- > From: Stefan Puiu [mailto:stefan.p...@gmail.com] > Sent: Friday, December 16, 2016 7:37 AM > To: dev@dpdk.org > Cc: Yong Wang ; mac_le...@yahoo.com.hk; > Stefan Puiu > Subject: [PATCH v3] vmxnet3: fix Rx deadlock > > Our use case is that we have an app that needs to

[dpdk-dev] [PATCH v3] vmxnet3: fix Rx deadlock

2016-12-16 Thread Stefan Puiu
Our use case is that we have an app that needs to keep mbufs around for a while. We've seen cases when calling vmxnet3_post_rx_bufs() from vmxet3_recv_pkts(), it might not succeed to add any mbufs to any RX descriptors (where it returns -err). Since there are no mbufs that the virtual hardware can