From: Andrew Rybchenko Date: Thu, 14 Nov 2019 16:40:51 +0000 (+0000) Subject: ethdev: decrease verbosity of not disabled offload logs X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9e954d3194314f8f6a1d59f2912cc324cacc9a6a;p=dpdk.git ethdev: decrease verbosity of not disabled offload logs Right now a PMD decides if it is critical that an offload cannot be disabled (i.e. not requested, but still enabled). If PMD treaks it as OK, we should not spam logs with corresponding messages by default. Default log level in ethdev is INFO, so change the message level to DEBUG. Fixes: 1daa33805824 ("ethdev: validate offloads set by PMD") Signed-off-by: Andrew Rybchenko Acked-by: Ferruh Yigit Acked-by: Stephen Hemminger --- diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 9dc4f51545..84e6b60cfd 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -1204,7 +1204,7 @@ validate_offloads(uint16_t port_id, uint64_t req_offloads, /* Chech if offload couldn't be disabled. */ if (offload & set_offloads) { - RTE_ETHDEV_LOG(INFO, + RTE_ETHDEV_LOG(DEBUG, "Port %u failed to disable %s offload %s\n", port_id, offload_type, offload_name(offload)); }