Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-11-07 Thread Zhao1, Wei
eth_link_get_nowait() in your APP, that > > will reduce interrupt from vf to pf in mailbox read. > > > > > >> -Original Message- > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Luca Boccassi > >> Sent: Wednesday, August 15, 2018 10:15 PM

Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-11-07 Thread Zhao1, Wei
gt; > That means in rte_eth_link_get_nowait(), code will skip this mailbox > > > read interrupt, only in > > > rte_eth_link_get() there will be this interrupt, so I think what you > > > need to is just replace > > > rte_eth_link_get() with rte_eth_link_get_nowait

Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-11-07 Thread Luca Boccassi
th rte_eth_link_get_nowait() in your APP, > > that will reduce interrupt from vf to pf in mailbox read. > > > > > > > -Original Message- > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Luca > > > Boccassi > > > Sent: W

Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-11-07 Thread Chas Williams
t() in your APP, that will reduce interrupt from vf to pf in mailbox read. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Luca Boccassi Sent: Wednesday, August 15, 2018 10:15 PM To: dev@dpdk.org Cc: Lu, Wenzhuo ; Ananyev, Konstantin ; Luca Boccassi ; sta...@dpd

Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-11-07 Thread Zhao1, Wei
i > Sent: Wednesday, August 15, 2018 10:15 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Ananyev, Konstantin > ; Luca Boccassi ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate > > We have observed high rate of NIC PF interrupts when VNF

Re: [dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-09-26 Thread Luca Boccassi
On Wed, 2018-08-15 at 15:14 +0100, Luca Boccassi wrote: > We have observed high rate of NIC PF interrupts when VNF is using > DPDK > APIs rte_eth_link_get_nowait() and rte_eth_link_get() functions, as > they are causing VF driver to send many MBOX ACK messages. Ping. Any chance this could be revie

[dpdk-dev] [PATCH] net/ixgbe: reduce PF mailbox interrupt rate

2018-08-15 Thread Luca Boccassi
We have observed high rate of NIC PF interrupts when VNF is using DPDK APIs rte_eth_link_get_nowait() and rte_eth_link_get() functions, as they are causing VF driver to send many MBOX ACK messages. With these changes, the interrupt rates go down significantly. Here's some testing results: Without