qemu-e2k/hw/rdma/vmw
Yuval Shaia 2b05705dc8 hw/pvrdma: Add support to allow guest to configure GID table
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 a change is made to the pvrdma port's GID table a special QMP
message is sent to be processed by libvirt to update the address of the
backend Ethernet device.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2018-12-22 11:09:56 +02:00
..
pvrdma.h hw/pvrdma: Add support to allow guest to configure GID table 2018-12-22 11:09:56 +02:00
pvrdma_cmd.c hw/pvrdma: Add support to allow guest to configure GID table 2018-12-22 11:09:56 +02:00
pvrdma_dev_ring.c hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
pvrdma_dev_ring.h Clean up includes 2018-12-20 10:29:08 +01:00
pvrdma_main.c hw/pvrdma: Add support to allow guest to configure GID table 2018-12-22 11:09:56 +02:00
pvrdma_qp_ops.c hw/pvrdma: Add support to allow guest to configure GID table 2018-12-22 11:09:56 +02:00
pvrdma_qp_ops.h
trace-events hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00