openflow_input: add bsn_egr_port_group_id extension
diff --git a/c_gen/c_match.py b/c_gen/c_match.py
index a45090a..fe6e56b 100644
--- a/c_gen/c_match.py
+++ b/c_gen/c_match.py
@@ -294,6 +294,7 @@
OF_OXM_INDEX_BSN_L3_INTERFACE_CLASS_ID = 40,
OF_OXM_INDEX_BSN_L3_SRC_CLASS_ID = 41,
OF_OXM_INDEX_BSN_L3_DST_CLASS_ID = 42,
+ OF_OXM_INDEX_BSN_EGR_PORT_GROUP_ID = 43,
};
#define OF_OXM_BIT(index) (((uint64_t) 1) << (index))
diff --git a/c_gen/match.py b/c_gen/match.py
index 611a80d..2f12780 100644
--- a/c_gen/match.py
+++ b/c_gen/match.py
@@ -459,6 +459,15 @@
takes_mask_in_spec=True,
order=1005,
),
+
+ bsn_egr_port_group_id = dict(
+ name="bsn_egr_port_group_id",
+ m_type="uint32_t",
+ print_type="PRIu32",
+ conditions="",
+ takes_mask_in_spec=True,
+ order=1006,
+ ),
)
match_keys_sorted = of_match_members.keys()
diff --git a/c_gen/templates/loci_show.h b/c_gen/templates/loci_show.h
index e7cc2a8..5384837 100644
--- a/c_gen/templates/loci_show.h
+++ b/c_gen/templates/loci_show.h
@@ -385,5 +385,6 @@
#define LOCI_SHOW_u32_entry_count(writer, cookie, val) LOCI_SHOW_u32(writer, cookie, val)
#define LOCI_SHOW_u32_num_aux(writer, cookie, val) LOCI_SHOW_u32(writer, cookie, val)
#define LOCI_SHOW_u64_checksum(writer, cookie, val) LOCI_SHOW_u64(writer, cookie, val)
+#define LOCI_SHOW_u32_bsn_egr_port_group_id(writer, cookie, val) LOCI_SHOW_u32(writer, cookie, val)
#endif /* _LOCI_SHOW_H_ */