Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/ice
Maciej Fijalkowski 5ed5d316d9 ice: Fix the calculation of ICE_MAX_MTU
Currently ICE_MAX_MTU subtracts only ETH_HLEN from max frame size and
adds ETH_FCS_LEN and VLAN_HLEN, which is not what was intended.
The ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN expression should be surrounded
with parentheses.

Wrap mentioned expression and take into account VLAN double tagging.

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-02-25 08:56:01 -08:00
..
2018-11-20 11:39:04 -08:00
2018-10-24 13:56:37 -07:00
2018-03-26 09:59:08 -07:00
2019-01-15 12:38:44 -08:00
2019-01-15 12:02:27 -08:00
2019-01-15 12:38:44 -08:00
2019-02-25 08:56:01 -08:00
2018-10-03 07:42:30 -07:00