linux/drivers/net/ethernet/engleder/tsnep_selftests.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2021 Gerhard Engleder <[email protected]> */

#include "tsnep.h"

#include <net/pkt_sched.h>

enum tsnep_test {};

static const char tsnep_test_strings[][ETH_GSTRING_LEN] =;

#define TSNEP_TEST_COUNT

static bool enable_gc_timeout(struct tsnep_adapter *adapter)
{}

static bool gc_timeout_signaled(struct tsnep_adapter *adapter)
{}

static bool ack_gc_timeout(struct tsnep_adapter *adapter)
{}

static bool enable_gc(struct tsnep_adapter *adapter, bool a)
{}

static bool disable_gc(struct tsnep_adapter *adapter)
{}

static bool gc_delayed_enable(struct tsnep_adapter *adapter, bool a, int delay)
{}

static bool tsnep_test_gc_enable(struct tsnep_adapter *adapter)
{}

static void delay_base_time(struct tsnep_adapter *adapter,
			    struct tc_taprio_qopt_offload *qopt, s64 ms)
{}

static void get_gate_state(struct tsnep_adapter *adapter, u32 *gc, u32 *gc_time,
			   u64 *system_time)
{}

static int get_operation(struct tsnep_gcl *gcl, u64 system_time, u64 *next)
{}

static bool check_gate(struct tsnep_adapter *adapter)
{}

static bool check_gate_duration(struct tsnep_adapter *adapter, s64 ms)
{}

static bool enable_check_taprio(struct tsnep_adapter *adapter,
				struct tc_taprio_qopt_offload *qopt, s64 ms)
{}

static bool disable_taprio(struct tsnep_adapter *adapter)
{}

static bool run_taprio(struct tsnep_adapter *adapter,
		       struct tc_taprio_qopt_offload *qopt, s64 ms)
{}

static bool tsnep_test_taprio(struct tsnep_adapter *adapter)
{}

static bool tsnep_test_taprio_change(struct tsnep_adapter *adapter)
{}

static bool tsnep_test_taprio_extension(struct tsnep_adapter *adapter)
{}

int tsnep_ethtool_get_test_count(void)
{}

void tsnep_ethtool_get_test_strings(u8 *data)
{}

void tsnep_ethtool_self_test(struct net_device *netdev,
			     struct ethtool_test *eth_test, u64 *data)
{}