net/mlx5: fix handling of small mbuf sizes
authorRaslan Darawsheh <rasland@mellanox.com>
Mon, 24 Oct 2016 08:10:59 +0000 (11:10 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 17:21:41 +0000 (18:21 +0100)
commit4827cbff602aef4d9afcc19742841063a0ecd08f
treedd97819ef896abd183d3758f321a5d344044e5ce
parent609a0767d3dff75322029d201571ab1ddcfd74b5
net/mlx5: fix handling of small mbuf sizes

When mbufs are smaller than MRU, multi-segment support must be enabled to
default set when not in promiscuous or allmulticast modes.

Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support")

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxq.c