mlx4: allow operation in secondary processes
authorOr Ami <ora@mellanox.com>
Mon, 23 Nov 2015 14:44:42 +0000 (15:44 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 16:49:27 +0000 (17:49 +0100)
commite9d39be873d710e1b5d1ccf6926eca44475a6f34
treee2059655ea37e28b18a4650995a95942d77292c7
parent4f52bbfb0e1aa91ea388db10abda78eab7b0b1df
mlx4: allow operation in secondary processes

Secondary processes are expected to use queues and other resources
allocated by the primary, however Verbs resources can only be shared
between processes when inherited through fork().

This limitation can be worked around for TX by configuring separate queues
from secondary processes.

Signed-off-by: Or Ami <ora@mellanox.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c