linux/lib/dynamic_queue_limits.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Dynamic byte queue limits.  See include/linux/dynamic_queue_limits.h
 *
 * Copyright (c) 2011, Tom Herbert <[email protected]>
 */
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/dynamic_queue_limits.h>
#include <linux/compiler.h>
#include <linux/export.h>
#include <trace/events/napi.h>

#define POSDIFF(A, B)
#define AFTER_EQ(A, B)

static void dql_check_stall(struct dql *dql, unsigned short stall_thrs)
{}

/* Records completed count and recalculates the queue limit */
void dql_completed(struct dql *dql, unsigned int count)
{}
EXPORT_SYMBOL();

void dql_reset(struct dql *dql)
{}
EXPORT_SYMBOL();

void dql_init(struct dql *dql, unsigned int hold_time)
{}
EXPORT_SYMBOL();