blob: 4baea81bae7a35dd43cde54a07eb25d0ae40883e [file] [log] [blame]
Jitendra Kalsariad7afae02014-06-23 15:10:34 -04001/* cnic.h: QLogic CNIC core network driver.
Michael Chana4636962009-06-08 18:14:43 -07002 *
Michael Chanc3661282014-03-17 19:19:08 -08003 * Copyright (c) 2006-2014 Broadcom Corporation
Jitendra Kalsariad7afae02014-06-23 15:10:34 -04004 * Copyright (c) 2014 QLogic Corporation
Michael Chana4636962009-06-08 18:14:43 -07005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.
9 *
10 */
11
12
13#ifndef CNIC_H
14#define CNIC_H
15
Dmitry Kravkov523224a2010-10-06 03:23:26 +000016#define HC_INDEX_ISCSI_EQ_CONS 6
17
18#define HC_INDEX_FCOE_EQ_CONS 3
19
20#define HC_SP_INDEX_ETH_ISCSI_CQ_CONS 5
21#define HC_SP_INDEX_ETH_ISCSI_RX_CQ_CONS 1
22
Michael Chana4636962009-06-08 18:14:43 -070023#define KWQ_PAGE_CNT 4
24#define KCQ_PAGE_CNT 16
25
26#define KWQ_CID 24
27#define KCQ_CID 25
28
29/*
30 * krnlq_context definition
31 */
32#define L5_KRNLQ_FLAGS 0x00000000
33#define L5_KRNLQ_SIZE 0x00000000
34#define L5_KRNLQ_TYPE 0x00000000
35#define KRNLQ_FLAGS_PG_SZ (0xf<<0)
36#define KRNLQ_FLAGS_PG_SZ_256 (0<<0)
37#define KRNLQ_FLAGS_PG_SZ_512 (1<<0)
38#define KRNLQ_FLAGS_PG_SZ_1K (2<<0)
39#define KRNLQ_FLAGS_PG_SZ_2K (3<<0)
40#define KRNLQ_FLAGS_PG_SZ_4K (4<<0)
41#define KRNLQ_FLAGS_PG_SZ_8K (5<<0)
42#define KRNLQ_FLAGS_PG_SZ_16K (6<<0)
43#define KRNLQ_FLAGS_PG_SZ_32K (7<<0)
44#define KRNLQ_FLAGS_PG_SZ_64K (8<<0)
45#define KRNLQ_FLAGS_PG_SZ_128K (9<<0)
46#define KRNLQ_FLAGS_PG_SZ_256K (10<<0)
47#define KRNLQ_FLAGS_PG_SZ_512K (11<<0)
48#define KRNLQ_FLAGS_PG_SZ_1M (12<<0)
49#define KRNLQ_FLAGS_PG_SZ_2M (13<<0)
50#define KRNLQ_FLAGS_QE_SELF_SEQ (1<<15)
51#define KRNLQ_SIZE_TYPE_SIZE ((((0x28 + 0x1f) & ~0x1f) / 0x20) << 16)
52#define KRNLQ_TYPE_TYPE (0xf<<28)
53#define KRNLQ_TYPE_TYPE_EMPTY (0<<28)
54#define KRNLQ_TYPE_TYPE_KRNLQ (6<<28)
55
56#define L5_KRNLQ_HOST_QIDX 0x00000004
57#define L5_KRNLQ_HOST_FW_QIDX 0x00000008
58#define L5_KRNLQ_NX_QE_SELF_SEQ 0x0000000c
59#define L5_KRNLQ_QE_SELF_SEQ_MAX 0x0000000c
60#define L5_KRNLQ_NX_QE_HADDR_HI 0x00000010
61#define L5_KRNLQ_NX_QE_HADDR_LO 0x00000014
62#define L5_KRNLQ_PGTBL_PGIDX 0x00000018
63#define L5_KRNLQ_NX_PG_QIDX 0x00000018
64#define L5_KRNLQ_PGTBL_NPAGES 0x0000001c
65#define L5_KRNLQ_QIDX_INCR 0x0000001c
66#define L5_KRNLQ_PGTBL_HADDR_HI 0x00000020
67#define L5_KRNLQ_PGTBL_HADDR_LO 0x00000024
68
69#define BNX2_PG_CTX_MAP 0x1a0034
70#define BNX2_ISCSI_CTX_MAP 0x1a0074
71
Michael Chana4636962009-06-08 18:14:43 -070072#define MAX_COMPLETED_KCQE 64
73
74#define MAX_CNIC_L5_CONTEXT 256
75
76#define MAX_CM_SK_TBL_SZ MAX_CNIC_L5_CONTEXT
77
78#define MAX_ISCSI_TBL_SZ 256
79
80#define CNIC_LOCAL_PORT_MIN 60000
Michael Chan9b093362010-12-23 07:42:56 +000081#define CNIC_LOCAL_PORT_MAX 61024
Michael Chana4636962009-06-08 18:14:43 -070082#define CNIC_LOCAL_PORT_RANGE (CNIC_LOCAL_PORT_MAX - CNIC_LOCAL_PORT_MIN)
83
Michael Chan2bc40782012-12-06 10:33:09 +000084#define KWQE_CNT (BNX2_PAGE_SIZE / sizeof(struct kwqe))
85#define KCQE_CNT (BNX2_PAGE_SIZE / sizeof(struct kcqe))
Michael Chana4636962009-06-08 18:14:43 -070086#define MAX_KWQE_CNT (KWQE_CNT - 1)
87#define MAX_KCQE_CNT (KCQE_CNT - 1)
88
89#define MAX_KWQ_IDX ((KWQ_PAGE_CNT * KWQE_CNT) - 1)
90#define MAX_KCQ_IDX ((KCQ_PAGE_CNT * KCQE_CNT) - 1)
91
Michael Chan2bc40782012-12-06 10:33:09 +000092#define KWQ_PG(x) (((x) & ~MAX_KWQE_CNT) >> (BNX2_PAGE_BITS - 5))
Michael Chana4636962009-06-08 18:14:43 -070093#define KWQ_IDX(x) ((x) & MAX_KWQE_CNT)
94
Michael Chan2bc40782012-12-06 10:33:09 +000095#define KCQ_PG(x) (((x) & ~MAX_KCQE_CNT) >> (BNX2_PAGE_BITS - 5))
Michael Chana4636962009-06-08 18:14:43 -070096#define KCQ_IDX(x) ((x) & MAX_KCQE_CNT)
97
98#define BNX2X_NEXT_KCQE(x) (((x) & (MAX_KCQE_CNT - 1)) == \
99 (MAX_KCQE_CNT - 1)) ? \
100 (x) + 2 : (x) + 1
101
102#define BNX2X_KWQ_DATA_PG(cp, x) ((x) / (cp)->kwq_16_data_pp)
103#define BNX2X_KWQ_DATA_IDX(cp, x) ((x) % (cp)->kwq_16_data_pp)
104#define BNX2X_KWQ_DATA(cp, x) \
105 &(cp)->kwq_16_data[BNX2X_KWQ_DATA_PG(cp, x)][BNX2X_KWQ_DATA_IDX(cp, x)]
106
Eddie Waia9736c02010-02-24 14:42:04 +0000107#define DEF_IPID_START 0x8000
Michael Chana4636962009-06-08 18:14:43 -0700108
109#define DEF_KA_TIMEOUT 10000
110#define DEF_KA_INTERVAL 300000
111#define DEF_KA_MAX_PROBE_COUNT 3
112#define DEF_TOS 0
113#define DEF_TTL 0xfe
114#define DEF_SND_SEQ_SCALE 0
115#define DEF_RCV_BUF 0xffff
116#define DEF_SND_BUF 0xffff
117#define DEF_SEED 0
118#define DEF_MAX_RT_TIME 500
119#define DEF_MAX_DA_COUNT 2
120#define DEF_SWS_TIMER 1000
121#define DEF_MAX_CWND 0xffff
122
123struct cnic_ctx {
124 u32 cid;
125 void *ctx;
126 dma_addr_t mapping;
127};
128
129#define BNX2_MAX_CID 0x2000
130
131struct cnic_dma {
132 int num_pages;
133 void **pg_arr;
134 dma_addr_t *pg_map_arr;
135 int pgtbl_size;
136 u32 *pgtbl;
137 dma_addr_t pgtbl_map;
138};
139
140struct cnic_id_tbl {
141 spinlock_t lock;
142 u32 start;
143 u32 max;
144 u32 next;
145 unsigned long *table;
146};
147
148#define CNIC_KWQ16_DATA_SIZE 128
149
150struct kwqe_16_data {
151 u8 data[CNIC_KWQ16_DATA_SIZE];
152};
153
154struct cnic_iscsi {
155 struct cnic_dma task_array_info;
156 struct cnic_dma r2tq_info;
157 struct cnic_dma hq_info;
158};
159
160struct cnic_context {
161 u32 cid;
162 struct kwqe_16_data *kwqe_data;
163 dma_addr_t kwqe_data_mapping;
164 wait_queue_head_t waitq;
165 int wait_cond;
166 unsigned long timestamp;
Michael Chan6e0dda02010-10-13 14:06:45 +0000167 unsigned long ctx_flags;
168#define CTX_FL_OFFLD_START 0
Michael Chanfdf24082010-10-13 14:06:47 +0000169#define CTX_FL_DELETE_WAIT 1
Vlad Zolotarov619c5cb2011-06-14 14:33:44 +0300170#define CTX_FL_CID_ERROR 2
Michael Chana4636962009-06-08 18:14:43 -0700171 u8 ulp_proto_id;
172 union {
173 struct cnic_iscsi *iscsi;
174 } proto;
175};
176
Michael Chane6c28892010-06-24 14:58:39 +0000177struct kcq_info {
178 struct cnic_dma dma;
179 struct kcqe **kcq;
180
181 u16 *hw_prod_idx_ptr;
182 u16 sw_prod_idx;
183 u16 *status_idx_ptr;
184 u32 io_addr;
Michael Chan59e51372011-06-14 01:32:38 +0000185
186 u16 (*next_idx)(u16);
187 u16 (*hw_idx)(u16);
Michael Chane6c28892010-06-24 14:58:39 +0000188};
189
Eddie Waid15e2a92013-12-31 23:18:34 -0800190#define UIO_USE_TX_DOORBELL 0x017855DB
191
Michael Chancd801532010-10-13 14:06:49 +0000192struct cnic_uio_dev {
193 struct uio_info cnic_uinfo;
194 u32 uio_dev;
195
196 int l2_ring_size;
197 void *l2_ring;
198 dma_addr_t l2_ring_map;
199
200 int l2_buf_size;
201 void *l2_buf;
202 dma_addr_t l2_buf_map;
203
204 struct cnic_dev *dev;
205 struct pci_dev *pdev;
206 struct list_head list;
207};
208
Michael Chana4636962009-06-08 18:14:43 -0700209struct cnic_local {
210
211 spinlock_t cnic_ulp_lock;
212 void *ulp_handle[MAX_CNIC_ULP_TYPE];
213 unsigned long ulp_flags[MAX_CNIC_ULP_TYPE];
214#define ULP_F_INIT 0
215#define ULP_F_START 1
Michael Chan681dbd72009-08-14 15:49:46 +0000216#define ULP_F_CALL_PENDING 2
Eric Dumazet13707f92011-01-26 19:28:23 +0000217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE];
Michael Chana4636962009-06-08 18:14:43 -0700218
Michael Chan1f1332a2010-05-18 11:32:52 +0000219 unsigned long cnic_local_flags;
220#define CNIC_LCL_FL_KWQ_INIT 0x0
Michael Chan48f753d2010-05-18 11:32:53 +0000221#define CNIC_LCL_FL_L2_WAIT 0x1
Michael Chan541a7812010-10-06 03:17:22 +0000222#define CNIC_LCL_FL_RINGS_INITED 0x2
Dmitry Kravkovfab0dc82011-03-31 17:04:22 -0700223#define CNIC_LCL_FL_STOP_ISCSI 0x4
Michael Chana4636962009-06-08 18:14:43 -0700224
225 struct cnic_dev *dev;
226
227 struct cnic_eth_dev *ethdev;
228
Michael Chancd801532010-10-13 14:06:49 +0000229 struct cnic_uio_dev *udev;
Michael Chana4636962009-06-08 18:14:43 -0700230
Michael Chancd801532010-10-13 14:06:49 +0000231 int l2_rx_ring_size;
Michael Chana4636962009-06-08 18:14:43 -0700232 int l2_single_buf_size;
233
234 u16 *rx_cons_ptr;
235 u16 *tx_cons_ptr;
236 u16 rx_cons;
237 u16 tx_cons;
238
Michael Chana4636962009-06-08 18:14:43 -0700239 struct cnic_dma kwq_info;
240 struct kwqe **kwq;
241
242 struct cnic_dma kwq_16_data_info;
243
244 u16 max_kwq_idx;
245
246 u16 kwq_prod_idx;
247 u32 kwq_io_addr;
248
249 u16 *kwq_con_idx_ptr;
250 u16 kwq_con_idx;
251
Michael Chane6c28892010-06-24 14:58:39 +0000252 struct kcq_info kcq1;
Michael Chane21ba412010-12-23 07:43:03 +0000253 struct kcq_info kcq2;
Michael Chana4636962009-06-08 18:14:43 -0700254
Michael Chana4dde3a2010-02-24 14:42:08 +0000255 union {
256 void *gen;
257 struct status_block_msix *bnx2;
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000258 struct host_hc_status_block_e1x *bnx2x_e1x;
259 /* index values - which counter to update */
260 #define SM_RX_ID 0
261 #define SM_TX_ID 1
Michael Chana4dde3a2010-02-24 14:42:08 +0000262 } status_blk;
263
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000264 struct host_sp_status_block *bnx2x_def_status_blk;
Michael Chana4636962009-06-08 18:14:43 -0700265
266 u32 status_blk_num;
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000267 u32 bnx2x_igu_sb_id;
Michael Chana4636962009-06-08 18:14:43 -0700268 u32 int_num;
269 u32 last_status_idx;
270 struct tasklet_struct cnic_irq_task;
271
272 struct kcqe *completed_kcq[MAX_COMPLETED_KCQE];
273
274 struct cnic_sock *csk_tbl;
275 struct cnic_id_tbl csk_port_tbl;
276
Michael Chana4636962009-06-08 18:14:43 -0700277 struct cnic_dma gbl_buf_info;
278
279 struct cnic_iscsi *iscsi_tbl;
280 struct cnic_context *ctx_tbl;
281 struct cnic_id_tbl cid_tbl;
Michael Chana4636962009-06-08 18:14:43 -0700282 atomic_t iscsi_conn;
Michael Chan520efdf2010-06-24 14:58:37 +0000283 u32 iscsi_start_cid;
284
Michael Chane1928c82010-12-23 07:43:04 +0000285 u32 fcoe_init_cid;
286 u32 fcoe_start_cid;
287 struct cnic_id_tbl fcoe_cid_tbl;
288
Michael Chan520efdf2010-06-24 14:58:37 +0000289 u32 max_cid_space;
Michael Chana4636962009-06-08 18:14:43 -0700290
291 /* per connection parameters */
292 int num_iscsi_tasks;
293 int num_ccells;
294 int task_array_size;
295 int r2tq_size;
296 int hq_size;
297 int num_cqs;
298
Michael Chanfdf24082010-10-13 14:06:47 +0000299 struct delayed_work delete_task;
300
Michael Chana4636962009-06-08 18:14:43 -0700301 struct cnic_ctx *ctx_arr;
302 int ctx_blks;
303 int ctx_blk_size;
Michael Chane2513062009-10-10 13:46:58 +0000304 unsigned long ctx_align;
Michael Chana4636962009-06-08 18:14:43 -0700305 int cids_per_blk;
306
307 u32 chip_id;
308 int func;
Vlad Zolotarov619c5cb2011-06-14 14:33:44 +0300309
Michael Chana4636962009-06-08 18:14:43 -0700310 u32 shmem_base;
311
Michael Chana4636962009-06-08 18:14:43 -0700312 struct cnic_ops *cnic_ops;
313 int (*start_hw)(struct cnic_dev *);
314 void (*stop_hw)(struct cnic_dev *);
315 void (*setup_pgtbl)(struct cnic_dev *,
316 struct cnic_dma *);
317 int (*alloc_resc)(struct cnic_dev *);
318 void (*free_resc)(struct cnic_dev *);
319 int (*start_cm)(struct cnic_dev *);
320 void (*stop_cm)(struct cnic_dev *);
321 void (*enable_int)(struct cnic_dev *);
322 void (*disable_int_sync)(struct cnic_dev *);
323 void (*ack_int)(struct cnic_dev *);
Michael Chan8cc0e022012-09-08 06:01:03 +0000324 void (*arm_int)(struct cnic_dev *, u32 index);
Michael Chana4636962009-06-08 18:14:43 -0700325 void (*close_conn)(struct cnic_sock *, u32 opcode);
Michael Chana4636962009-06-08 18:14:43 -0700326};
327
328struct bnx2x_bd_chain_next {
329 u32 addr_lo;
330 u32 addr_hi;
331 u8 reserved[8];
332};
333
Michael Chane2513062009-10-10 13:46:58 +0000334#define ISCSI_DEFAULT_MAX_OUTSTANDING_R2T (1)
335
Michael Chana4636962009-06-08 18:14:43 -0700336#define ISCSI_RAMROD_CMD_ID_UPDATE_CONN (ISCSI_KCQE_OPCODE_UPDATE_CONN)
337#define ISCSI_RAMROD_CMD_ID_INIT (ISCSI_KCQE_OPCODE_INIT)
338
339#define CDU_REGION_NUMBER_XCM_AG 2
340#define CDU_REGION_NUMBER_UCM_AG 4
341
Michael Chane2513062009-10-10 13:46:58 +0000342#define CDU_VALID_DATA(_cid, _region, _type) \
343 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf)))
344
345#define CDU_CRC8(_cid, _region, _type) \
346 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff))
347
348#define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \
349 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
350
351#define BNX2X_CONTEXT_MEM_SIZE 1024
352#define BNX2X_FCOE_CID 16
353
Michael Chane2513062009-10-10 13:46:58 +0000354#define BNX2X_ISCSI_START_CID 18
355#define BNX2X_ISCSI_NUM_CONNECTIONS 128
356#define BNX2X_ISCSI_TASK_CONTEXT_SIZE 128
357#define BNX2X_ISCSI_MAX_PENDING_R2TS 4
358#define BNX2X_ISCSI_R2TQE_SIZE 8
359#define BNX2X_ISCSI_HQ_BD_SIZE 64
Michael Chane2513062009-10-10 13:46:58 +0000360#define BNX2X_ISCSI_GLB_BUF_SIZE 64
361#define BNX2X_ISCSI_PBL_NOT_CACHED 0xff
362#define BNX2X_ISCSI_PDU_HEADER_NOT_CACHED 0xff
Michael Chanceb7e1c2010-10-06 03:14:54 +0000363
Michael Chandc219a22011-08-26 09:45:39 +0000364#define BNX2X_FCOE_NUM_CONNECTIONS 1024
Michael Chane1928c82010-12-23 07:43:04 +0000365
366#define BNX2X_FCOE_L5_CID_BASE MAX_ISCSI_TBL_SZ
367
Michael Chan104a43e2013-09-02 11:42:28 -0700368#define BNX2X_CHIP_IS_E2_PLUS(bp) (CHIP_IS_E2(bp) || CHIP_IS_E3(bp))
Michael Chanee87a822010-10-13 14:06:51 +0000369
Michael Chan2bc40782012-12-06 10:33:09 +0000370#define BNX2X_RX_DESC_CNT (BNX2_PAGE_SIZE / \
371 sizeof(struct eth_rx_bd))
Michael Chane2513062009-10-10 13:46:58 +0000372#define BNX2X_MAX_RX_DESC_CNT (BNX2X_RX_DESC_CNT - 2)
Michael Chan2bc40782012-12-06 10:33:09 +0000373#define BNX2X_RCQ_DESC_CNT (BNX2_PAGE_SIZE / \
374 sizeof(union eth_rx_cqe))
Michael Chane2513062009-10-10 13:46:58 +0000375#define BNX2X_MAX_RCQ_DESC_CNT (BNX2X_RCQ_DESC_CNT - 1)
376
Michael Chan48f753d2010-05-18 11:32:53 +0000377#define BNX2X_NEXT_RCQE(x) (((x) & BNX2X_MAX_RCQ_DESC_CNT) == \
378 (BNX2X_MAX_RCQ_DESC_CNT - 1)) ? \
379 ((x) + 2) : ((x) + 1)
380
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000381#define BNX2X_DEF_SB_ID HC_SP_SB_ID
Michael Chane2513062009-10-10 13:46:58 +0000382
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000383#define BNX2X_SHMEM_MF_BLK_OFFSET 0x7e4
Michael Chane2513062009-10-10 13:46:58 +0000384
385#define BNX2X_SHMEM_ADDR(base, field) (base + \
386 offsetof(struct shmem_region, field))
387
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000388#define BNX2X_SHMEM2_ADDR(base, field) (base + \
389 offsetof(struct shmem2_region, field))
Michael Chane2513062009-10-10 13:46:58 +0000390
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000391#define BNX2X_SHMEM2_HAS(base, field) \
392 ((base) && \
393 (CNIC_RD(dev, BNX2X_SHMEM2_ADDR(base, size)) > \
394 offsetof(struct shmem2_region, field)))
395
Michael Chan4aacb7a2010-12-23 07:43:01 +0000396#define BNX2X_MF_CFG_ADDR(base, field) \
397 ((base) + offsetof(struct mf_cfg, field))
398
Michael Chane1928c82010-12-23 07:43:04 +0000399#ifndef ETH_MAX_RX_CLIENTS_E2
400#define ETH_MAX_RX_CLIENTS_E2 ETH_MAX_RX_CLIENTS_E1H
401#endif
402
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000403#define CNIC_FUNC(cp) ((cp)->func)
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000404
Michael Chan5e65789f2013-09-02 11:42:29 -0700405#define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
406 (BP_VN(bp) << 17) | (x))
Michael Chanceb7e1c2010-10-06 03:14:54 +0000407
408#define BNX2X_SW_CID(x) (x & 0x1ffff)
409
Michael Chan104a43e2013-09-02 11:42:28 -0700410#define BNX2X_CL_QZONE_ID(bp, cli) \
411 (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \
412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
Dmitry Kravkov523224a2010-10-06 03:23:26 +0000413
Vlad Zolotarov619c5cb2011-06-14 14:33:44 +0300414#ifndef MAX_STAT_COUNTER_ID
415#define MAX_STAT_COUNTER_ID \
Michael Chan104a43e2013-09-02 11:42:28 -0700416 (CHIP_IS_E1H(bp) ? MAX_STAT_COUNTER_ID_E1H : \
417 ((BNX2X_CHIP_IS_E2_PLUS(bp)) ? MAX_STAT_COUNTER_ID_E2 : \
Vlad Zolotarov619c5cb2011-06-14 14:33:44 +0300418 MAX_STAT_COUNTER_ID_E1))
419#endif
420
Michael Chan104a43e2013-09-02 11:42:28 -0700421#define CNIC_SUPPORTS_FCOE(cp) \
422 (BNX2X_CHIP_IS_E2_PLUS(bp) && !NO_FCOE(bp))
Michael Chan51a8f542012-09-08 06:01:04 +0000423
Michael Chandcc7e3a2011-08-26 09:45:40 +0000424#define CNIC_RAMROD_TMO (HZ / 4)
425
Michael Chana4636962009-06-08 18:14:43 -0700426#endif
427