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

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


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: cd947cf34b36c0375ae12dab94cbe61104200d59
      https://github.com/openvswitch/ovs/commit/cd947cf34b36c0375ae12dab94cbe61104200d59
  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