hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/scsi/libfcoe.h
....@@ -1,19 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
34 * 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.
175 *
186 * Maintained at www.Open-FCoE.org
197 */
....@@ -43,7 +31,7 @@
4331 * FIP tunable parameters.
4432 */
4533 #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) */
4735 #define FCOE_CTLR_FCF_LIMIT 20 /* max. number of FCF entries */
4836 #define FCOE_CTLR_VN2VN_LOGIN_LIMIT 3 /* max. VN2VN rport login retries */
4937
....@@ -261,7 +249,8 @@
261249 struct fc_frame *);
262250
263251 /* 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);
265254 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *,
266255 const struct libfc_function_template *, int init_fcp);
267256 u32 fcoe_fc_crc(struct fc_frame *fp);