Skip to content

Commit 8f9b50d

Browse files
MACSEC: Add additional IEEE 802.1ae stats for SA (#2275)
Signed-off-by: Anandhi Dhanabalan <adhanabalan@marvell.com>
1 parent 9ca8312 commit 8f9b50d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

inc/saimacsec.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,22 @@ typedef enum _sai_macsec_sa_stat_t
11081108
* Valid for ingress, always returns 0 for egress.
11091109
*/
11101110
SAI_MACSEC_SA_STAT_IN_PKTS_OK,
1111+
1112+
/**
1113+
* @brief IEEE 802.1ae defined inOctetsDecrypted.
1114+
* Valid for ingress, always returns 0 for egress.
1115+
* The number of octets of User Data recovered from received
1116+
* frames that were both integrity protected and encrypted.
1117+
*/
1118+
SAI_MACSEC_SA_STAT_IN_OCTETS_DECRYPTED,
1119+
1120+
/**
1121+
* @brief IEEE 802.1ae defined inOctetsValidated.
1122+
* Valid for ingress, always returns 0 for egress.
1123+
* The number of octets of User Data recovered from received
1124+
* frames that were integrity protected but not encrypted.
1125+
*/
1126+
SAI_MACSEC_SA_STAT_IN_OCTETS_VALIDATED,
11111127
} sai_macsec_sa_stat_t;
11121128

11131129
/**

0 commit comments

Comments
 (0)