Re: [dpdk-dev] [PATCH v2 06/16] vhost: rename flush shadow used ring functions

2019-09-22 Thread Tiwei Bie
On Fri, Sep 20, 2019 at 12:36:33AM +0800, Marvin Liu wrote: > Simplify flush shadow used ring function names as all shadow rings are > reflect to used rings. No need to emphasize ring type. I think the old name "flush_shadow_used_ring" is more readable than the new name "flush_shadow". In the new

[dpdk-dev] [PATCH v2 06/16] vhost: rename flush shadow used ring functions

2019-09-19 Thread Marvin Liu
Simplify flush shadow used ring function names as all shadow rings are reflect to used rings. No need to emphasize ring type. Signed-off-by: Marvin Liu diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 23c0f4685..ebd6c175d 100644 --- a/lib/librte_vhost/virtio_net.c