projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: introduce and use netdev_features_t for device features sets
[linux-block.git]
/
include
/
linux
/
netdev_features.h
diff --git
a/include/linux/netdev_features.h
b/include/linux/netdev_features.h
index 32640edf4d789db7a3f8ae29f3e45cc86856d7c4..af52381218265b4e1bcae90b25a44e3a6daf7803 100644
(file)
--- a/
include/linux/netdev_features.h
+++ b/
include/linux/netdev_features.h
@@
-10,6
+10,10
@@
#ifndef _LINUX_NETDEV_FEATURES_H
#define _LINUX_NETDEV_FEATURES_H
+#include <linux/types.h>
+
+typedef u32 netdev_features_t;
+
/* Net device feature bits; if you change something,
* also update netdev_features_strings[] in ethtool.c */