I suppose the most elegant fix is to turn

union flow_in_port {
    odp_port_t odp_port;
    ofp_port_t ofp_port;
};

in lib/packet.h into:

union flow_in_port {
    odp_port_t odp_port;
#ifdef WORDS_BIGENDIAN
    struct __attribute__((__packed__)) {
        ofp_port_t padding;
        ofp_port_t ofp_port;
    };
#else
    ofp_port_t ofp_port;
#endif
};

and leave lib/match.c as it is.

Cheers

Dirk

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to