From 82a752e3ebf37f615b82860a06fedd5e24d7b5bb Mon Sep 17 00:00:00 2001 From: Sunil Kumar Kori Date: Tue, 26 Jan 2021 14:22:43 +0530 Subject: [PATCH] net/octeontx: fix max Rx packet length Maximum Rx packet length is getting updated twice which corrupts actual value. Fixes: 3151e6a687a3 ("net/octeontx: support MTU") Cc: stable@dpdk.org Signed-off-by: Sunil Kumar Kori Acked-by: Harman Kalra --- drivers/net/octeontx/octeontx_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index 81779885d5..5836dbe09e 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -867,7 +867,6 @@ octeontx_dev_info(struct rte_eth_dev *dev, dev_info->max_mac_addrs = octeontx_bgx_port_mac_entries_get(nic->port_id); - dev_info->max_rx_pktlen = PKI_MAX_PKTLEN; dev_info->max_rx_queues = 1; dev_info->max_tx_queues = PKO_MAX_NUM_DQ; dev_info->min_rx_bufsize = 0; -- 2.20.1