.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved. |
---|
3 | 4 | * Copyright (c) 2007-2008 Intel Corporation. All rights reserved. |
---|
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 for |
---|
12 | | - * more details. |
---|
13 | | - * |
---|
14 | | - * You should have received a copy of the GNU General Public License along with |
---|
15 | | - * this program; if not, write to the Free Software Foundation, Inc., |
---|
16 | | - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
---|
17 | 5 | * |
---|
18 | 6 | * Maintained at www.Open-FCoE.org |
---|
19 | 7 | */ |
---|
.. | .. |
---|
43 | 31 | * FIP tunable parameters. |
---|
44 | 32 | */ |
---|
45 | 33 | #define FCOE_CTLR_START_DELAY 2000 /* mS after first adv. to choose FCF */ |
---|
46 | | -#define FCOE_CTRL_SOL_TOV 2000 /* min. solicitation interval (mS) */ |
---|
| 34 | +#define FCOE_CTLR_SOL_TOV 2000 /* min. solicitation interval (mS) */ |
---|
47 | 35 | #define FCOE_CTLR_FCF_LIMIT 20 /* max. number of FCF entries */ |
---|
48 | 36 | #define FCOE_CTLR_VN2VN_LOGIN_LIMIT 3 /* max. VN2VN rport login retries */ |
---|
49 | 37 | |
---|
.. | .. |
---|
261 | 249 | struct fc_frame *); |
---|
262 | 250 | |
---|
263 | 251 | /* libfcoe funcs */ |
---|
264 | | -u64 fcoe_wwn_from_mac(unsigned char mac[MAX_ADDR_LEN], unsigned int, unsigned int); |
---|
| 252 | +u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme, |
---|
| 253 | + unsigned int port); |
---|
265 | 254 | int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, |
---|
266 | 255 | const struct libfc_function_template *, int init_fcp); |
---|
267 | 256 | u32 fcoe_fc_crc(struct fc_frame *fp); |
---|