aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
diff options
context:
space:
mode:
authorFeras Daoud <ferasda@mellanox.com>2018-09-02 22:12:07 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-02 16:22:42 -0700
commit6dae6f06f0fc0096213dde2203c335938d3bde99 (patch)
treeeecde258b2833439dec16d15c0ae2754144bc920 /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
parentMerge branch 'Full-phylink-support-for-mv88e6352' (diff)
downloadlinux-dev-6dae6f06f0fc0096213dde2203c335938d3bde99.tar.xz
linux-dev-6dae6f06f0fc0096213dde2203c335938d3bde99.zip
net/mlx5e: IPoIB, Initialize max_opened_tc in mlx5i_init flow
Enhanced ipoib does not initialize max_opened_tc causing wrong ethtool statistics. As mlx5e_grp_sw_update_stats relies on this variable, without this change, the TX statistics will not be updated. Fixes: 05909babce53 ("net/mlx5e: Avoid reset netdev stats on configuration changes") Signed-off-by: Feras Daoud <ferasda@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h')
0 files changed, 0 insertions, 0 deletions