Re: [dpdk-dev] [PATCH 04/17] vhost: make notify ops per vhost driver

2017-03-16 Thread Yuanhan Liu
On Tue, Mar 14, 2017 at 11:55:20AM +0100, Maxime Coquelin wrote: > >diff --git a/examples/tep_termination/main.c > >b/examples/tep_termination/main.c > >index 8c45128..03c0fbe 100644 > >--- a/examples/tep_termination/main.c > >+++ b/examples/tep_termination/main.c > >@@ -1258,7 +1258,8 @@ static i

Re: [dpdk-dev] [PATCH 04/17] vhost: make notify ops per vhost driver

2017-03-14 Thread Maxime Coquelin
On 03/03/2017 10:51 AM, Yuanhan Liu wrote: Assume there is an application both support vhost-user net and vhost-user scsi, the callback should be different. Making notify ops per vhost driver allow application define different set of callbacks for different driver. Signed-off-by: Yuanhan Liu

[dpdk-dev] [PATCH 04/17] vhost: make notify ops per vhost driver

2017-03-03 Thread Yuanhan Liu
Assume there is an application both support vhost-user net and vhost-user scsi, the callback should be different. Making notify ops per vhost driver allow application define different set of callbacks for different driver. Signed-off-by: Yuanhan Liu --- drivers/net/vhost/rte_eth_vhost.c | 20 +++