linux/drivers/scsi/fcoe/fcoe.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright(c) 2009 Intel Corporation. All rights reserved.
 *
 * Maintained at www.Open-FCoE.org
 */

#ifndef _FCOE_H_
#define _FCOE_H_

#include <linux/skbuff.h>
#include <linux/kthread.h>

#define FCOE_MAX_QUEUE_DEPTH
#define FCOE_MIN_QUEUE_DEPTH

#define FCOE_WORD_TO_BYTE

#define FCOE_VERSION
#define FCOE_NAME
#define FCOE_VENDOR

#define FCOE_MAX_LUN
#define FCOE_MAX_FCP_TARGET

#define FCOE_MAX_OUTSTANDING_COMMANDS

#define FCOE_MIN_XID
#define FCOE_MAX_XID

extern unsigned int fcoe_debug_logging;

#define FCOE_LOGGING
#define FCOE_NETDEV_LOGGING

#define FCOE_CHECK_LOGGING(LEVEL, CMD)

#define FCOE_DBG(fmt, args...)

#define FCOE_NETDEV_DBG(netdev, fmt, args...)

/**
 * struct fcoe_interface - A FCoE interface
 * @list:	      Handle for a list of FCoE interfaces
 * @netdev:	      The associated net device
 * @fcoe_packet_type: FCoE packet type
 * @fip_packet_type:  FIP packet type
 * @oem:	      The offload exchange manager for all local port
 *		      instances associated with this port
 * @removed:	      Indicates fcoe interface removed from net device
 * @priority:	      Priority for the FCoE packet (DCB)
 * This structure is 1:1 with a net device.
 */
struct fcoe_interface {};

#define fcoe_to_ctlr(x)

#define fcoe_from_ctlr(x)

/**
 * fcoe_netdev() - Return the net device associated with a local port
 * @lport: The local port to get the net device from
 */
static inline struct net_device *fcoe_netdev(const struct fc_lport *lport)
{}

#endif /* _FCOE_H_ */