[ovs-dev] [PATCH branch-2.8 0/2] Correct handling of double encap and decap actions

Jan Scheurich jan.scheurich at ericsson.com
Mon Apr 16 12:32:11 UTC 2018


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



More information about the dev mailing list