[ovs-git] [openvswitch/ovs] 506ac2: erspan: add big endian bit fields.

GitHub noreply at github.com
Tue Aug 21 23:13:51 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 506ac275ff8e7013a63422d72567f8c4d81ed195
      https://github.com/openvswitch/ovs/commit/506ac275ff8e7013a63422d72567f8c4d81ed195
  Author: William Tu <u9012063 at gmail.com>
  Date:   2018-08-21 (Tue, 21 Aug 2018)

  Changed paths:
    M lib/packets.h

  Log Message:
  -----------
  erspan: add big endian bit fields.

Big-endian systems arrange bit fields in the opposite order.
The patch follows the linux kernel's approach by defining the
big and little endian bit-field of ERSPAN header using #ifdef.

Tested on zelenka.debian.org
(https://db.debian.org/machines.cgi?host=zelenka).

Tested-by: Ben Pfaff <blp at ovn.org>
Reported-by: James Page <james.page at canonical.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/351382.html
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list