Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-10-27 Thread Tzahi Oved
On 22/09/2013 10:32, Matan Barak wrote: On 18/9/2013 1:07 PM, Yann Droneaud wrote: Hi, Le 18.09.2013 10:40, Matan Barak a écrit : On 17/9/2013 6:43 PM, Yann Droneaud wrote: Le 17.09.2013 17:13, Matan Barak a écrit : On 17/9/2013 1:25 PM, Yann Droneaud wrote: Hi, Le 17.09.2013 12:02, Matan

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-22 Thread Matan Barak
On 18/9/2013 1:07 PM, Yann Droneaud wrote: Hi, Le 18.09.2013 10:40, Matan Barak a écrit : On 17/9/2013 6:43 PM, Yann Droneaud wrote: Le 17.09.2013 17:13, Matan Barak a écrit : On 17/9/2013 1:25 PM, Yann Droneaud wrote: Hi, Le 17.09.2013 12:02, Matan Barak a écrit : That's right - we're

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-18 Thread Yann Droneaud
Hi, Le 18.09.2013 10:40, Matan Barak a écrit : On 17/9/2013 6:43 PM, Yann Droneaud wrote: Le 17.09.2013 17:13, Matan Barak a écrit : On 17/9/2013 1:25 PM, Yann Droneaud wrote: Hi, Le 17.09.2013 12:02, Matan Barak a écrit : That's right - we're not checking anything here. struct

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-17 Thread Matan Barak
On 11/9/2013 3:36 PM, Yann Droneaud wrote: Le 11.09.2013 13:32, Or Gerlitz a écrit : On 11/09/2013 12:52, Yann Droneaud wrote: Le 10.09.2013 16:41, Or Gerlitz a écrit : +static ssize_t ucma_init_qp_attr_ex(struct ucma_file *file, +const char __user *inbuf, +

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-17 Thread Yann Droneaud
Hi, Le 17.09.2013 12:02, Matan Barak a écrit : That's right - we're not checking anything here. struct ib_uverbs_qp_attr_ex contains 2 user pointers: + /* represents: struct ib_uverbs_ah_attr_ex * __user */ + void __user *ah_attr_ex; + /* represents: struct

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-17 Thread Matan Barak
On 17/9/2013 1:25 PM, Yann Droneaud wrote: Hi, Le 17.09.2013 12:02, Matan Barak a écrit : That's right - we're not checking anything here. struct ib_uverbs_qp_attr_ex contains 2 user pointers: + /* represents: struct ib_uverbs_ah_attr_ex * __user */ + void __user *ah_attr_ex; +

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-17 Thread Yann Droneaud
Le 17.09.2013 17:13, Matan Barak a écrit : On 17/9/2013 1:25 PM, Yann Droneaud wrote: Hi, Le 17.09.2013 12:02, Matan Barak a écrit : That's right - we're not checking anything here. struct ib_uverbs_qp_attr_ex contains 2 user pointers: + /* represents: struct ib_uverbs_ah_attr_ex *

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-11 Thread Or Gerlitz
On 11/09/2013 12:52, Yann Droneaud wrote: Le 10.09.2013 16:41, Or Gerlitz a écrit : +static ssize_t ucma_init_qp_attr_ex(struct ucma_file *file, +const char __user *inbuf, +int in_len, int out_len) +{ +struct rdma_ucm_init_qp_attr_ex cmd; +struct

Re: [PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-11 Thread Yann Droneaud
Le 11.09.2013 13:32, Or Gerlitz a écrit : On 11/09/2013 12:52, Yann Droneaud wrote: Le 10.09.2013 16:41, Or Gerlitz a écrit : +static ssize_t ucma_init_qp_attr_ex(struct ucma_file *file, +const char __user *inbuf, +int in_len, int out_len) +{ +struct

[PATCH V4 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-09-10 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com Add rdma_ucm support for RoCE (IBoE) IP based addressing extensions towards librdmacm Extend INIT_QP_ATTR and QUERY_ROUTE ucma commands. INIT_QP_ATTR_EX uses struct ib_uverbs_qp_attr_ex QUERY_ROUTE_EX uses struct rdma_ucm_query_route_resp_ex which in turn