patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 18.08] net/bnx2x: fix info logs backport
@ 2019-01-23 22:33 Mody, Rasesh
  2019-01-30 17:17 ` Kevin Traynor
  0 siblings, 1 reply; 2+ messages in thread
From: Mody, Rasesh @ 2019-01-23 22:33 UTC (permalink / raw)
  To: stable; +Cc: Mody, Rasesh, ktraynor, Dept-Eng DPDK Dev

This patch fixes build failure introduced by following commit.
Fixes: 8570d267a87e ("net/bnx2x: cleanup info logs")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
---
 drivers/net/bnx2x/bnx2x.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c
index c80f84c..a726742 100644
--- a/drivers/net/bnx2x/bnx2x.c
+++ b/drivers/net/bnx2x/bnx2x.c
@@ -6918,19 +6918,19 @@ static void bnx2x_link_report_locked(struct bnx2x_softc *sc)
 		return;
 	}
 
-	ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx",
+	PMD_DRV_LOG(DEBUG, sc, "Change in link status : cur_data = %lx, last_reported_link = %lx",
 		       cur_data.link_report_flags,
 		       sc->last_reported_link.link_report_flags);
 
 	sc->link_cnt++;
 
-	ELINK_DEBUG_P1(sc, "link status change count = %x", sc->link_cnt);
+	PMD_DRV_LOG(DEBUG, sc, "link status change count = %x", sc->link_cnt);
 	/* report new link params and remember the state for the next time */
 	rte_memcpy(&sc->last_reported_link, &cur_data, sizeof(cur_data));
 
 	if (bnx2x_test_bit(BNX2X_LINK_REPORT_LINK_DOWN,
 			 &cur_data.link_report_flags)) {
-		ELINK_DEBUG_P0(sc, "NIC Link is Down");
+		PMD_DRV_LOG(DEBUG, sc, "NIC Link is Down");
 	} else {
 		__rte_unused const char *duplex;
 		__rte_unused const char *flow;
@@ -6938,10 +6938,10 @@ static void bnx2x_link_report_locked(struct bnx2x_softc *sc)
 		if (bnx2x_test_and_clear_bit(BNX2X_LINK_REPORT_FULL_DUPLEX,
 					   &cur_data.link_report_flags)) {
 			duplex = "full";
-				ELINK_DEBUG_P0(sc, "link set to full duplex");
+				PMD_DRV_LOG(DEBUG, sc, "link set to full duplex");
 		} else {
 			duplex = "half";
-				ELINK_DEBUG_P0(sc, "link set to half duplex");
+				PMD_DRV_LOG(DEBUG, sc, "link set to half duplex");
 		}
 
 /*
-- 
1.7.10.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH 18.08] net/bnx2x: fix info logs backport
  2019-01-23 22:33 [dpdk-stable] [PATCH 18.08] net/bnx2x: fix info logs backport Mody, Rasesh
@ 2019-01-30 17:17 ` Kevin Traynor
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Traynor @ 2019-01-30 17:17 UTC (permalink / raw)
  To: Mody, Rasesh, stable; +Cc: Dept-Eng DPDK Dev

On 01/23/2019 10:33 PM, Mody, Rasesh wrote:
> This patch fixes build failure introduced by following commit.
> Fixes: 8570d267a87e ("net/bnx2x: cleanup info logs")
> 
> Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>

Thanks Rasesh. Pushed to 18.08 branch.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-30 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 22:33 [dpdk-stable] [PATCH 18.08] net/bnx2x: fix info logs backport Mody, Rasesh
2019-01-30 17:17 ` Kevin Traynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).