IB/mad: Add support for additional MAD info to/from drivers
[sfrench/cifs-2.6.git] / drivers / infiniband / hw / amso1100 / c2_provider.c
index adfcef0946f73fed3180eb42a056c8a11db2f689..25c3f008556380eb87678a3129fe2051158cdf82 100644 (file)
@@ -592,7 +592,11 @@ static int c2_process_mad(struct ib_device *ibdev,
                          u8 port_num,
                          const struct ib_wc *in_wc,
                          const struct ib_grh *in_grh,
-                         const struct ib_mad *in_mad, struct ib_mad *out_mad)
+                         const struct ib_mad_hdr *in_mad,
+                         size_t in_mad_size,
+                         struct ib_mad_hdr *out_mad,
+                         size_t *out_mad_size,
+                         u16 *out_mad_pkey_index)
 {
        pr_debug("%s:%u\n", __func__, __LINE__);
        return -ENOSYS;