diff options
author | Erwan Velu <e.velu@criteo.com> | 2024-04-23 21:27:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-25 18:20:55 +0300 |
commit | ef3c313119ea448c22da10366faa26b5b4b1a18e (patch) | |
tree | 9ae1d18030d5d4e6d4d0883a021f9fffd6ed4394 /drivers/net/ethernet/intel/iavf | |
parent | 2cc7d150550cc981aceedf008f5459193282425c (diff) | |
download | linux-ef3c313119ea448c22da10366faa26b5b4b1a18e.tar.xz |
i40e: Report MFS in decimal base instead of hex
If the MFS is set below the default (0x2600), a warning message is
reported like the following :
MFS for port 1 has been set below the default: 600
This message is a bit confusing as the number shown here (600) is in
fact an hexa number: 0x600 = 1536
Without any explicit "0x" prefix, this message is read like the MFS is
set to 600 bytes.
MFS, as per MTUs, are usually expressed in decimal base.
This commit reports both current and default MFS values in decimal
so it's less confusing for end-users.
A typical warning message looks like the following :
MFS for port 1 (1536) has been set below the default (9728)
Signed-off-by: Erwan Velu <e.velu@criteo.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Fixes: 3a2c6ced90e1 ("i40e: Add a check to see if MFS is set")
Link: https://lore.kernel.org/r/20240423182723.740401-3-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/iavf')
0 files changed, 0 insertions, 0 deletions