numam-dpdk/drivers/net/virtio
Ilya Maximets 705dced4a7 net/virtio: avoid annoying IOPL error log
In case of running with not enough capabilities, i.e. running as
non-root user any application linked with DPDK prints the message
about IOPL call failure even if it was just called like
'./testpmd --help'. For example, this breaks most of the OVS unit
tests if it built with DPDK support.

Let's register the virtio driver unconditionally and print error
message while probing the device. Silent iopl() call left in the
constructor to have privileges as early as possible as it was before.

Fixes: 565b85dcd9 ("eal: set iopl only when needed")
Cc: stable@dpdk.org

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-11-25 11:44:57 +01:00
..
virtio_user net/virtio-user: simplify device features preparation 2018-11-05 15:01:25 +01:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build net/virtio: add to meson build 2018-03-12 16:29:27 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c net/virtio: avoid annoying IOPL error log 2018-11-25 11:44:57 +01:00
virtio_ethdev.h net/virtio: add missing supported features 2018-09-28 01:41:03 +02:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c net/virtio: fix unchecked return value 2018-11-14 00:35:53 +01:00
virtio_pci.h net/virtio: do not re-enter clean up routines 2018-11-05 15:01:25 +01:00
virtio_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx_simple_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple.c eal: add macro for attribute weak 2018-10-25 02:11:23 +02:00
virtio_rxtx_simple.h net/virtio: remove simple Tx path 2018-07-04 17:03:48 +02:00
virtio_rxtx.c net/virtio: remove unnecessary Rx error assignments 2018-08-02 04:41:51 +02:00
virtio_rxtx.h net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_user_ethdev.c net/virtio-user: fix typo in error message 2018-11-14 00:35:53 +01:00
virtqueue.c net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00
virtqueue.h net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00