[Bug 1732892] Re: [MIR] 18.04 rdma-core as replacement for older ibverbs code

2018-01-21 Thread Leon Romanovsky
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

[Bug 1732892] Re: [MIR] 18.04 rdma-core as replacement for older ibverbs code

2018-01-10 Thread Leon Romanovsky
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

[Bug 1732892] Re: [MIR] 18.04 rdma-core as replacement for older ibverbs code

2018-01-10 Thread Leon Romanovsky
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

[Bug 1732892] Re: [MIR] 18.04 rdma-core as replacement for older ibverbs code

2018-01-09 Thread Leon Romanovsky
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

Re: [Ac100] [Bug 1046412] Re: [tegra-alc5632 - tegra-alc5632, recording] The default settings should allow recording, or it should be easy to configure

2012-09-05 Thread Leon Romanovsky
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 -