eal/linux: fix log levels for pagemap reading failure
authorKevin Traynor <ktraynor@redhat.com>
Thu, 14 Feb 2019 17:56:56 +0000 (17:56 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Mar 2019 13:54:40 +0000 (14:54 +0100)
commitc0d9052afbc711d85350c6e1252affda66e2f88b
tree54ef50d64a1cb77adb9062bb24f6eb5455638440
parentd818e454df32e401cfdc8efb13bbe04afae84905
eal/linux: fix log levels for pagemap reading failure

Commit cdc242f260e7 says:
    For Linux kernel 4.0 and newer, the ability to obtain
    physical page frame numbers for unprivileged users from
    /proc/self/pagemap was removed. Instead, when an IOMMU
    is present, simply choose our own DMA addresses instead.

In this case the user still sees error messages, so adjust
the log levels. Later, other checks will ensure that errors
are logged in the appropriate cases.

Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user")
Cc: stable@dpdk.org
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
lib/librte_eal/linux/eal/eal_memory.c