[ovs-git] [openvswitch/ovs] cbbab7: flow: Wildcard UDP ports when using SYMMETRIC_L4 h...

vishaldeepajmera noreply at github.com
Tue Jul 16 22:30:43 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: cbbab701276a0400a30275fdbd28bafb4d25b468
      https://github.com/openvswitch/ovs/commit/cbbab701276a0400a30275fdbd28bafb4d25b468
  Author: Vishal Deep Ajmera <vishal.deep.ajmera at ericsson.com>
  Date:   2019-07-16 (Tue, 16 Jul 2019)

  Changed paths:
    M lib/flow.c

  Log Message:
  -----------
  flow: Wildcard UDP ports when using SYMMETRIC_L4 hash for select groups.

UDP source and destination ports are not used to derive the hash index
used for selecting the bucket in case of SYMMETRIC_L4 hash based select
groups. However, they are un-wildcarded in the megaflow entry match criteria.
This results in distinct megaflow entry being created for each pair of UDP
source and destination ports unnecessarily and causes significant performance
deterioration when the megaflow cache limit is reached.

This patch wildcards UDP ports when using select group with SYMMETRIC_L4
hash function.

Signed-off-by: Vishal Deep Ajmera <vishal.deep.ajmera at ericsson.com>
CC: Jan Scheurich <jan.scheurich at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list