linux/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * QLogic qlcnic NIC Driver
 * Copyright (c)  2009-2013 QLogic Corporation
 */

#ifndef __QLCNIC_DCBX_H
#define __QLCNIC_DCBX_H

#define QLCNIC_DCB_STATE
#define QLCNIC_DCB_AEN_MODE

#ifdef CONFIG_QLCNIC_DCB
int qlcnic_register_dcb(struct qlcnic_adapter *);
#else
static inline int qlcnic_register_dcb(struct qlcnic_adapter *adapter)
{ return 0; }
#endif

struct qlcnic_dcb;

struct qlcnic_dcb_ops {};

struct qlcnic_dcb {};

static inline int qlcnic_dcb_get_hw_capability(struct qlcnic_dcb *dcb)
{}

static inline void qlcnic_dcb_free(struct qlcnic_dcb *dcb)
{}

static inline int qlcnic_dcb_attach(struct qlcnic_dcb *dcb)
{}

static inline int
qlcnic_dcb_query_hw_capability(struct qlcnic_dcb *dcb, char *buf)
{}

static inline void qlcnic_dcb_get_info(struct qlcnic_dcb *dcb)
{}

static inline int
qlcnic_dcb_query_cee_param(struct qlcnic_dcb *dcb, char *buf, u8 type)
{}

static inline int qlcnic_dcb_get_cee_cfg(struct qlcnic_dcb *dcb)
{}

static inline void qlcnic_dcb_aen_handler(struct qlcnic_dcb *dcb, void *msg)
{}

static inline void qlcnic_dcb_init_dcbnl_ops(struct qlcnic_dcb *dcb)
{}

static inline int qlcnic_dcb_enable(struct qlcnic_dcb *dcb)
{}
#endif