> -Original Message-
> From: dev On Behalf Of Qiming Chen
> Sent: Monday, August 23, 2021 12:11 PM
> To: dev@dpdk.org
> Cc: Xing, Beilei ; Qiming Chen
>
> Subject: [dpdk-dev] [PATCH] net/i40e: solve vf rxq buf size alignment
>
> The RTE_ALIGN macro is align
The RTE_ALIGN macro is aligned upwards. If the buf_size variable is not
aligned with 1 << I40E_RXQ_CTX_DBUFF_SHIFT, the rx_buf_len is larger than
the actual mbuf memory after the operation. When receiving the packet, if
the packet is larger than the configured buf_size, it will cause a memory
stepp
2 matches
Mail list logo