diff options
author | 2018-07-15 13:59:36 +0300 | |
---|---|---|
committer | 2018-07-31 12:58:45 -0700 | |
commit | 8e1d162d8e81838119de18b4ca1e302ce906f2a6 (patch) | |
tree | b9ee6518a1d1cd768af2577a32a65cfd1523f922 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | net/mlx5e: Fix null pointer access when setting MTU of vport representor (diff) | |
download | linux-dev-8e1d162d8e81838119de18b4ca1e302ce906f2a6.tar.xz linux-dev-8e1d162d8e81838119de18b4ca1e302ce906f2a6.zip |
net/mlx5e: IPoIB, Set the netdevice sw mtu in ipoib enhanced flow
After introduction of the cited commit, mlx5e_build_nic_params
receives the netdevice mtu in order to set the sw_mtu of mlx5e_params.
For enhanced IPoIB, the netdevice mtu is not set in this stage,
therefore, the initial sw_mtu equals zero. As a result, the hw_mtu
of the receive queue will be calculated incorrectly causing traffic
issues.
To fix this issue, query for port mtu before building the nic params.
Fixes: 472a1e44b349 ("net/mlx5e: Save MTU in channels params")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions