[PATCH 3/3] common/cnxk: update minimum size of packet

Jerin Jacob jerinjacobk at gmail.com
Fri Jun 16 03:24:10 CEST 2023


On Thu, Jun 15, 2023 at 6:40 PM Nithin Dabilpuram
<ndabilpuram at marvell.com> wrote:
>
> 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>

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
>


More information about the dev mailing list