![]() |
|
|||
0001 /* 0002 * Copyright (c) 2005 Intel Inc. All rights reserved. 0003 * 0004 * This software is available to you under a choice of one of two 0005 * licenses. You may choose to be licensed under the terms of the GNU 0006 * General Public License (GPL) Version 2, available from the file 0007 * COPYING in the main directory of this source tree, or the 0008 * OpenIB.org BSD license below: 0009 * 0010 * Redistribution and use in source and binary forms, with or 0011 * without modification, are permitted provided that the following 0012 * conditions are met: 0013 * 0014 * - Redistributions of source code must retain the above 0015 * copyright notice, this list of conditions and the following 0016 * disclaimer. 0017 * 0018 * - Redistributions in binary form must reproduce the above 0019 * copyright notice, this list of conditions and the following 0020 * disclaimer in the documentation and/or other materials 0021 * provided with the distribution. 0022 * 0023 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 0024 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 0025 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 0026 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 0027 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 0028 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0029 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 0030 * SOFTWARE. 0031 */ 0032 0033 #ifndef __MAD_RMPP_H__ 0034 #define __MAD_RMPP_H__ 0035 0036 enum { 0037 IB_RMPP_RESULT_PROCESSED, 0038 IB_RMPP_RESULT_CONSUMED, 0039 IB_RMPP_RESULT_INTERNAL, 0040 IB_RMPP_RESULT_UNHANDLED 0041 }; 0042 0043 int ib_send_rmpp_mad(struct ib_mad_send_wr_private *mad_send_wr); 0044 0045 struct ib_mad_recv_wc * 0046 ib_process_rmpp_recv_wc(struct ib_mad_agent_private *agent, 0047 struct ib_mad_recv_wc *mad_recv_wc); 0048 0049 int ib_process_rmpp_send_wc(struct ib_mad_send_wr_private *mad_send_wr, 0050 struct ib_mad_send_wc *mad_send_wc); 0051 0052 void ib_rmpp_send_handler(struct ib_mad_send_wc *mad_send_wc); 0053 0054 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent); 0055 0056 int ib_retry_rmpp(struct ib_mad_send_wr_private *mad_send_wr); 0057 0058 #endif /* __MAD_RMPP_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |