net/mlx5: improve stack usage during link update
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 30 Aug 2017 14:47:07 +0000 (16:47 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit37a4406cdf457fb636d3bcdd0a1922fdef23f55a
tree3756168a39e6ce6e3babf223f57321cbe36d80b4
parent90260d577b61685365b7cf1a6151b9ed6b108f2d
net/mlx5: improve stack usage during link update

Allocate no more memory than necessary for the second call to
ETHTOOL_GLINKSETTINGS.

Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c