![]() |
|
|||
0001 /* 0002 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 0003 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. 0004 * Copyright (c) 2004 Intel Corporation. All rights reserved. 0005 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 0006 * Copyright (c) 2004 Voltaire Corporation. All rights reserved. 0007 * 0008 * This software is available to you under a choice of one of two 0009 * licenses. You may choose to be licensed under the terms of the GNU 0010 * General Public License (GPL) Version 2, available from the file 0011 * COPYING in the main directory of this source tree, or the 0012 * OpenIB.org BSD license below: 0013 * 0014 * Redistribution and use in source and binary forms, with or 0015 * without modification, are permitted provided that the following 0016 * conditions are met: 0017 * 0018 * - Redistributions of source code must retain the above 0019 * copyright notice, this list of conditions and the following 0020 * disclaimer. 0021 * 0022 * - Redistributions in binary form must reproduce the above 0023 * copyright notice, this list of conditions and the following 0024 * disclaimer in the documentation and/or other materials 0025 * provided with the distribution. 0026 * 0027 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 0028 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 0029 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 0030 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 0031 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 0032 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0033 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 0034 * SOFTWARE. 0035 */ 0036 0037 #ifndef __AGENT_H_ 0038 #define __AGENT_H_ 0039 0040 #include <linux/err.h> 0041 #include <rdma/ib_mad.h> 0042 0043 extern int ib_agent_port_open(struct ib_device *device, int port_num); 0044 0045 extern int ib_agent_port_close(struct ib_device *device, int port_num); 0046 0047 extern void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, 0048 const struct ib_wc *wc, const struct ib_device *device, 0049 int port_num, int qpn, size_t resp_mad_len, bool opa); 0050 0051 #endif /* __AGENT_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |