linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Maxim Mikityanskiy d460c27189 net/mlx5e: Fix the max MTU check in case of XDP
MLX5E_XDP_MAX_MTU was calculated incorrectly. It didn't account for
NET_IP_ALIGN and MLX5E_HW2SW_MTU, and it also misused MLX5_SKB_FRAG_SZ.
This commit fixes the calculations and adds a brief explanation for the
formula used.

Fixes: a26a5bdf3e ("net/mlx5e: Restrict the combination of large MTU and XDP")
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2019-04-19 13:55:36 -07:00
..
mlx4 net/mlx4_core: Fix qp mtt size calculation 2019-03-12 15:00:15 -07:00
mlx5/core net/mlx5e: Fix the max MTU check in case of XDP 2019-04-19 13:55:36 -07:00
mlxfw mlxfw: Replace license text with SPDX identifiers and adjust copyrights 2019-01-24 22:34:03 -08:00
mlxsw mlxsw: spectrum: Fix autoneg status in ethtool 2019-04-18 10:37:30 -07:00
Kconfig Change Kconfig description 2017-08-14 11:18:16 -07:00
Makefile Add the mlxfw module for Mellanox firmware flash process 2017-05-25 17:46:17 -04:00