mlx5: fix Tx loss after initialization
authorOlga Shern <olgas@mellanox.com>
Mon, 23 Nov 2015 14:44:46 +0000 (15:44 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 16:49:27 +0000 (17:49 +0100)
commit0a3b350da823307784fb247b36a334ca5035994f
treecb176a88206920020526c4e29ac52442154e41fd
parent45d7e38c6f11b6d0da3dac00bfe8ebb37ce32bf0
mlx5: fix Tx loss after initialization

Pre-registering mbuf memory pools when creating TX queues avoids costly
registrations later in the data path.

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

Signed-off-by: Olga Shern <olgas@mellanox.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_txq.c