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