e1000: raise log level of significant events
authorStephen Hemminger <shemming@brocade.com>
Thu, 9 Jul 2015 23:01:08 +0000 (16:01 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jul 2015 18:15:50 +0000 (20:15 +0200)
Any message about incorrect API usage should be at NOTICE
level or above.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/e1000/igb_ethdev.c

index 41958fe..9fd41f5 100644 (file)
@@ -2431,12 +2431,12 @@ igbvf_dev_configure(struct rte_eth_dev *dev)
         */
 #ifndef RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC
        if (!conf->rxmode.hw_strip_crc) {
-               PMD_INIT_LOG(INFO, "VF can't disable HW CRC Strip");
+               PMD_INIT_LOG(NOTICE, "VF can't disable HW CRC Strip");
                conf->rxmode.hw_strip_crc = 1;
        }
 #else
        if (conf->rxmode.hw_strip_crc) {
-               PMD_INIT_LOG(INFO, "VF can't enable HW CRC Strip");
+               PMD_INIT_LOG(NOTICE, "VF can't enable HW CRC Strip");
                conf->rxmode.hw_strip_crc = 0;
        }
 #endif