* rdma_restrack_add/del in uverbs_cmd.c
@ 2019-09-14 10:23 Håkon Bugge
[not found] ` <CALq1K=LeU+SL+QdvD1enMUK7NcwNuGf2_c9DqwTkUz4udpGHcg@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Håkon Bugge @ 2019-09-14 10:23 UTC (permalink / raw)
To: OFED mailing list; +Cc: Jason Gunthorpe, Leon Romanovsky
Hi,
Sorry if this question has an obvious answer.
In uverbs_cmd.c::create_cq(), there is a call to rdma_restrack_add(). I cannot find the parenthetical corresponding rdma_restrack_del(). I do not see it in rdma_core.c nor in uverbs_cmd.c.
uverbs_destroy_uobject() calls the destroy_hw(), so it bypasses the (in this case) ib_destroy_cq_user() which would have called rdma_restrack_del().
I am probably missing something obvious, so my apologies for this noise in advance.
Thxs, Håkon
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rdma_restrack_add/del in uverbs_cmd.c
[not found] ` <CALq1K=LeU+SL+QdvD1enMUK7NcwNuGf2_c9DqwTkUz4udpGHcg@mail.gmail.com>
@ 2019-09-14 11:58 ` Håkon Bugge
0 siblings, 0 replies; 2+ messages in thread
From: Håkon Bugge @ 2019-09-14 11:58 UTC (permalink / raw)
To: Leon Romanovsky; +Cc: OFED mailing list, Jason Gunthorpe
:-)
> On 14 Sep 2019, at 13:55, Leon Romanovsky <leon@kernel.org> wrote:
>
> Take a look in verb.c
> ib_destroy_cq_user()
>
> On Sat, Sep 14, 2019, 13:23 Håkon Bugge <haakon.bugge@oracle.com> wrote:
> Hi,
>
> Sorry if this question has an obvious answer.
>
> In uverbs_cmd.c::create_cq(), there is a call to rdma_restrack_add(). I cannot find the parenthetical corresponding rdma_restrack_del(). I do not see it in rdma_core.c nor in uverbs_cmd.c.
>
> uverbs_destroy_uobject() calls the destroy_hw(), so it bypasses the (in this case) ib_destroy_cq_user() which would have called rdma_restrack_del().
>
> I am probably missing something obvious, so my apologies for this noise in advance.
>
>
> Thxs, Håkon
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-14 11:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-14 10:23 rdma_restrack_add/del in uverbs_cmd.c Håkon Bugge
[not found] ` <CALq1K=LeU+SL+QdvD1enMUK7NcwNuGf2_c9DqwTkUz4udpGHcg@mail.gmail.com>
2019-09-14 11:58 ` Håkon Bugge
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.