Seth,
I can't think about such scenario for a number of reasons:
1. Such compiler/optimization should throw away the call to
ibv_cmd_get_context().
2. It should skip "write(context->cmd_fd, cmd, cmd_size) != cmd_size)" check
there.
Thanks
--
You received this bug notification because you are
mlx4_init_contex:
https://github.com/linux-rdma/rdma-core/blob/master/providers/mlx4/mlx4.c#L149
-->
ibv_cmd_get_context:
https://github.com/linux-rdma/rdma-core/blob/master/libibverbs/cmd.c#L56
-->
.
-->
mlx4_ib_alloc_ucontext:
http://elixir.free-electrons.com/linux/latest/source/drivers/in
Hi Seth,
The mlx4 driver is legacy one and the code in question was added in
2012.
For example, the resp.qp_tab_size is filled by kernel while calling to
ibv_cmd_get_context, the communication is based on the fact that pointer
to resp_v3.ibv_res is actually pointer to resp_v3.
In 2018, we would
Hi,
The rdma-core is checked with clang, gcc and sparse in Travis CI for
every commit. We do invest time to clean legacy errors/warnings, but our
resources are limited and it takes time to make it error/warning free.
Thanks
--
You received this bug notification because you are a member of Ubunt
ettings allow recording, or there
> is a simple way to switch it on through the settings menu (without
> having to look at a whole lot of switches in alsamixer, not
> understanding their meaning).
--
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | l...@leon.nu
-