vfio: fix read of freed memory on getting container fd
[dpdk.git] / lib / librte_pipeline / rte_table_action.h
index 5dbb147..c960612 100644 (file)
@@ -99,6 +99,9 @@ enum rte_table_action_type {
 
        /** Tag. */
        RTE_TABLE_ACTION_TAG,
+
+       /** Packet decapsulations. */
+       RTE_TABLE_ACTION_DECAP,
 };
 
 /** Common action configuration (per table action profile). */
@@ -782,6 +785,15 @@ struct rte_table_action_tag_params {
        uint32_t tag;
 };
 
+/**
+ * RTE_TABLE_ACTION_DECAP
+ */
+/** Decap action parameters (per table rule). */
+struct rte_table_action_decap_params {
+       /** Number of bytes to be removed from the start of the packet. */
+       uint16_t n;
+};
+
 /**
  * Table action profile.
  */