Move DP_MAX into public header file.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Dec 2008 00:10:31 +0000 (16:10 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Dec 2008 00:41:25 +0000 (16:41 -0800)
commitec689bac1eb333cf88d14d00db861488a8cd54e4
tree5a0b46f18d6ebaf2ecf40ef74cb859777a7f3563
parent40fe0d7e038b570a99f0e96ecc363f6186164d49
Move DP_MAX into public header file.

vswitchd wants to know the maximum number of datapaths, so DP_MAX needs to
be exported.

(This is not an ideal situation.  Really the kernel should not have an
explicit limit on the number of datapaths, and userspace should be able
to query the current maximum.)
datapath/datapath.c
include/openflow/openflow-netlink.h