From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 28AAB1B1CC for ; Wed, 1 Aug 2018 19:44:02 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id a26-v6so8221266pfo.4 for ; Wed, 01 Aug 2018 10:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=STLPwLylfTcPFFmjkxbVmJ34op/HsTThS5d6dmP/sMc=; b=ynEPElY9JnkBT7nVnG7CpWbQlPcl7JQ3fpPQT3LU3AFUSvo6vwKjUOXvY0SXFFKkk4 V10kfR2hZU6T0qfXhj+830ksxUNOpqnfmGKeK1nK+c6liKumrewQEhSWdrCv37yQ6goK wU3e0tFdlz7jkOOl89pHsi6xNORs3Sn6Oh0NBb6ZrTRYan3PQpyE0pl3DCEkAjtbLUp1 LepTL1aOP2vb10c+YqdMki0gVieYwjUXcay7JAMZgte/MqI/+z5HlAxRlMShpc4gr8Z4 MP7ggNPx6i5RkqdGAsyNr9xso5wo8pljZJjKSj/BQdasfd4z1DH3JmHnRqykVJJFCE0Q 051A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=STLPwLylfTcPFFmjkxbVmJ34op/HsTThS5d6dmP/sMc=; b=GAvqg8C12k8TTGwrUWvIJpHuGMw931AQfR/Xf+d8xJixXCUv6zudsnHALhZQ3yNe57 YhOK5xI6Txs6LgnAMP3U3sLy0VW2Z0rCoaCC+yeKfNlsRT+tyAd6DA+3yAumC3YGCq+i OiIVBLQo730UF9kfrRne8hF2+n6SFBcaeq48f0/pxv1Az9Ixcds5NnpN2C1oJM2nOPTq oiEDORM3N/7981XCBHq8gNx7qc0q9VqCOWrShwIQ8fyizLv/LbRlFA25Y0pz33p7065o BND9hjlF+0HItZdkpF/KJ0K77mjGnmpngNC7y4uMW67oinw+fk+TV5yGH90m2sg5gv+A LeHA== X-Gm-Message-State: AOUpUlFiZcrV3yIjEXFj6whSsBrrL2NfAIOqHLjEHkHDDO9Q9sk+bXfm qpFDGHPYvjODz2tjFIIRrl6Mb768/Ts= X-Google-Smtp-Source: AAOMgpdpxQdqVIyeuc97Y8aGNh7+QJImoEMk//Po4+npOT9TxqSeitpxJrOZdy33zeDofM9cZ042bg== X-Received: by 2002:a63:4386:: with SMTP id q128-v6mr25612356pga.353.1533145440296; Wed, 01 Aug 2018 10:44:00 -0700 (PDT) Received: from xeon-e3.wavecable.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h4-v6sm18671126pgp.13.2018.08.01.10.43.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 10:43:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 1 Aug 2018 10:43:56 -0700 Message-Id: <20180801174356.655-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.18.0 Subject: [dpdk-dev] [PATCH] ethdev: ownership change log message priority change X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 17:44:02 -0000 Changing ownership of a port is a normal event, and should not be logged at ERR priority. Downgrade to a DEBUG message. Signed-off-by: Stephen Hemminger --- lib/librte_ethdev/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 2e40c3fba99a..c7ab15722f98 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -463,7 +463,7 @@ _rte_eth_dev_owner_set(const uint16_t port_id, const uint64_t old_owner_id, port_owner->id = new_owner->id; - RTE_ETHDEV_LOG(ERR, "Port %u owner is %s_%016"PRIx64"\n", + RTE_ETHDEV_LOG(DEBUG, "Port %u owner is %s_%016"PRIx64"\n", port_id, new_owner->name, new_owner->id); return 0; -- 2.18.0