net/mlx: add debug checks to glue structure
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 2 Feb 2018 16:46:12 +0000 (17:46 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Feb 2018 13:35:07 +0000 (14:35 +0100)
commit2a3b00973d7937e36851c13078d76c02f18e5814
treeebf6fb58c8c1ddc115f2c30b9f3ef0b2e935dc7f
parentaeafacd9d79896ac36921d82aa273fbef5c34c37
net/mlx: add debug checks to glue structure

This code should catch mistakes early if a glue structure member is added
without a corresponding implementation in the library.

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