> -----Original Message-----
> From: Ma, WenwuX <[email protected]>
> Sent: Tuesday, September 7, 2021 4:49 AM
> To: [email protected]
> Cc: [email protected]; Xia, Chenbo <[email protected]>;
> Jiang, Cheng1 <[email protected]>; Hu, Jiayu <[email protected]>;
> Pai G, Sunil <[email protected]>; Yang, YvonneX
> <[email protected]>; Ma, WenwuX <[email protected]>
> Subject: [PATCH 2/4] examples/vhost: refactor vhost enqueue and dequeue
> datapaths
> 
> Previously, by judging the flag, we call different enqueue/dequeue functions
> in data path.
> 
> Now, we use an ops that was initialized when Vhost was created, so that we
> can call ops directly in Vhost data path without any more flag judgment.
> 
> Signed-off-by: Wenwu Ma <[email protected]>
> Reviewed-by: Maxime Coquelin <[email protected]>
> ---
>  examples/vhost/main.c       | 100 +++++++++++++++++++++---------------
>  examples/vhost/main.h       |  31 +++++++++--
>  examples/vhost/virtio_net.c |  16 +++++-
>  3 files changed, 101 insertions(+), 46 deletions(-)
> 

Tested-by: Yvonne Yang <[email protected]>

Reply via email to