[ofa-general] CQ destory

Ganesh Sadasivan gsadasiv7 at gmail.com
Tue Nov 13 15:58:23 PST 2007


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



More information about the general mailing list