qed: verify RoCE resource bitmaps are released
authorRam Amrani <Ram.Amrani@cavium.com>
Sun, 30 Apr 2017 08:49:08 +0000 (11:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 15:42:14 +0000 (11:42 -0400)
commite015d58b44a93a3fd89ed910d68659dfdc57237c
tree776b5a7f9fb74e62df243b06de4966ff7446e9d7
parent105361943d3036f00f70a6621983b98673839591
qed: verify RoCE resource bitmaps are released

Add mechanism to verify RoCE resources are released prior to freeing the
bitmaps. If this is not the case, print what resources were not released.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_roce.c
drivers/net/ethernet/qlogic/qed/qed_roce.h