[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 11/23] hw/pvrdma: Add support to allow guest
From: |
Yuval Shaia |
Subject: |
Re: [Qemu-devel] [PATCH v7 11/23] hw/pvrdma: Add support to allow guest to configure GID table |
Date: |
Mon, 17 Dec 2018 20:31:42 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Dec 17, 2018 at 10:02:19AM -0600, Eric Blake wrote:
> On 12/17/18 2:10 AM, Yuval Shaia wrote:
> > The control over the RDMA device's GID table is done by updating the
> > device's Ethernet function addresses.
> > Usually the first GID entry is determined by the MAC address, the second
> > by the first IPv6 address and the third by the IPv4 address. Other
> > entries can be added by adding more IP addresses. The opposite is the
> > same, i.e. whenever an address is removed, the corresponding GID entry
> > is removed.
> >
> > The process is done by the network and RDMA stacks. Whenever an address
> > is added the ib_core driver is notified and calls the device driver
> > add_gid function which in turn update the device.
> >
> > To support this in pvrdma device we need to hook into the create_bind
> > and destroy_bind HW commands triggered by pvrdma driver in guest.
> > Whenever changed is made to the pvrdma port's GID table a special QMP
>
> s/changed/a change/
>
> > messages is sent to be processed by libvirt to update the address of the
>
> s/messages/message/
Thanks!
Will fix and send v8
>
> > backend Ethernet device.
> >
> > Signed-off-by: Yuval Shaia <address@hidden>
> > Reviewed-by: Marcel Apfelbaum<address@hidden>
> > ---
>
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3266
> Virtualization: qemu.org | libvirt.org
- [Qemu-devel] [PATCH v7 07/23] hw/pvrdma: Make default pkey 0xFFFF, (continued)
- [Qemu-devel] [PATCH v7 07/23] hw/pvrdma: Make default pkey 0xFFFF, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 05/23] hw/rdma: Add support for MAD packets, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 10/23] qapi: Define new QMP message for pvrdma, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 08/23] hw/pvrdma: Set the correct opcode for recv completion, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 09/23] hw/pvrdma: Set the correct opcode for send completion, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 12/23] vmxnet3: Move some definitions to header file, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 11/23] hw/pvrdma: Add support to allow guest to configure GID table, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 13/23] hw/pvrdma: Make sure PCI function 0 is vmxnet3, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 15/23] hw/pvrdma: Make device state depend on Ethernet function state, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 14/23] hw/rdma: Initialize node_guid from vmxnet3 mac address, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 16/23] hw/pvrdma: Fill all CQE fields, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 17/23] hw/pvrdma: Fill error code in command's response, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 18/23] hw/rdma: Remove unneeded code that handles more that one port, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 19/23] vl: Introduce shutdown_notifiers, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 20/23] hw/pvrdma: Clean device's resource when system is shutdown, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 21/23] hw/rdma: Do not use bitmap_zero_extend to free bitmap, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 23/23] docs: Update pvrdma device documentation, Yuval Shaia, 2018/12/17