mad.h (3dd1faf89b418f036ff664edbf04d4e266e2ceaa) mad.h (3711baf27d78475436b063f33399908ba208a8f2)
1#ifndef DEF_RVTMAD_H
2#define DEF_RVTMAD_H
3
4/*
5 * Copyright(c) 2015 Intel Corporation.
6 *
7 * This file is provided under a dual BSD/GPLv2 license. When using or
8 * redistributing this file, you may do so under either license.

--- 41 unchanged lines hidden (view full) ---

50
51#include <rdma/rdma_vt.h>
52
53int rvt_process_mad(struct ib_device *ibdev, int mad_flags, u8 port,
54 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
55 const struct ib_mad_hdr *in, size_t in_mad_size,
56 struct ib_mad_hdr *out, size_t *out_mad_size,
57 u16 *out_mad_pkey_index);
1#ifndef DEF_RVTMAD_H
2#define DEF_RVTMAD_H
3
4/*
5 * Copyright(c) 2015 Intel Corporation.
6 *
7 * This file is provided under a dual BSD/GPLv2 license. When using or
8 * redistributing this file, you may do so under either license.

--- 41 unchanged lines hidden (view full) ---

50
51#include <rdma/rdma_vt.h>
52
53int rvt_process_mad(struct ib_device *ibdev, int mad_flags, u8 port,
54 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
55 const struct ib_mad_hdr *in, size_t in_mad_size,
56 struct ib_mad_hdr *out, size_t *out_mad_size,
57 u16 *out_mad_pkey_index);
58
58int rvt_create_mad_agents(struct rvt_dev_info *rdi);
59void rvt_free_mad_agents(struct rvt_dev_info *rdi);
59#endif /* DEF_RVTMAD_H */
60#endif /* DEF_RVTMAD_H */