dpif: Change get_max_ports() to return uint32_t.
authorAlex Wang <alexw@nicira.com>
Thu, 22 Aug 2013 21:24:18 +0000 (14:24 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Aug 2013 18:33:17 +0000 (11:33 -0700)
commit1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2
tree36851494544f1605c50c4c918ce24164ef692778
parent430dbb14c150ced081b42ec6314c7dc63661a1d1
dpif: Change get_max_ports() to return uint32_t.

The declaration of 'get_max_ports()' to return odp_port_t adds
unwanted complexity to coding.  This commit changes it back to
return uint32_t type.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif.c