xref: /linux-6.15/include/linux/qed/roce_common.h (revision e8f1cb50)
17a9b6b8fSYuval Mintz /* QLogic qed NIC Driver
2*e8f1cb50SMintz, Yuval  * Copyright (c) 2015-2017  QLogic Corporation
37a9b6b8fSYuval Mintz  *
4*e8f1cb50SMintz, Yuval  * This software is available to you under a choice of one of two
5*e8f1cb50SMintz, Yuval  * licenses.  You may choose to be licensed under the terms of the GNU
6*e8f1cb50SMintz, Yuval  * General Public License (GPL) Version 2, available from the file
7*e8f1cb50SMintz, Yuval  * COPYING in the main directory of this source tree, or the
8*e8f1cb50SMintz, Yuval  * OpenIB.org BSD license below:
9*e8f1cb50SMintz, Yuval  *
10*e8f1cb50SMintz, Yuval  *     Redistribution and use in source and binary forms, with or
11*e8f1cb50SMintz, Yuval  *     without modification, are permitted provided that the following
12*e8f1cb50SMintz, Yuval  *     conditions are met:
13*e8f1cb50SMintz, Yuval  *
14*e8f1cb50SMintz, Yuval  *      - Redistributions of source code must retain the above
15*e8f1cb50SMintz, Yuval  *        copyright notice, this list of conditions and the following
16*e8f1cb50SMintz, Yuval  *        disclaimer.
17*e8f1cb50SMintz, Yuval  *
18*e8f1cb50SMintz, Yuval  *      - Redistributions in binary form must reproduce the above
19*e8f1cb50SMintz, Yuval  *        copyright notice, this list of conditions and the following
20*e8f1cb50SMintz, Yuval  *        disclaimer in the documentation and /or other materials
21*e8f1cb50SMintz, Yuval  *        provided with the distribution.
22*e8f1cb50SMintz, Yuval  *
23*e8f1cb50SMintz, Yuval  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24*e8f1cb50SMintz, Yuval  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25*e8f1cb50SMintz, Yuval  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26*e8f1cb50SMintz, Yuval  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27*e8f1cb50SMintz, Yuval  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28*e8f1cb50SMintz, Yuval  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29*e8f1cb50SMintz, Yuval  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30*e8f1cb50SMintz, Yuval  * SOFTWARE.
317a9b6b8fSYuval Mintz  */
327a9b6b8fSYuval Mintz 
337a9b6b8fSYuval Mintz #ifndef __ROCE_COMMON__
347a9b6b8fSYuval Mintz #define __ROCE_COMMON__
357a9b6b8fSYuval Mintz 
367a9b6b8fSYuval Mintz #define ROCE_REQ_MAX_INLINE_DATA_SIZE (256)
377a9b6b8fSYuval Mintz #define ROCE_REQ_MAX_SINGLE_SQ_WQE_SIZE (288)
387a9b6b8fSYuval Mintz 
397a9b6b8fSYuval Mintz #define ROCE_MAX_QPS	(32 * 1024)
407a9b6b8fSYuval Mintz 
417a9b6b8fSYuval Mintz #endif /* __ROCE_COMMON__ */
42