linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacques Marais <jacques.marais@vastech.co.za>
To: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: ibv_send_wr untagged union
Date: Tue, 31 Mar 2020 12:42:06 +0000	[thread overview]
Message-ID: <CC88D066-59C0-42D3-9C19-41D1D9FDF3EC@vastech.co.za> (raw)

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

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?

Or should I just send in a patch with it tagged?

Regards,
Jacques Marais

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3915 bytes --]

             reply	other threads:[~2020-03-31 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 12:42 Jacques Marais [this message]
2020-03-31 13:02 ` ibv_send_wr untagged union Jason Gunthorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CC88D066-59C0-42D3-9C19-41D1D9FDF3EC@vastech.co.za \
    --to=jacques.marais@vastech.co.za \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).