Hi, Is there any way to figure out that a cq does not have any pending completion entries and thus is safe to call ibv_destroy_cq. Or is it ok to call destroy regardless of whether there are completion entries? I am seeing a seg fault in ibv_poll_cq if I adopt the latter approach. Thanks Ganesh