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

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

#include "cxgb4.h"
#include "cxgb4_tc_mqprio.h"
#include "sched.h"

static int cxgb4_mqprio_validate(struct net_device *dev,
				 struct tc_mqprio_qopt_offload *mqprio)
{}

static int cxgb4_init_eosw_txq(struct net_device *dev,
			       struct sge_eosw_txq *eosw_txq,
			       u32 eotid, u32 hwqid)
{}

static void cxgb4_clean_eosw_txq(struct net_device *dev,
				 struct sge_eosw_txq *eosw_txq)
{}

static void cxgb4_free_eosw_txq(struct net_device *dev,
				struct sge_eosw_txq *eosw_txq)
{}

static int cxgb4_mqprio_alloc_hw_resources(struct net_device *dev)
{}

static void cxgb4_mqprio_free_hw_resources(struct net_device *dev)
{}

static int cxgb4_mqprio_alloc_tc(struct net_device *dev,
				 struct tc_mqprio_qopt_offload *mqprio)
{}

static void cxgb4_mqprio_free_tc(struct net_device *dev)
{}

static int cxgb4_mqprio_class_bind(struct net_device *dev,
				   struct sge_eosw_txq *eosw_txq,
				   u8 tc)
{}

static void cxgb4_mqprio_class_unbind(struct net_device *dev,
				      struct sge_eosw_txq *eosw_txq,
				      u8 tc)
{}

static int cxgb4_mqprio_enable_offload(struct net_device *dev,
				       struct tc_mqprio_qopt_offload *mqprio)
{}

static void cxgb4_mqprio_disable_offload(struct net_device *dev)
{}

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)
{}