[ovs-build] Passed: pchaigno/ovs#5 (use-packet-batch-apis - 440c682)

Travis CI builds at travis-ci.org
Sun Jul 7 15:15:28 UTC 2019


Build Update for pchaigno/ovs
-------------------------------------

Build: #5
Status: Passed

Duration: 51 mins and 53 secs
Commit: 440c682 (use-packet-batch-apis)
Author: Paul Chaignon
Message: treewide: Use packet batch APIs

This patch replaces direct accesses to dp_packet_batch and dp_packet
internal components by the appropriate API calls.  It extends commit
1270b6e52 (treewide: Wider use of packet batch APIs).

This patch was generated using the following semantic patch (cf.
http://coccinelle.lip6.fr).

// <smpl>
@ dp_packet @
struct dp_packet_batch *b1;
struct dp_packet_batch b2;
struct dp_packet *p;
expression e;
@@

(
- b1->packets[b1->count++] = p;
+ dp_packet_batch_add(b1, p);
|
- b2.packets[b2.count++] = p;
+ dp_packet_batch_add(&b2, p);
|
- p->packet_type == htonl(PT_ETH)
+ dp_packet_is_eth(p)
|
- p->packet_type != htonl(PT_ETH)
+ !dp_packet_is_eth(p)
|
- b1->count == 0
+ dp_packet_batch_is_empty(b1)
|
- !b1->count
+ dp_packet_batch_is_empty(b1)
|
  b1->count = e;
|
  b1->count++
|
  b2.count = e;
|
  b2.count++
|
- b1->count
+ dp_packet_batch_size(b1)
|
- b2.count
+ dp_packet_batch_size(&b2)
)
// </smpl>

Signed-off-by: Paul Chaignon <paul.chaignon at orange.com>

View the changeset: https://github.com/pchaigno/ovs/compare/294792e2b975...440c682074c1

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

--

You can unsubscribe from build emails from the pchaigno/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=9499276&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/20190707/98eb5eb8/attachment.html>


More information about the build mailing list