Remove MAX_ACTIONS (which was 16) as a limit on the number of actions in a flow table...
authorBen Pfaff <blp@nicira.com>
Fri, 2 May 2008 18:37:04 +0000 (11:37 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 2 May 2008 18:37:04 +0000 (11:37 -0700)
commit3ef905e11a2448dbd9f7a493e6ac1071f827b875
treed3104cf42e39a81244f2d066ee6044c9b568e5db
parent4f5b4efc54f3880ca5f5b5c292675aea8596a311
Remove MAX_ACTIONS (which was 16) as a limit on the number of actions in a flow table entry.

Now the number of actions is limited, as a practical matter, to the size
of the buffer that the kernel provides for Netlink dumps, which is usually
4096 bytes.  A flow statistics entry must fit in a single one of these
buffers.  Actions are 8 bytes each, so this is about 500 actions
considering overhead.
datapath/datapath.c
datapath/flow.h
datapath/forward.c
datapath/table-hash.c
datapath/table-linear.c
datapath/table.h
switch/datapath.c
switch/switch-flow.h