Commit e39b7ef
authored
Update MACsec SA PN counter to support SAI API 1.8 (sonic-net#1818)
What I did
Rename XPN attributes from SAI_MACSEC_SA_ATTR_MINIMUM_XPN and SAI_MACSEC_SA_ATTR_XPN to SAI_MACSEC_SA_ATTR_CURRENT_XPN
Why I did it
Due to opencomputeproject/SAI#1169 that refactors the attributes about XPN, a new attributes SAI_MACSEC_SA_ATTR_CURRENT_XPN for both ingress and egress was introduced for reading the Packet number. So move the original attributes to the new one.
Signed-off-by: Ze Gan <ganze718@gmail.com>1 parent f089326 commit e39b7ef
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 36 | + | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
| |||
1743 | 1738 | | |
1744 | 1739 | | |
1745 | 1740 | | |
| 1741 | + | |
1746 | 1742 | | |
1747 | 1743 | | |
1748 | 1744 | | |
1749 | 1745 | | |
1750 | | - | |
1751 | 1746 | | |
1752 | 1747 | | |
1753 | 1748 | | |
1754 | 1749 | | |
1755 | | - | |
1756 | 1750 | | |
1757 | 1751 | | |
1758 | 1752 | | |
| |||
0 commit comments