linux/drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 2019 Chelsio Communications.  All rights reserved. */

#ifndef __CXGB4_TC_MQPRIO_H__
#define __CXGB4_TC_MQPRIO_H__

#include <net/pkt_sched.h>

#define CXGB4_EOSW_TXQ_DEFAULT_DESC_NUM

#define CXGB4_EOHW_TXQ_DEFAULT_DESC_NUM

#define CXGB4_EOHW_RXQ_DEFAULT_DESC_NUM
#define CXGB4_EOHW_RXQ_DEFAULT_DESC_SIZE
#define CXGB4_EOHW_RXQ_DEFAULT_INTR_USEC
#define CXGB4_EOHW_RXQ_DEFAULT_PKT_CNT

#define CXGB4_EOHW_FLQ_DEFAULT_DESC_NUM

#define CXGB4_FLOWC_WAIT_TIMEOUT

enum cxgb4_mqprio_state {};

struct cxgb4_tc_port_mqprio {};

struct cxgb4_tc_mqprio {};

int cxgb4_setup_tc_mqprio(struct net_device *dev,
			  struct tc_mqprio_qopt_offload *mqprio);
void cxgb4_mqprio_stop_offload(struct adapter *adap);
int cxgb4_init_tc_mqprio(struct adapter *adap);
void cxgb4_cleanup_tc_mqprio(struct adapter *adap);
#endif /* __CXGB4_TC_MQPRIO_H__ */