Re: [ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-28 Thread Ilya Maximets
On 28.10.2019 11:14, Eelco Chaudron wrote: On 25 Oct 2019, at 17:06, Ilya Maximets wrote: On 25.10.2019 15:51, Eelco Chaudron wrote:  +static +void vhost_guest_notified(int vid) +{ +    struct netdev_dpdk *dev; + +    ovs_mutex_lock(&dpdk_mutex); +    LIST_FOR_EACH (dev, list_node, &dpdk

Re: [ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-28 Thread Eelco Chaudron
On 25 Oct 2019, at 17:06, Ilya Maximets wrote: On 25.10.2019 15:51, Eelco Chaudron wrote:  +static +void vhost_guest_notified(int vid) +{ +    struct netdev_dpdk *dev; + +    ovs_mutex_lock(&dpdk_mutex); +    LIST_FOR_EACH (dev, list_node, &dpdk_list) { +    if (netdev_dpdk_get_vid(de

Re: [ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-25 Thread Ilya Maximets
On 25.10.2019 15:51, Eelco Chaudron wrote: On 16 Oct 2019, at 15:03, Ilya Maximets wrote: On 15.10.2019 13:20, Eelco Chaudron wrote: When the dpdk vhost library executes an eventfd_write() call, i.e. waking up the guest, a new callback will be called. This patch adds the callback to count t

Re: [ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-25 Thread Eelco Chaudron
On 16 Oct 2019, at 15:03, Ilya Maximets wrote: On 15.10.2019 13:20, Eelco Chaudron wrote: When the dpdk vhost library executes an eventfd_write() call, i.e. waking up the guest, a new callback will be called. This patch adds the callback to count the number of interrupts sent to the VM to tr

Re: [ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-16 Thread Ilya Maximets
On 15.10.2019 13:20, Eelco Chaudron wrote: When the dpdk vhost library executes an eventfd_write() call, i.e. waking up the guest, a new callback will be called. This patch adds the callback to count the number of interrupts sent to the VM to track the number of times interrupts where generated.

[ovs-dev] [dpdk-latest PATCH] netdev-dpdk: add custom vhost statistics to count IRQs

2019-10-15 Thread Eelco Chaudron
When the dpdk vhost library executes an eventfd_write() call, i.e. waking up the guest, a new callback will be called. This patch adds the callback to count the number of interrupts sent to the VM to track the number of times interrupts where generated. This might be of interest to find out syste