[PATCH 3/3] common/cnxk: update minimum size of packet
Nithin Dabilpuram
ndabilpuram at marvell.com
Thu Jun 15 15:09:24 CEST 2023
From: Akhil Goyal <gakhil at marvell.com>
In case of MACsec, short packets may also come,
hence reduced the minimum packet size to 40B.
Signed-off-by: Akhil Goyal <gakhil at marvell.com>
---
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
--
2.25.1
More information about the dev
mailing list