kernel_samsung_a53x/drivers/net/ethernet/intel/i40e
Erwan Velu 114eff1f4c i40e: Report MFS in decimal base instead of hex
[ Upstream commit ef3c313119ea448c22da10366faa26b5b4b1a18e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:38 +01:00
..
i40e.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq_cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_alloc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_client.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_common.c i40e: prevent crash on probe if hw registers have invalid values 2024-11-08 11:26:10 +01:00
i40e_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb_nl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ddp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_devids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_main.c i40e: Report MFS in decimal base instead of hex 2024-11-19 11:32:38 +01:00
i40e_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_osdep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_prototype.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_register.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_status.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
i40e_txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_virtchnl_pf.c i40e: fix vf may be used uninitialized in this function warning 2024-11-19 09:22:47 +01:00
i40e_virtchnl_pf.h i40e: Fix VF disable behavior to block all traffic 2024-11-18 12:13:17 +01:00
i40e_xsk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_xsk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00