IB/hfi1, qib: Add ieth to the packet header definitions
authorJianxin Xiong <jianxin.xiong@intel.com>
Tue, 24 May 2016 19:50:10 +0000 (12:50 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 26 May 2016 16:21:10 +0000 (12:21 -0400)
A new union member "ieth" (Invalidate Extended Transport Header) is
added to the packet header definition in preparation of supporting
the send with invalidate opcode.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/verbs.h
drivers/infiniband/hw/qib/qib_verbs.h

index 3ee223983b20cff52a13d29a6d3101ebbd60c2f9..488356775627809599b6b7702b86d56ef396a2a9 100644 (file)
@@ -152,6 +152,7 @@ union ib_ehdrs {
        } at;
        __be32 imm_data;
        __be32 aeth;
+       __be32 ieth;
        struct ib_atomic_eth atomic_eth;
 }  __packed;
 
index 6888f03c6d61007b6f4d86c1f73b403908e08279..4f878151f81ff43263ea9524f10b09918f94e565 100644 (file)
@@ -159,6 +159,7 @@ struct qib_other_headers {
                } at;
                __be32 imm_data;
                __be32 aeth;
+               __be32 ieth;
                struct ib_atomic_eth atomic_eth;
        } u;
 } __packed;