net: increase the size of priv_flags and add IFF_OVS_DATAPATH
authorSimon Horman <horms@verge.net.au>
Mon, 23 Aug 2010 16:26:41 +0000 (16:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:43:17 +0000 (20:43 -0700)
commit1726442e115a9e58f40747d009a5b4f303e0840a
treefbf95da050125bfa0656292c54bd856cf113db37
parent0fdc100bdc4b7ab61ed632962c76dfe539047296
net: increase the size of priv_flags and add IFF_OVS_DATAPATH

IFF_OVS_DATAPATH is a place-holder for the Open vSwitch datapath
which I am preparing to submit for merging.

As all 16 bits of priv_flags are already assigned flags, also increase
the size of priv_flags to 32 bits.

Unfortunately, by my calculations this increases the size of
struct net_device by 4 bytes on 32bit architectures and
8 bytes on 64 bit architectures. I couldn't see an obvious
way to avoid that.

Cc: Jesse Gross <jesse@nicira.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if.h
include/linux/netdevice.h