Go to file
Nithin Dabilpuram 33543fb3b6 vfio: revert interrupt eventfd setup at probe
This reverts commit 89aac60e0b.
"vfio: fix interrupts race condition"

The above mentioned commit moves the interrupt's eventfd setup
to probe time but only enables one interrupt for all types of
interrupt handles i.e VFIO_MSI, VFIO_LEGACY, VFIO_MSIX, UIO.
It works fine with default case but breaks below cases specifically
for MSIX based interrupt handles.

* Applications like l3fwd-power that request rxq interrupts
  while ethdev setup.
* Drivers that need > 1 MSIx interrupts to be configured for
  functionality to work.

VFIO PCI for MSIx expects all the possible vectors to be setup up
when using VFIO_IRQ_SET_ACTION_TRIGGER so that they can be
allocated from kernel pci subsystem. Only way to increase the number
of vectors later is first free all by using VFIO_IRQ_SET_DATA_NONE
with action trigger and then enable new vector count.

Above commit changes the behavior of rte_intr_[enable|disable] to
only mask and unmask unlike earlier behavior and thereby
breaking above two scenarios.

Fixes: 89aac60e0b ("vfio: fix interrupts race condition")
Cc: stable@dpdk.org

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Tested-by: Stephen Hemminger <stephen@networkplumber.org>
Tested-by: Shahed Shaikh <shshaikh@marvell.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2019-07-23 12:00:14 +02:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test/sched: modify for config flexibility 2019-07-22 15:42:16 +02:00
buildtools buildtools: filter out checked symbols for icc 2019-07-02 16:04:37 +02:00
config config: fix meson build on ThunderX2 2019-07-16 00:19:51 +02:00
devtools devtools: pass custom options to checkpatch 2019-07-04 22:43:26 +02:00
doc eal/linux: select IOVA as VA mode for default case 2019-07-22 17:47:27 +02:00
drivers vfio: revert interrupt eventfd setup at probe 2019-07-23 12:00:14 +02:00
examples examples/ip_frag: fix stale content of ethdev info 2019-07-22 19:10:31 +02:00
kernel kni: fix segmented mbuf data overflow 2019-07-18 23:29:57 +02:00
lib vfio: revert interrupt eventfd setup at probe 2019-07-23 12:00:14 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: fix custom kernel directory name 2019-07-22 10:00:01 +02:00
usertools raw/ntb: support Intel NTB 2019-07-05 12:50:19 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: add Andrew for next-net tree 2019-07-19 00:27:02 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt baseband/turbo_sw: support meson build 2019-07-05 15:28:14 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.08-rc1 2019-07-08 23:04:41 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org