bond: change warning
authorMichal Jastrzebski <michalx.k.jastrzebski@intel.com>
Fri, 12 Dec 2014 09:14:40 +0000 (09:14 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Feb 2015 18:07:34 +0000 (19:07 +0100)
Remove function name from warning.

Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
lib/librte_pmd_bond/rte_eth_bond_pmd.c

index a75b163..7a17f53 100644 (file)
@@ -913,9 +913,9 @@ bond_ethdev_mode_set(struct rte_eth_dev *eth_dev, int mode)
 
                eth_dev->rx_pkt_burst = bond_ethdev_rx_burst_8023ad;
                eth_dev->tx_pkt_burst = bond_ethdev_tx_burst_8023ad;
-               RTE_BOND_LOG(WARNING,
+               RTE_LOG(WARNING, PMD,
                                "Using mode 4, it is necessary to do TX burst and RX burst "
-                               "at least every 100ms.");
+                               "at least every 100ms.\n");
                break;
        case BONDING_MODE_ADAPTIVE_TRANSMIT_LOAD_BALANCING:
                eth_dev->tx_pkt_burst = bond_ethdev_tx_burst_tlb;