Re: [dpdk-dev] [PATCH] lib/librte_vhost: mov enum definition from PMD to lib

2018-01-18 Thread Yuanhan Liu
On Fri, Jan 12, 2018 at 04:12:12PM +0800, Zhiyong Yang wrote: > The enum definition is placed in librte_vhost in order to avoid many > duplication definitions in PMD and example code everywhere. I moved them out from rte_vhost.h on purpose, for they are virtio-net specific while this library is no

[dpdk-dev] [PATCH] lib/librte_vhost: mov enum definition from PMD to lib

2018-01-12 Thread Zhiyong Yang
The enum definition is placed in librte_vhost in order to avoid many duplication definitions in PMD and example code everywhere. Signed-off-by: Zhiyong Yang --- drivers/net/vhost/rte_eth_vhost.c | 2 -- examples/tep_termination/main.h | 2 -- examples/vhost/main.h | 2 -- lib/librt