> -----Original Message-----
> From: dapengx...@intel.com <dapengx...@intel.com>
> Sent: Tuesday, December 7, 2021 5:00 PM
> To: Xing, Beilei <beilei.x...@intel.com>
> Cc: dev@dpdk.org; Yu, DapengX <dapengx...@intel.com>; sta...@dpdk.org
> Subject: [PATCH] net/i40e: enable max frame size at port level
>
> From: Dapeng Yu <dapengx...@intel.com>
>
> Currently max frame size is set at queue level, which makes the values of the
> following counters wrong when a jumbo frame is received.
>
> The expected value:
> rx_good_bytes: 0
> rx_errors: 1
> rx_oversize_errors: 1
>
> The actual value:
> rx_good_bytes: 1626
> rx_errors: 0
> rx_oversize_errors: 0
>
> This patch enables setting max frame size at port level, and makes the values
> above right.
>
> Cc: sta...@dpdk.org
>
> Signed-off-by: Dapeng Yu <dapengx...@intel.com>
> ---
Tested-by: Peng Zhang <peng1x.zh...@intel.com>