.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Huawei HiNIC PCI Express Linux driver |
---|
3 | 4 | * Copyright(c) 2017 Huawei Technologies Co., Ltd |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms and conditions of the GNU General Public License, |
---|
7 | | - * version 2, as published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
12 | | - * for more details. |
---|
13 | | - * |
---|
14 | 5 | */ |
---|
15 | 6 | |
---|
16 | 7 | #ifndef HINIC_HW_QP_CTXT_H |
---|
.. | .. |
---|
201 | 192 | u32 wq_block_lo_pfn; |
---|
202 | 193 | }; |
---|
203 | 194 | |
---|
| 195 | +struct hinic_clean_queue_ctxt { |
---|
| 196 | + struct hinic_qp_ctxt_header cmdq_hdr; |
---|
| 197 | + u32 ctxt_size; |
---|
| 198 | +}; |
---|
| 199 | + |
---|
204 | 200 | struct hinic_sq_ctxt_block { |
---|
205 | 201 | struct hinic_qp_ctxt_header hdr; |
---|
206 | 202 | struct hinic_sq_ctxt sq_ctxt[HINIC_Q_CTXT_MAX]; |
---|