Searched refs:MLX5E_HW2SW_MTU (Results 1 – 4 of 4) sorted by relevance
57 return MLX5E_HW2SW_MTU(params, SKB_MAX_HEAD(hr)); in mlx5e_xdp_max_mtu()
72 #define MLX5E_HW2SW_MTU(params, hwmtu) ((hwmtu) - ((params)->hard_mtu)) macro
1275 netdev->max_mtu = MLX5E_HW2SW_MTU(&priv->channels.params, max_mtu); in mlx5e_uplink_rep_enable()
2717 *mtu = MLX5E_HW2SW_MTU(params, hw_mtu); in mlx5e_query_mtu()2754 netdev->max_mtu = min_t(unsigned int, MLX5E_HW2SW_MTU(params, max_mtu), in mlx5e_set_netdev_mtu_boundaries()4251 max_mtu_frame = MLX5E_HW2SW_MTU(new_params, xsk.chunk_size - hr); in mlx5e_xsk_validate_mtu()4252 max_mtu_page = MLX5E_HW2SW_MTU(new_params, SKB_MAX_HEAD(0)); in mlx5e_xsk_validate_mtu()