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

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

Fixes: 7fae69eeff13 ("mlx4: new poll mode driver")

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