[dpdk-dev,1/3] bond change warning

Message ID 1418375682-4703-2-git-send-email-michalx.k.jastrzebski@intel.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Michal Jastrzebski Dec. 12, 2014, 9:14 a.m. UTC
  Remove function name from warning. 

Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
---
 lib/librte_pmd_bond/rte_eth_bond_pmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Thomas Monjalon Feb. 18, 2015, 6:06 p.m. UTC | #1
> Remove function name from warning. 
> 
> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>

Other patches of series were split in other series.

Applied, thanks
  

Patch

diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c
index 539baa4..9169040 100644
--- a/lib/librte_pmd_bond/rte_eth_bond_pmd.c
+++ b/lib/librte_pmd_bond/rte_eth_bond_pmd.c
@@ -891,9 +891,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;