aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timer_types.h
diff options
context:
space:
mode:
authorGravatar Saeed Mahameed <saeedm@nvidia.com> 2023-12-15 19:31:14 -0800
committerGravatar Saeed Mahameed <saeedm@nvidia.com> 2024-01-24 00:15:32 -0800
commit25461ce8b3d28528f2c55f5e737e99d2906eda83 (patch)
tree763ab01e3b2b62c51beeee04d48402764847065c /include/linux/timer_types.h
parentnet/sched: flower: Fix chain template offload (diff)
downloadlinux-25461ce8b3d28528f2c55f5e737e99d2906eda83.tar.gz
linux-25461ce8b3d28528f2c55f5e737e99d2906eda83.tar.bz2
linux-25461ce8b3d28528f2c55f5e737e99d2906eda83.zip
net/mlx5e: Use the correct lag ports number when creating TISes
The cited commit moved the code of mlx5e_create_tises() and changed the loop to create TISes over MLX5_MAX_PORTS constant value, instead of getting the correct lag ports supported by the device, which can cause FW errors on devices with less than MLX5_MAX_PORTS ports. Change that back to mlx5e_get_num_lag_ports(mdev). Also IPoIB interfaces create there own TISes, they don't use the eth TISes, pass a flag to indicate that. This fixes the following errors that might appear in kernel log: mlx5_cmd_out_err:808:(pid 650): CREATE_TIS(0x912) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0x595b5d), err(-22) mlx5e_create_mdev_resources:174:(pid 650): alloc tises failed, -22 Fixes: b25bd37c859f ("net/mlx5: Move TISes from priv to mdev HW resources") Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/timer_types.h')
0 files changed, 0 insertions, 0 deletions