[ovs-dev] [PATCH] flow: Reduce metadata connection state branches in miniflow_extract

Ben Pfaff blp at ovn.org
Wed Aug 28 21:48:07 UTC 2019


On Tue, Aug 27, 2019 at 01:21:08PM -0500, Malvika Gupta wrote:
> This patch merges two separate if-else branches for metadata connection state
> into one if-else branch to improve performance. It gives an average performance
> improvement of ~3% on arm platforms and ~4.5% on x86 platforms.
> 
> Signed-off-by: Malvika Gupta <malvika.gupta at arm.com>
> Reviewed-by: Yanqin Wei <yanqin.wei at arm.com>
> Reviewed-by: Gavin Hu <gavin.hu at arm.com>

That's an incredible impact.

Thanks, I applied this to master.


More information about the dev mailing list