Hi Jason,
On 2017å03æ23æ 13:34, Jason Wang wrote:In that case do we need other variants of "ptr_ring_consume_batched_*()" functions.
Rethink about this. It looks like -bh is not needed in this case since
Ok.+{A comment explaining why is is -bh would be helpful.
+ if (rvq->rh != rvq->rt)
+ goto out;
+
+ rvq->rh = rvq->rt = 0;
+ rvq->rt = skb_array_consume_batched_bh(rvq->rx_array, rvq->rxq,
+ VHOST_RX_BATCH);
Thanks
no consumer run in bh.
Are we planning to use them in future?
Thanks