]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/vmw_pvrdma: Fix the active_speed and phys_state value
authorAdit Ranadive <aditr@vmware.com>
Mon, 2 Nov 2020 22:54:37 +0000 (22:54 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 3 Nov 2020 00:00:10 +0000 (20:00 -0400)
commit93ba4ccfc242ae9640607181834ce82d88be5f22
tree508da2c5cf0d355cc0f192b2cc902f0bce0cae26
parentca72c297d79321242a3f382ad0c0913531c83f4a
RDMA/vmw_pvrdma: Fix the active_speed and phys_state value

The pvrdma_port_attr structure is ABI toward the hypervisor, changing it
breaks the ability to report the speed properly. Revert the change to u16.

Fixes: c48af78f0dd6 ("RDMA: Fix link active_speed size")
Link: https://lore.kernel.org/r/20201102225437.26557-1-aditr@vmware.com
Reviewed-by: Vishnu Dasa <vdasa@vmware.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h