accel/ivpu: Enable HWS by default on all platforms
[drm/drm-misc.git] / include / net / net_trackers.h
blobd94c76cf15a9df918441b8ab4ed20422059f7ed9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NET_NET_TRACKERS_H
3 #define __NET_NET_TRACKERS_H
4 #include <linux/ref_tracker.h>
6 #ifdef CONFIG_NET_DEV_REFCNT_TRACKER
7 typedef struct ref_tracker *netdevice_tracker;
8 #else
9 typedef struct {} netdevice_tracker;
10 #endif
12 #ifdef CONFIG_NET_NS_REFCNT_TRACKER
13 typedef struct ref_tracker *netns_tracker;
14 #else
15 typedef struct {} netns_tracker;
16 #endif
18 #endif /* __NET_NET_TRACKERS_H */