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

2013-09-10 Thread Or Gerlitz
From: Matan Barak Add uverbs support for RoCE (IBoE) IP based addressing extensions towards user space libraries. Under ip based gid addressing, for RC QPs, QP attributes should contain the Ethernet L2 destination. Until now, indicatings GID was sufficient. When using ip encoded in gids, the QP

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

2013-09-11 Thread meuh
Le 10.09.2013 16:41, Or Gerlitz a écrit : From: Matan Barak Add uverbs support for RoCE (IBoE) IP based addressing extensions towards user space libraries. Under ip based gid addressing, for RC QPs, QP attributes should contain the Ethernet L2 destination. Until now, indicatings GID was suffi

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

2013-09-11 Thread Or Gerlitz
On 11/09/2013 13:06, m...@meuh.org wrote: @@ -672,6 +821,15 @@ struct ib_uverbs_create_ah { struct ib_uverbs_ah_attr attr; }; +struct ib_uverbs_create_ah_ex { +__u32 comp_mask; This create a hole or introduced unaligned access depending on the 64bits ABI. Matan is OOO for couple

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

2013-09-11 Thread Yann Droneaud
Le 11.09.2013 13:38, Or Gerlitz a écrit : On 11/09/2013 13:06, m...@meuh.org wrote: @@ -672,6 +821,15 @@ struct ib_uverbs_create_ah { struct ib_uverbs_ah_attr attr; }; +struct ib_uverbs_create_ah_ex { +__u32 comp_mask; This create a hole or introduced unaligned access depending on