Jeremy Kerr | ded21b7 | 2021-10-03 11:17:05 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | |||||
3 | #ifndef __NET_MCTP_TEST_UTILS_H | ||||
4 | #define __NET_MCTP_TEST_UTILS_H | ||||
5 | |||||
6 | #include <kunit/test.h> | ||||
7 | |||||
8 | #define MCTP_DEV_TEST_MTU 68 | ||||
9 | |||||
10 | struct mctp_test_dev { | ||||
11 | struct net_device *ndev; | ||||
12 | struct mctp_dev *mdev; | ||||
13 | }; | ||||
14 | |||||
15 | struct mctp_test_dev; | ||||
16 | |||||
17 | struct mctp_test_dev *mctp_test_create_dev(void); | ||||
18 | void mctp_test_destroy_dev(struct mctp_test_dev *dev); | ||||
19 | |||||
20 | #endif /* __NET_MCTP_TEST_UTILS_H */ |