On 10/28/2023 7:26 AM, Chaoyong He wrote:
> From: James Hershaw <james.hers...@corigine.com>
> 
> Reduce the space reserved for layer 2 overhead by defining
> NFP_ETH_OVERHEAD.
> 
> Previously, the overhead was not explicitly defined, only the
> NFP_FRAME_SIZE_MAX value and the maximum layer 3 MTU was read from
> hardware, which is set by firmware.
> 
> This resulted in a massive overhead, 516 Bytes in most cases, and while
> this can hold useful metadata in some cases, for the most part is not
> necessary. As such the overhead is explicitly defined in line with other
> net PMDs and the maximum frame size is calculated based on this and the
> layer 3 MTU read from firmware.
> 
> Signed-off-by: James Hershaw <james.hers...@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong...@corigine.com>>

Applied to dpdk-next-net/main, thanks.

Reply via email to