ip: Path MTU
[vpp.git] / src / vnet / buffer.h
index 9e997b8..27aeb3b 100644 (file)
@@ -309,8 +309,11 @@ typedef struct
     /* interface output features */
     struct
     {
+      /* don't overlap the adjcencies nor flow-hash */
+      u32 __pad[3];
       u32 sad_index;
       u32 protect_index;
+      u16 thread_index;
     } ipsec;
 
     /* MAP */
@@ -378,6 +381,7 @@ typedef struct
     struct
     {
       u32 flags;
+      u32 required_thread_index;
     } snat;
 
     u32 unused[6];
@@ -452,12 +456,14 @@ typedef struct
   /* size of L4 prototol header */
   u16 gso_l4_hdr_sz;
 
+  /* The union below has a u64 alignment, so this space is unused */
+  u32 __unused2[1];
+
   struct
   {
-    u16 unused;
-    u16 thread_next;
     u32 arc_next;
-    u32 ed_out2in_nat_session_index;
+    /* cached session index from previous node */
+    u32 cached_session_index;
   } nat;
 
   union