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

Jan Scheurich jan.scheurich at ericsson.com
Thu Apr 5 14:11:02 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.

  - Rebased to master (commit 4b337e489)
  - Added NSH unit test with double encap

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(-)


More information about the dev mailing list