#ifndef _QED_NVMETCP_H
#define _QED_NVMETCP_H
#include <linux/types.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/qed/tcp_common.h>
#include <linux/qed/qed_nvmetcp_if.h>
#include <linux/qed/qed_chain.h>
#include "qed.h"
#include "qed_hsi.h"
#include "qed_mcp.h"
#include "qed_sp.h"
#define QED_NVMETCP_FW_CQ_SIZE …
#define QED_TCP_FLOW_LABEL …
#define QED_TCP_TWO_MSL_TIMER …
#define QED_TCP_HALF_WAY_CLOSE_TIMEOUT …
#define QED_TCP_MAX_FIN_RT …
#define QED_TCP_SWS_TIMER …
struct qed_nvmetcp_info { … };
struct qed_hash_nvmetcp_con { … };
struct qed_nvmetcp_conn { … };
#if IS_ENABLED(CONFIG_QED_NVMETCP)
int qed_nvmetcp_alloc(struct qed_hwfn *p_hwfn);
void qed_nvmetcp_setup(struct qed_hwfn *p_hwfn);
void qed_nvmetcp_free(struct qed_hwfn *p_hwfn);
#else
static inline int qed_nvmetcp_alloc(struct qed_hwfn *p_hwfn)
{ … }
static inline void qed_nvmetcp_setup(struct qed_hwfn *p_hwfn) { … }
static inline void qed_nvmetcp_free(struct qed_hwfn *p_hwfn) { … }
#endif
#endif