-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/i40e: enable maximum frame size at port level
[ upstream commit a4ba773 ] 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. Signed-off-by: Dapeng Yu <dapengx.yu@intel.com> Tested-by: Peng Zhang <peng1x.zhang@intel.com> Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information
1 parent
15ff989
commit e682857
Showing
1 changed file
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters