[openib-general] [PATCH] ib_verbs.h: Update to new process_mad AP
Hal Rosenstock
halr at voltaire.com
Mon Sep 13 21:46:37 PDT 2004
ib_verbs.h: Update to new process_mad API
Integrated Roland's patch for this from his branch onto openib-candidate
branch
Index: ib_verbs.h
===================================================================
--- ib_verbs.h (revision 817)
+++ ib_verbs.h (revision 816)
@@ -632,13 +632,6 @@
IB_MAD_IGNORE_MKEY = 1
};
-enum ib_mad_result {
- IB_MAD_RESULT_FAILURE = 0, /* (!SUCCESS is the important
flag) */
- IB_MAD_RESULT_SUCCESS = 1 << 0, /* MAD was successfully
processed */
- IB_MAD_RESULT_REPLY = 1 << 1, /* Reply packet needs to be
sent */
- IB_MAD_RESULT_CONSUMED = 1 << 2 /* Packet consumed: stop
processing */
-};
-
#define IB_DEVICE_NAME_MAX 64
struct ib_device {
@@ -755,8 +748,6 @@
int (*req_n_notify_cq)(struct ib_cq *cq, int
wc_cnt);
int (*process_mad)(struct ib_device *device,
int process_mad_flags,
- u8 port_num,
- u16 source_lid,
struct ib_mad *in_mad,
struct ib_mad *out_mad);
More information about the general
mailing list