summaryrefslogtreecommitdiff
path: root/include/net/selftests.h
blob: 9993b9498cf3f7fa5a2f530bfa270021c144e05c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NET_SELFTESTS
#define _NET_SELFTESTS

#include <linux/ethtool.h>

void net_selftest(struct net_device *ndev, struct ethtool_test *etest,
		  u64 *buf);
int net_selftest_get_count(void);
void net_selftest_get_strings(u8 *data);

#endif /* _NET_SELFTESTS */