hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/rdma/mr_pool.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2016 HGST, a Western Digital Company.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
124 */
135 #ifndef _RDMA_MR_POOL_H
146 #define _RDMA_MR_POOL_H 1
....@@ -19,7 +11,7 @@
1911 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
2012
2113 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr,
22
- enum ib_mr_type type, u32 max_num_sg);
14
+ enum ib_mr_type type, u32 max_num_sg, u32 max_num_meta_sg);
2315 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list);
2416
2517 #endif /* _RDMA_MR_POOL_H */