net/mlx5: fix MTU update
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 3 Aug 2017 09:31:27 +0000 (11:31 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 3 Aug 2017 21:12:17 +0000 (23:12 +0200)
commita0edafe4099b1ef139242abb7baa2c2a48b83fd2
tree92e60fa2fae1804b1614605fa519dee096fb2768
parent5f4677c6ad5e16e36497afb564a94a5d35fed35a
net/mlx5: fix MTU update

Changing the MTU is not related to changing the number of segments,
activating or not the multi-segment support should be handled by the
application.

Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h