Re: ibv_send_wr untagged union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 31, 2020 at 12:42:06PM +0000, Jacques Marais wrote:
> Hi
> 
> I have a question regarding a untagged union field added in commit:
> https://github.com/linux-rdma/rdma-core/commit/f67fa98d3c0cb78c95f84301572eb93989d4b0f9
> 
> Specifically the union in the 'ibv_send_wr' structure:
> https://github.com/linux-rdma/rdma-core/blob/master/libibverbs/verbs.h#L1097-L1100
> 
> We have a golang wrapper library in order to make use of infiniband
> in our system. However golang can only interface with tagged unions.
> 
> Is it possible to tag that union?

No, it is 'api' that it remain untagged

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux