diff mbox series

[v1,05/11] net/dpaa2: add debug print for MTU set for jumbo

Message ID 20210927132519.19264-6-nipun.gupta@nxp.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers show
Series NXP DPAAx Bus and PMD changes | expand


Context Check Description
ci/checkpatch success coding style OK

Commit Message

Nipun Gupta Sept. 27, 2021, 1:25 p.m. UTC
From: Hemant Agrawal <hemant.agrawal@nxp.com>

This patch adds a debug print for MTU configured on the
device when jumbo frames are enabled.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
 drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 9cf55c0f0b..275656fbe4 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
@@ -573,6 +573,8 @@  dpaa2_eth_dev_configure(struct rte_eth_dev *dev)
 				dev->data->dev_conf.rxmode.max_rx_pkt_len -
+				DPAA2_PMD_INFO("MTU configured for the device: %d",
+						dev->data->mtu);
 		} else {
 			return -1;