Searched refs:MLX5E_HW2SW_MTU (Results 1 – 3 of 3) sorted by relevance
73 #define MLX5E_HW2SW_MTU(params, hwmtu) ((hwmtu) - ((params)->hard_mtu)) macro
2969 *mtu = MLX5E_HW2SW_MTU(params, hw_mtu); in mlx5e_query_mtu()3006 netdev->max_mtu = min_t(unsigned int, MLX5E_HW2SW_MTU(params, max_mtu), in mlx5e_set_netdev_mtu_boundaries()4488 max_mtu_frame = MLX5E_HW2SW_MTU(new_params, xsk.chunk_size - hr); in mlx5e_xsk_validate_mtu()4489 max_mtu_page = MLX5E_HW2SW_MTU(new_params, SKB_MAX_HEAD(0)); in mlx5e_xsk_validate_mtu()
1324 netdev->max_mtu = MLX5E_HW2SW_MTU(&priv->channels.params, max_mtu); in mlx5e_uplink_rep_enable()