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.

v1->v2:
  - 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(-)

-- 
1.9.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to