mlx5: fix memory registration for indirect mbuf data
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Mon, 23 Nov 2015 14:44:44 +0000 (15:44 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 16:49:27 +0000 (17:49 +0100)
commit8340392e9b3b65996ca95cc09fc621744ced36b5
treed8eed90623ae1f756d0f8adfc0d17098ce3225db
parentf4acfd4176a249a8b70369569fd4001a2b04b00a
mlx5: fix memory registration for indirect mbuf data

Indirect mbuf data may come from a different mempool which must be
registered separately as another memory region, otherwise such mbufs cannot
be sent.

Fixes: 2e22920b85d9 ("mlx5: support non-scattered Tx and Rx")

Signed-off-by: Jesper Wramberg <jesper.wramberg@gmail.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c