[3/3] common/cnxk: update minimum size of packet
Checks
Commit Message
From: Akhil Goyal <gakhil@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@marvell.com>
---
drivers/common/cnxk/hw/nix.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Jun 15, 2023 at 6:40 PM Nithin Dabilpuram
<ndabilpuram@marvell.com> wrote:
>
> From: Akhil Goyal <gakhil@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@marvell.com>
Series applied to dpdk-next-net-mrvl/for-next-net. Thanks.
> ---
> 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
>
@@ -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