From 7566e568203b642ce07a6addbdec3649fac0e9ba Mon Sep 17 00:00:00 2001 From: hesingh Date: Wed, 16 Nov 2022 18:38:50 +0000 Subject: [PATCH] Add hash algorithms to pna.p4 --- pna.p4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pna.p4 b/pna.p4 index 9110e9c..5734d89 100644 --- a/pna.p4 +++ b/pna.p4 @@ -343,7 +343,13 @@ match_kind { // BEGIN:Hash_algorithms enum PNA_HashAlgorithm_t { - // TBD what this type's values will be for PNA + IDENTITY, + CRC32, + CRC32_CUSTOM, + CRC16, + CRC16_CUSTOM, + ONES_COMPLEMENT16, /// One's complement 16-bit sum used for IPv4 headers, + /// TCP, and UDP. TARGET_DEFAULT /// target implementation defined } // END:Hash_algorithms