Re: [dpdk-dev] [PATCH] i40evf: use non spinning delay when issuing AQ request to PF

2020-04-04 Thread Stephen Hemminger
On Mon, 30 Mar 2020 16:33:30 +0200 Laurent Hardy wrote: > When a port is handled by the i40evf dpdk pmd we could observe a cpu usage > around 70% in case of rte eth stats functions (rte_eth_stats_get and > rte_eth_xstats_get) called periodically via an application control thread. > > This is due

Re: [dpdk-dev] [PATCH] i40evf: use non spinning delay when issuing AQ request to PF

2020-04-03 Thread Zhang, Qi Z
> -Original Message- > From: Laurent Hardy > Sent: Monday, March 30, 2020 10:34 PM > To: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z > > Cc: olivier.m...@6wind.com; david.march...@redhat.com > Subject: [PATCH] i40evf: use non spinning delay when issuing AQ request to > PF > > When a port

[dpdk-dev] [PATCH] i40evf: use non spinning delay when issuing AQ request to PF

2020-03-30 Thread Laurent Hardy
When a port is handled by the i40evf dpdk pmd we could observe a cpu usage around 70% in case of rte eth stats functions (rte_eth_stats_get and rte_eth_xstats_get) called periodically via an application control thread. This is due to the polling mechanism to handle communication between VF and PF