dpdk: enable RX interrupts for the virtio driver 08/33008/3
authorRobert Shearman <robertshearman@gmail.com>
Tue, 6 Jul 2021 09:34:52 +0000 (10:34 +0100)
committerDamjan Marion <dmarion@me.com>
Thu, 15 Jul 2021 19:51:58 +0000 (19:51 +0000)
commit9f2d8bbfa2a6eea255c76de4230e28e91210809a
treed456c309e37560a9a979104c943cbaae1d218337
parent18991be8d334f1e6f6e82305d9472d2925b7a1ba
dpdk: enable RX interrupts for the virtio driver

Type: improvement

Request use of RX interrupts for virtio if the system will support it,
which is done by applying the same check as in the virtio driver,
namely whether multiple interrupts are supported. This allows the use
of RX adaptive/interrupt mode instead of just polling, which is useful
in virtualised environments where functionality may be more important
than performance and so using polling mode is wasteful.

Signed-off-by: Robert Shearman <robertshearman@gmail.com>
Change-Id: I29527b6f04b0b1d0c9f9424751b2bd252ed10505
src/plugins/dpdk/device/init.c