RDMA/vmw_pvrdma: Report network header type in WC
authorAditya Sarwade <asarwade@vmware.com>
Tue, 29 Aug 2017 22:51:29 +0000 (15:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 Aug 2017 12:35:08 +0000 (08:35 -0400)
commit72f9b089ecd2cc2194d27cbb14fd80a0b1472e89
treefaf4dcc21a971f63acf130cc57c2e230dfcb54b3
parent79364227e6b4923478e99d8480d62482b588ef84
RDMA/vmw_pvrdma: Report network header type in WC

We should report the network header type in the work completion so that
the kernel can infer the right RoCE type headers.

Reviewed-by: Bryan Tan <bryantan@vmware.com>
Signed-off-by: Aditya Sarwade <asarwade@vmware.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
include/uapi/rdma/vmw_pvrdma-abi.h