On 21/02/2022 11:22, Zhang, Qi Z wrote:


-----Original Message-----
From: Zhang, Peng1X <[email protected]>
Sent: Monday, February 21, 2022 6:43 PM
To: [email protected]; [email protected]
Subject: RE: [PATCH] net/i40e: enable max frame size at port level

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, December 7, 2021 5:00 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Yu, DapengX <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: enable max frame size at port level

From: Dapeng Yu <[email protected]>

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: [email protected]

Signed-off-by: Dapeng Yu <[email protected]>
--
Tested-by: Peng Zhang <[email protected]>

Reviewed-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel.


Please add a Fixes: tag so we can know which LTS it is relevant for.

Thanks
Qi


Reply via email to