Recent tests with NSH encap have shown that the translation of multiple subsequent encap() or decap() actions was incorrect. This patch set corrects the handling and adds a unit test for NSH to cover two NSH and one Ethernet encapsulation levels.
This patch retrofits the new NSH test in commit a5b3e2a6f2 to the preliminary NSH support in OVS 2.8. Jan Scheurich (2): xlate: Correct handling of double encap() actions nsh: Add unit test for double NSH encap and decap lib/odp-util.c | 16 ++--- lib/odp-util.h | 1 + ofproto/ofproto-dpif-xlate.c | 7 ++- tests/nsh.at | 143 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 156 insertions(+), 11 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
