[ovs-build] Errored: ovsrobot/ovs#247 (series_87310 - cd931b2)

Travis CI builds at travis-ci.org
Mon Jan 21 15:48:38 UTC 2019


Build Update for ovsrobot/ovs
-------------------------------------

Build: #247
Status: Errored

Duration: 1 hr, 3 mins, and 12 secs
Commit: cd931b2 (series_87310)
Author: Harry van Haaren
Message: dpif-netdev: optimized dpcls_rule_matches_key()

This commit optimizes the dpcls_rule_matches_key() function
by refactoring the code to be shorter and less branchy. The
main code-change (and optimization) is to use popcount and
mask to calculate the packet block index.

This code is split out to the header file, which is marked as
static inline. The code itself is refactored into two functions,
one to iterate the "units" of the miniflow, the other to compare
the actual miniflow "blocks" and compare them with the mask/value.

The verify_unit() function is called twice, and should/will be inlined
by the compiler in optimized builds. As a result the while() loop
inside is hence present in two locations in the caller function.
This gives each while() loop its own entry in the branch-predictor,
helping it to correctly predict each units loop iterations.

Finally, we always compute all blocks, and then return match or
not-matching in a branch-free manner. This allows the pipeline to
execute better, by removing non-predictable branches.

Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/compare/39fe39b95528...cd931b2a2f49

View the full build log and details: https://travis-ci.org/ovsrobot/ovs/builds/482434896?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=22285853&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20190121/efb29668/attachment-0001.html>


More information about the build mailing list