From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EA8BA052A; Tue, 26 Jan 2021 09:52:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E709A1412BE; Tue, 26 Jan 2021 09:52:54 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 54BDD1412AF; Tue, 26 Jan 2021 09:52:53 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10Q8pO7e024500; Tue, 26 Jan 2021 00:52:52 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=hSF57Ptjt4B7ZevfH13qcLyxJwtK9q03OHiDCcziZ/Y=; b=PSErytZsz+OMmWEjizN0liEO5cFkTgALpRPJl8G0vPT5MjX3qcNhXi8kG2yZs1zxjT/j 10j3Pxhl+bloUx4WVuA7q0kp5/lwZ84vpgPAYstrYokU9uitU0FnG68miXw6pmc6i1r0 EfSfdNL/WHIZPWpFsnqga/EUnJ6WteEBbxWLE2isI+YtGUoHAwbhSf2ghXvRXc59TMxe 6o35VhX+Q3k1lTEAOLPSYtmGUrm7ED95kuedXzjFcp4HzxTe8RGal5WTqXzvMR60KmIF +ovBuxD5LMjhzGLHCZiN7D8uJT7ICLXJGU/ak96o3vo/HgdvDDSrUh3SKuhWLXGJtl9S sg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 368j1u7n1d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 26 Jan 2021 00:52:52 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Jan 2021 00:52:51 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Jan 2021 00:52:50 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 26 Jan 2021 00:52:50 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 52A063F703F; Tue, 26 Jan 2021 00:52:49 -0800 (PST) From: To: Harman Kalra CC: , Sunil Kumar Kori , Date: Tue, 26 Jan 2021 14:22:43 +0530 Message-ID: <20210126085244.1617026-1-skori@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-26_06:2021-01-25, 2021-01-26 signatures=0 Subject: [dpdk-dev] [PATCH] net/octeontx: fix max Rx packet length corruption X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Sunil Kumar Kori 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 --- 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 81779885d..5836dbe09 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.25.1