> From: huawei.xie at intel.com > To: huawei.xie at intel.com; dev at dpdk.org > Date: Thu, 5 Nov 2015 10:21:41 +0000 > CC: haifeng.lin at intel.com; ann.zhuangyanying at huawei.com > Subject: Re: [dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue to virt > ring > > If no objections, would remove the internal cmpset enqueue, should get > some improved performance. I think it is good.The vhost sample also need some changes for this modification.do we have the percentage of gaining when removing the lock?
thanks and regards,Changchun > > No idea why commit message is lost: > DPDK doesn't support receiving/transmitting packets from/to the same > port/queue. > Vhost pmd wraps vhost device as normal dpdk port. dpdkvhost based > applications/switch > also treate virtio port and physical port both as ports, and have > their own > lock implmentation when to enqueue packets to the same port. This patch > removes > the internal lockless vhost enqueue implmentation. > On 11/5/2015 5:38 PM, Huawei Xie wrote: > > Signed-off-by: Huawei Xie <huawei.xie at intel.com> >