summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMichał Mirosław2011-11-15 16:29:55 +0100
committerDavid S. Miller2011-11-16 23:43:10 +0100
commita19f2a6df28e0ccb4103b77cc17c03b62f4d573e (patch)
tree5f54c26772a32b5a6638c3b93c321c0f49b549a5 /kernel
parentnet: introduce and use netdev_features_t for device features sets (diff)
downloadkernel-qcow2-linux-a19f2a6df28e0ccb4103b77cc17c03b62f4d573e.tar.gz
kernel-qcow2-linux-a19f2a6df28e0ccb4103b77cc17c03b62f4d573e.tar.xz
kernel-qcow2-linux-a19f2a6df28e0ccb4103b77cc17c03b62f4d573e.zip
net: Define enum for net device features.
Define feature values by bit position instead of direct 2**i values and force the values to be of type netdev_features_t. Cleaned and extended from patch by Mahesh Bandewar <maheshb@google.com>: + added netdev_features_t casts + included bits under NETIF_F_GSO_MASK + moved feature #defines out of struct net_device definition Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions