|
|
c7ffa4 |
From 651f3d4d0f1329b1dcf933e6dc207be44ef51d01 Mon Sep 17 00:00:00 2001
|
|
|
c7ffa4 |
From: Rasesh Mody <rasesh.mody@cavium.com>
|
|
|
c7ffa4 |
Date: Fri, 2 Feb 2018 22:03:18 -0800
|
|
|
c7ffa4 |
Subject: [PATCH] net/qede: fix few log messages
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
Fixes: 9e334305178f ("net/qede: fix MTU set and max Rx length")
|
|
|
c7ffa4 |
Fixes: 22d07d939c3c ("net/qede/base: update")
|
|
|
c7ffa4 |
Cc: stable@dpdk.org
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
|
|
c7ffa4 |
---
|
|
|
c7ffa4 |
drivers/net/qede/base/ecore_dcbx.c | 7 +++----
|
|
|
c7ffa4 |
drivers/net/qede/qede_rxtx.c | 2 +-
|
|
|
c7ffa4 |
2 files changed, 4 insertions(+), 5 deletions(-)
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
diff --git a/drivers/net/qede/base/ecore_dcbx.c b/drivers/net/qede/base/ecore_dcbx.c
|
|
|
c7ffa4 |
index 632297a78..21ddda92e 100644
|
|
|
c7ffa4 |
--- a/drivers/net/qede/base/ecore_dcbx.c
|
|
|
c7ffa4 |
+++ b/drivers/net/qede/base/ecore_dcbx.c
|
|
|
c7ffa4 |
@@ -216,10 +216,9 @@ ecore_dcbx_get_app_protocol_type(struct ecore_hwfn *p_hwfn,
|
|
|
c7ffa4 |
*type = DCBX_PROTOCOL_ETH;
|
|
|
c7ffa4 |
} else {
|
|
|
c7ffa4 |
*type = DCBX_MAX_PROTOCOL_TYPE;
|
|
|
c7ffa4 |
- DP_ERR(p_hwfn,
|
|
|
c7ffa4 |
- "No action required, App TLV id = 0x%x"
|
|
|
c7ffa4 |
- " app_prio_bitmap = 0x%x\n",
|
|
|
c7ffa4 |
- id, app_prio_bitmap);
|
|
|
c7ffa4 |
+ DP_VERBOSE(p_hwfn, ECORE_MSG_DCB,
|
|
|
c7ffa4 |
+ "No action required, App TLV entry = 0x%x\n",
|
|
|
c7ffa4 |
+ app_prio_bitmap);
|
|
|
c7ffa4 |
return false;
|
|
|
c7ffa4 |
}
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
|
|
|
c7ffa4 |
index 169ede83a..0de7c6b8a 100644
|
|
|
c7ffa4 |
--- a/drivers/net/qede/qede_rxtx.c
|
|
|
c7ffa4 |
+++ b/drivers/net/qede/qede_rxtx.c
|
|
|
c7ffa4 |
@@ -158,7 +158,7 @@ qede_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
|
|
|
c7ffa4 |
qdev->fp_array[queue_idx].rxq = rxq;
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
DP_INFO(edev, "rxq %d num_desc %u rx_buf_size=%u socket %u\n",
|
|
|
c7ffa4 |
- queue_idx, nb_desc, qdev->mtu, socket_id);
|
|
|
c7ffa4 |
+ queue_idx, nb_desc, rxq->rx_buf_size, socket_id);
|
|
|
c7ffa4 |
|
|
|
c7ffa4 |
return 0;
|
|
|
c7ffa4 |
}
|
|
|
c7ffa4 |
--
|
|
|
c7ffa4 |
2.14.3
|
|
|
c7ffa4 |
|