[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/18] json: Define new QMP message for pvrdma
From: |
Yuval Shaia |
Subject: |
Re: [Qemu-devel] [PATCH 10/18] json: Define new QMP message for pvrdma |
Date: |
Wed, 7 Nov 2018 10:11:15 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Nov 05, 2018 at 09:58:56AM -0600, Eric Blake wrote:
> On 11/5/18 6:45 AM, Yuval Shaia wrote:
> > pvrdma requires that the same GID attached to it will be attached to the
> > backend device in the host.
> >
> > A new QMP messages is defined so pvrdma device can broadcast any change
> > made to its GID table. This event is captured by libvirt which in turn
> > will update the GID table in the backend device.
> >
> > Signed-off-by: Yuval Shaia <address@hidden>
> > ---
>
> > +++ b/qapi/rdma.json
> > @@ -0,0 +1,34 @@
> > +# -*- Mode: Python -*-
> > +#
> > +
> > +##
> > +# = RDMA device
> > +##
> > +
> > +##
> > +# @RDMA_GID_STATUS_CHANGED:
> > +#
> > +# Emitted when guest driver adds/deletes GID to/from device
> > +#
> > +# @netdev: RoCE Network Device name - char *
> > +#
> > +# @gid-status: Add or delete indication - bool
> > +#
> > +# @subnet-prefix: Subnet Prefix - uint64
> > +#
> > +# @interface-id : Interface ID - uint64
> > +#
> > +# Since: 2.12.1
>
> You've missed 2.12.1 by a long shot. Since we are in soft freeze and this is
> a new feature, the soonest this can be released is in 3.2.
Sure, thanks, will adjust accordingly.
>
> > +#
> > +# Example:
> > +#
> > +# <- { {"timestamp": {"seconds": 1540819325, "microseconds": 504544},
> > +# "event": "ADDGID", "data": {"netdev": "bridge0",
> > +# "interface-id": 7052258031502978997, "subnet-prefix": 33022}}
Also will update this example.
> > +#
> > +##
> > +{ 'event': 'RDMA_GID_STATUS_CHANGED',
> > + 'data': { 'netdev' : 'str',
> > + 'gid-status' : 'bool',
> > + 'subnet-prefix' : 'uint64',
> > + 'interface-id' : 'uint64' } }
> >
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3266
> Virtualization: qemu.org | libvirt.org
- [Qemu-devel] [PATCH 03/18] hw/rdma: Return qpn 1 if ibqp is NULL, (continued)
- [Qemu-devel] [PATCH 03/18] hw/rdma: Return qpn 1 if ibqp is NULL, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 07/18] hw/pvrdma: Make default pkey 0xFFFF, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 09/18] hw/pvrdma: Set the correct opcode for send completion, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 04/18] hw/rdma: Abort send-op if fail to create addr handler, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 13/18] hw/pvrdma: Make sure PCI function 0 is vmxnet3, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 06/18] hw/pvrdma: Make function reset_device return void, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 05/18] hw/rdma: Add support for MAD packets, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 10/18] json: Define new QMP message for pvrdma, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 14/18] hw/rdma: Initialize node_guid from vmxnet3 mac address, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 08/18] hw/pvrdma: Set the correct opcode for recv completion, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 12/18] vmxnet3: Move some definitions to header file, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 15/18] hw/pvrdma: Make device state depend on Ethernet function state, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 11/18] hw/pvrdma: Add support to allow guest to configure GID table, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 16/18] hw/pvrdma: Fill all CQE fields, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 17/18] hw/pvrdma: Fill error code in command's response, Yuval Shaia, 2018/11/05
- [Qemu-devel] [PATCH 18/18] hw/rdma: Remove unneeded code that handles more that one port, Yuval Shaia, 2018/11/05
- Re: [Qemu-devel] [PATCH 00/18] Add support for RDMA MAD, no-reply, 2018/11/05