[dpdk-dev] [PATCH v2] ena: fix doorbell submission when not needed

2016-07-08 Thread Bruce Richardson
On Fri, Jul 08, 2016 at 01:11:30PM +0200, Jan Medala wrote: > Avoid submitting doorbell when: > * no packets have been submitted to TX > * no free resources have been submitted while RX > > Sending doorbell without actual work to be performed by device > violates ENA specification and can lead to

[dpdk-dev] [PATCH v2] ena: fix doorbell submission when not needed

2016-07-08 Thread Jan Medala
Avoid submitting doorbell when: * no packets have been submitted to TX * no free resources have been submitted while RX Sending doorbell without actual work to be performed by device violates ENA specification and can lead to unpredictable behavior. Fixes: 1173fca25af9 ("ena: add polling-mode dri