[dpdk-dev] [PATCH] vhost: add device opr when notification to guest is sent

Maxime Coquelin maxime.coquelin at redhat.com
Fri Sep 6 18:27:46 CEST 2019


Hi Eelco,

On 8/28/19 4:49 PM, Eelco Chaudron wrote:
> This patch adds an operation callback which gets called every time
> the library is waking up the guest trough an eventfd_write() call.
> 
> This can be used by 3rd party application, like OVS, to track the
> number of times interrupts where generated. This might be of
> interest to find out system-call were called in the fast path.
> 
> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
> ---
>  lib/librte_vhost/rte_vhost.h | 10 +++++++++-
>  lib/librte_vhost/vhost.h     | 15 ++++++++++++---
>  2 files changed, 21 insertions(+), 4 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks!
Maxime



More information about the dev mailing list