net/mlx5: remove assert un-accessible from secondary process
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 25 Jan 2018 16:18:00 +0000 (18:18 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit1b2a3baaed8a8c5165bc6d8ef9164a10183b2310
tree381969971da61ca882f58a20f75d7e16cf5bb7bc
parenta482a41a638749b2a5b9a1f37c8774453274a8f8
net/mlx5: remove assert un-accessible from secondary process

Verbs structs such as ibv_mr are not accessible from the secondary
process.

Choose to remove the assert in favor of performing more checks on the
critical data path.

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.h