#include "build_check.h"
-#include <linux/libcfs.h>
+#include <libcfs/libcfs.h>
#include <portals/errno.h>
/* This implementation uses the same type for API function return codes and
typedef __u32 ptl_uid_t;
typedef __u32 ptl_jid_t;
typedef __u64 ptl_nid_t;
+typedef __u32 ptl_netid_t;
typedef __u32 ptl_pid_t;
typedef __u32 ptl_pt_index_t;
typedef __u32 ptl_ac_index_t;
#define PTL_JID_ANY ((ptl_jid_t) -1)
#define PTL_NID_ANY ((ptl_nid_t) -1)
#define PTL_PID_ANY ((ptl_pid_t) -1)
+#define PTL_NETID_ANY ((ptl_netid_t) -1)
typedef struct {
ptl_nid_t nid;
typedef struct iovec ptl_md_iovec_t;
typedef struct {
- struct page *kiov_page;
+ cfs_page_t *kiov_page;
unsigned int kiov_len;
unsigned int kiov_offset;
} ptl_kiov_t;