[ovs-git] [openvswitch/ovs] 3194a7: tunnel: Avoid flow_to_string() call when rate-limi...

GitHub noreply at github.com
Thu Jan 4 18:30:50 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3194a7906c97752782c1fd6fedcc5117e2b6e3b0
      https://github.com/openvswitch/ovs/commit/3194a7906c97752782c1fd6fedcc5117e2b6e3b0
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-01-04 (Thu, 04 Jan 2018)

  Changed paths:
    M ofproto/tunnel.c

  Log Message:
  -----------
  tunnel: Avoid flow_to_string() call when rate-limited.

flow_to_string() is relatively expensive.  It is better to avoid it if the
string is not actually going to be used.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
Acked-by: Ansis Atteka <aatteka at ovn.org>




More information about the git mailing list