Commit 62644c1d authored by Mike Marciniszyn's avatar Mike Marciniszyn Committed by Jason Gunthorpe

IB/hfi1: Make opfn.h self sufficient

The opfn.h include file build-ablility depends on the including file
having the correct includes.

Fix by making opfn.h self sufficient.
Reviewed-by: default avatarKaike Wan <kaike.wan@intel.com>
Signed-off-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent ea752bc5
...@@ -47,12 +47,14 @@ ...@@ -47,12 +47,14 @@
* for future transactions * for future transactions
*/ */
#include <linux/workqueue.h>
#include <rdma/ib_verbs.h>
#include <rdma/rdmavt_qp.h>
/* STL Verbs Extended */ /* STL Verbs Extended */
#define IB_BTHE_E_SHIFT 24 #define IB_BTHE_E_SHIFT 24
#define HFI1_VERBS_E_ATOMIC_VADDR U64_MAX #define HFI1_VERBS_E_ATOMIC_VADDR U64_MAX
struct ib_atomic_eth;
enum hfi1_opfn_codes { enum hfi1_opfn_codes {
STL_VERBS_EXTD_NONE = 0, STL_VERBS_EXTD_NONE = 0,
STL_VERBS_EXTD_TID_RDMA, STL_VERBS_EXTD_TID_RDMA,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment