mlx4: allow application to partially fork
authorOlga Shern <olgas@mellanox.com>
Tue, 30 Jun 2015 09:27:52 +0000 (11:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 1 Jul 2015 08:55:40 +0000 (10:55 +0200)
commit643777a171acc19b578ba867db12774986585a4d
tree58b0cadea7f599aa7ef241c1e7515778cda68648
parentdecb8794084b8e1f7277483cf3ce812a40cae5c4
mlx4: allow application to partially fork

Although using the PMD from a forked process is still unsupported, this
commit makes Verbs safe enough for applications to call fork() for other
purposes.

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