From patchwork Thu Jun 15 13:09:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Dabilpuram X-Patchwork-Id: 128746 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 586C242CC6; Thu, 15 Jun 2023 15:10:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD81B42C76; Thu, 15 Jun 2023 15:10:05 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 2BE56410D0 for ; Thu, 15 Jun 2023 15:10:02 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35FBAqPL001322 for ; Thu, 15 Jun 2023 06:10:01 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=cdzUi9We1ztolxawX++YIkxN4EMBHHFgvURKLC/VQLk=; b=RpA0E0I7HjvBsA1QXZ/PRjtfrn/UMEaWMKtNOmMsnsf3gY98W4LU1liZQ92/m82M8suV 1PuiILiqq2nCCgk7yalrqGW8sGcVe1hwle0jV969qy8u5c5ABPKz80dCZSBqf/dISty2 QtmmE0Xuv55mOnsHlLov01UP5Jnhcpq6ch16S+sSNySXxSxbW5MvjPnGN2gVGf4vNBOp 7MYx0Al4K2ah7d6dTK5ndrcQz7oXqijSgoe1fHeWFlycwxoC2xpbJTsF4Z26TYnGBF29 kybnwYc2hpRLiU18CSccl3qJonNVVqVhkO4q0JtjrXc5Y8PtlKjOirMEE39XfH4Ktcqp 9g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3r7ky1u45j-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 15 Jun 2023 06:10:01 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 15 Jun 2023 06:09:35 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 15 Jun 2023 06:09:35 -0700 Received: from hyd1588t430.caveonetworks.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id D7D5A3F7092; Thu, 15 Jun 2023 06:09:32 -0700 (PDT) From: Nithin Dabilpuram To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: , , Akhil Goyal Subject: [PATCH 3/3] common/cnxk: update minimum size of packet Date: Thu, 15 Jun 2023 18:39:24 +0530 Message-ID: <20230615130924.828208-3-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230615130924.828208-1-ndabilpuram@marvell.com> References: <20230615130924.828208-1-ndabilpuram@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: Ifi8qpe55ef1qokBUrHxMH3_qPl09Jls X-Proofpoint-ORIG-GUID: Ifi8qpe55ef1qokBUrHxMH3_qPl09Jls X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_08,2023-06-14_02,2023-05-22_02 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 From: Akhil Goyal In case of MACsec, short packets may also come, hence reduced the minimum packet size to 40B. Signed-off-by: Akhil Goyal --- drivers/common/cnxk/hw/nix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/nix.h index fbdf1b64f6..26dcda680e 100644 --- a/drivers/common/cnxk/hw/nix.h +++ b/drivers/common/cnxk/hw/nix.h @@ -2128,7 +2128,7 @@ struct nix_lso_format { #define NIX_SDP_MAX_HW_FRS 65535UL #define NIX_SDP_16K_HW_FRS 16380UL #define NIX_RPM_MAX_HW_FRS 16380UL -#define NIX_MIN_HW_FRS 60UL +#define NIX_MIN_HW_FRS 40UL /** NIX policer rate limits */ #define NIX_BPF_MAX_RATE_DIV_EXP 12