net/mlx: ensure MTU update is effective
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 8 Jun 2016 09:43:26 +0000 (11:43 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 20 Jun 2016 15:21:49 +0000 (17:21 +0200)
commitf3b492d7b4913202b4e01d60c4adb6a25c515d13
treeffc18f15be24318ab81f380a73138ea8f3ccc68d
parent6e0eab380206a9ff0e40ce571818295b49aadb63
net/mlx: ensure MTU update is effective

There is no guarantee that the new MTU is effective after writing its value
to sysfs. Retrieve it to be sure.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5_ethdev.c