datapath: Increase maximum allocation size of action list.
authorPravin B Shelar <pshelar@nicira.com>
Sat, 23 Feb 2013 01:16:11 +0000 (17:16 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Sat, 23 Feb 2013 01:18:08 +0000 (17:18 -0800)
commit649b1c68fdd39316e3bcea21ce5464da614a6691
tree5f2739213844225e2c5e56f234d3cfbb1cfe8fe0
parent7a590e60ed16d46f962dbd4bc985211c275b690b
datapath: Increase maximum allocation size of action list.

The switch to flow based tunneling increased the size of each output
action in the flow action list.  In extreme cases, this can result
in the action list exceeding the maximum buffer size.

This doubles the maximum buffer size to compensate for the increase
in action size.  In the common case, most allocations will be
less than a page and those uses kmalloc.  Therefore, for the majority
of situations, this will have no impact.

Bug #15203
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/flow.c
datapath/flow.h