diff options
author | John Fleck <john.fleck@intel.com> | 2019-04-11 07:17:21 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-24 11:48:11 -0300 |
commit | 3c176c9d72446217f6451543452692141eb665dc (patch) | |
tree | 947ba1460ab54a124889917c0bc5cc9e899e0f18 /drivers/infiniband/hw/hfi1/tid_rdma.c | |
parent | a9c62e007878ba88b703369c1cd9e26682453665 (diff) | |
download | lwn-3c176c9d72446217f6451543452692141eb665dc.tar.gz lwn-3c176c9d72446217f6451543452692141eb665dc.zip |
IB/hfi1: Remove reference to RHF.VCRCErr
The bit VCRCErr in the receive header flag is actually a
reserved field. Remove bit operations on this field.
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: John Fleck <john.fleck@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/tid_rdma.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/tid_rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/tid_rdma.c b/drivers/infiniband/hw/hfi1/tid_rdma.c index eae6f05ca2fa..cf72bf39ff1e 100644 --- a/drivers/infiniband/hw/hfi1/tid_rdma.c +++ b/drivers/infiniband/hw/hfi1/tid_rdma.c @@ -2920,7 +2920,7 @@ bool hfi1_handle_kdeth_eflags(struct hfi1_ctxtdata *rcd, trace_hfi1_msg_handle_kdeth_eflags(NULL, "Kdeth error: rhf ", packet->rhf); - if (packet->rhf & (RHF_VCRC_ERR | RHF_ICRC_ERR)) + if (packet->rhf & RHF_ICRC_ERR) return ret; packet->ohdr = &hdr->u.oth; |