examples/ip_pipeline: avoid hash table create failure
authorJianbo Liu <jianbo.liu@arm.com>
Fri, 27 Oct 2017 02:55:19 +0000 (10:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 08:41:32 +0000 (08:41 +0000)
commitc5bc416be34bce7d06086fbae4fa53f5c7795a1a
tree7f96598d439d526deb866be5487434dff09ab807
parent2eb6a1a3e5fc6e2760187d9c598468509f320e61
examples/ip_pipeline: avoid hash table create failure

Hash table function will check if the input bucket size is power of 2,
so the parameter should be rounded up before sending to the creating
function.

Signed-off-by: Jianbo Liu <jianbo.liu@arm.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/ip_pipeline/pipeline/pipeline_routing_be.c