From: Leon Romanovsky <leon@kernel.org>
To: Adit Ranadive <aditr@vmware.com>
Cc: dledford@redhat.com, linux-rdma@vger.kernel.org,
pv-drivers@vmware.com, netdev@vger.kernel.org,
linux-pci@vger.kernel.org, jhansen@vmware.com,
asarwade@vmware.com, georgezhang@vmware.com, bryantan@vmware.com
Subject: Re: [PATCH v5 02/16] IB/pvrdma: Add user-level shared functions
Date: Sun, 25 Sep 2016 15:29:36 +0300 [thread overview]
Message-ID: <20160925122936.GC4088@leon.nu> (raw)
In-Reply-To: <20160925072624.GV4088@leon.nu>
[-- Attachment #1: Type: text/plain, Size: 1524 bytes --]
On Sun, Sep 25, 2016 at 10:26:24AM +0300, Leon Romanovsky wrote:
<...>
> > +
> > +/* PVRDMA send queue work request */
> > +struct pvrdma_sq_wqe_hdr {
> > + __u64 wr_id; /* wr id */
> > + __u32 num_sge; /* size of s/g array */
> > + __u32 total_len; /* reserved */
> > + __u32 opcode; /* operation type */
> > + __u32 send_flags; /* wr flags */
> > + union {
> > + __u32 imm_data;
> > + __u32 invalidate_rkey;
> > + } ex;
> > + __u32 reserved;
> > + union {
> > + struct {
> > + __u64 remote_addr;
> > + __u32 rkey;
> > + __u8 reserved[4];
> > + } rdma;
> > + struct {
> > + __u64 remote_addr;
> > + __u64 compare_add;
> > + __u64 swap;
> > + __u32 rkey;
> > + __u32 reserved;
> > + } atomic;
> > + struct {
> > + __u64 remote_addr;
> > + __u32 log_arg_sz;
> > + __u32 rkey;
> > + union {
> > + struct pvrdma_exp_cmp_swap cmp_swap;
> > + struct pvrdma_exp_fetch_add fetch_add;
> > + } wr_data;
> > + } masked_atomics;
> > + struct {
> > + __u64 iova_start;
> > + __u64 pl_pdir_dma;
> > + __u32 page_shift;
> > + __u32 page_list_len;
> > + __u32 length;
> > + __u32 access_flags;
> > + __u32 rkey;
> > + } fast_reg;
> > + struct {
> > + __u32 remote_qpn;
> > + __u32 remote_qkey;
> > + struct pvrdma_av av;
> > + } ud;
> > + } wr;
> > +};
>
> No, I have half-baked patch series which refactors this structure in kernel.
Sorry, this patch series is not needed in kernel.
> There is no need to put this structure in UAPI.
This is still relevant.
Thanks
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-09-25 12:29 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-24 23:21 [PATCH v5 00/16] Add Paravirtual RDMA Driver Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 01/16] vmxnet3: Move PCI Id to pci_ids.h Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 02/16] IB/pvrdma: Add user-level shared functions Adit Ranadive
2016-09-25 7:26 ` Leon Romanovsky
2016-09-25 12:29 ` Leon Romanovsky [this message]
2016-09-26 4:22 ` Adit Ranadive
2016-09-26 6:13 ` Leon Romanovsky
2016-09-26 17:33 ` Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 03/16] IB/pvrdma: Add virtual device RDMA structures Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 04/16] IB/pvrdma: Add the paravirtual RDMA device specification Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 05/16] IB/pvrdma: Add functions for Verbs support Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 06/16] IB/pvrdma: Add paravirtual rdma device Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 07/16] IB/pvrdma: Add helper functions Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 08/16] IB/pvrdma: Add device command support Adit Ranadive
2016-09-26 7:16 ` Yuval Shaia
2016-09-26 18:06 ` Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 09/16] IB/pvrdma: Add support for Completion Queues Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 10/16] IB/pvrdma: Add UAR support Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 11/16] IB/pvrdma: Add support for memory regions Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 12/16] IB/pvrdma: Add Queue Pair support Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 13/16] IB/pvrdma: Add the main driver module for PVRDMA Adit Ranadive
2016-09-25 7:57 ` Leon Romanovsky
2016-09-26 5:10 ` Adit Ranadive
2016-09-26 6:03 ` Leon Romanovsky
2016-09-26 7:27 ` Yuval Shaia
2016-09-26 18:15 ` Adit Ranadive
2016-09-27 9:21 ` David Laight
2016-09-27 18:50 ` Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 14/16] IB/pvrdma: Add Kconfig and Makefile Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 15/16] IB: Add PVRDMA driver Adit Ranadive
2016-09-24 23:21 ` [PATCH v5 16/16] MAINTAINERS: Update for " Adit Ranadive
2016-09-25 7:30 ` Leon Romanovsky
2016-09-26 5:22 ` Adit Ranadive
2016-09-26 5:56 ` Leon Romanovsky
2016-09-25 7:03 ` [PATCH v5 00/16] Add Paravirtual RDMA Driver Leon Romanovsky
2016-09-26 5:25 ` Adit Ranadive
2016-09-26 5:57 ` Leon Romanovsky
2016-09-26 16:51 ` Jason Gunthorpe
2016-09-26 20:40 ` Adit Ranadive
2016-09-26 21:07 ` Jason Gunthorpe
2016-09-26 21:16 ` Adit Ranadive
2016-09-26 22:42 ` Bjorn Helgaas
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=20160925122936.GC4088@leon.nu \
--to=leon@kernel.org \
--cc=aditr@vmware.com \
--cc=asarwade@vmware.com \
--cc=bryantan@vmware.com \
--cc=dledford@redhat.com \
--cc=georgezhang@vmware.com \
--cc=jhansen@vmware.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pv-drivers@vmware.com \
/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).