Skip to content

Commit cd971f7

Browse files
Merge branch 'opencomputeproject:master' into macsec_secure_policy
2 parents 9deba66 + 2c74f46 commit cd971f7

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

inc/saiport.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,6 +2721,16 @@ typedef enum _sai_port_attr_t
27212721
*/
27222722
SAI_PORT_ATTR_FAST_LINKUP_ENABLED,
27232723

2724+
/**
2725+
* @brief Get port SerDes firmware revision
2726+
*
2727+
* Standard attribute to collect port SerDes firmware rev.
2728+
*
2729+
* @type sai_s8_list_t
2730+
* @flags READ_ONLY
2731+
*/
2732+
SAI_PORT_ATTR_SERDES_FW_REVISION,
2733+
27242734
/**
27252735
* @brief End of attributes
27262736
*/

inc/saitam.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ typedef enum _sai_tam_tel_math_func_type_t
180180
/** Packet Rate computation */
181181
SAI_TAM_TEL_MATH_FUNC_TYPE_RATE,
182182

183+
/** Custom range base value */
184+
SAI_TAM_TEL_MATH_FUNC_TYPE_CUSTOM_RANGE_BASE = 0x10000000
185+
183186
} sai_tam_tel_math_func_type_t;
184187

185188
/**

meta/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ saiattrversion.h: $(DEPS) attrversion.sh
126126
saimetadatasize.h: $(DEPS)
127127
./size.sh
128128

129-
saimetadatatest.c saimetadata.c saimetadata.h: xml $(XMLDEPS) parse.pl $(CONSTHEADERS) $(EXTRA) saiattrversion.h
129+
saimetadatatest.c saimetadata.c saimetadata.h &: xml $(XMLDEPS) parse.pl $(CONSTHEADERS) $(EXTRA) saiattrversion.h
130130
perl -I. parse.pl
131131

132132
RPC_MODULES=$(shell find rpc -type f -name "*.pm")
133133

134-
sai.thrift sai_rpc_server.cpp sai_adapter.py: xml $(XMLDEPS) gensairpc.pl templates/*.tt $(RPC_MODULES)
134+
sai.thrift sai_rpc_server.cpp sai_adapter.py &: xml $(XMLDEPS) gensairpc.pl templates/*.tt $(RPC_MODULES)
135135
perl -Irpc gensairpc.pl $(GEN_SAIRPC_OPTS)
136136

137137
rpc: sai.thrift sai_rpc_server.cpp sai_adapter.py

ptf/saiacl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4798,7 +4798,7 @@ def aclIPv6NextHdrTest(self, table_stage):
47984798

47994799
packet_action = sai_thrift_acl_action_data_t(
48004800
parameter=sai_thrift_acl_action_parameter_t(
4801-
s32=SAI_PACKET_ACTION_DROP))
4801+
s32=SAI_PACKET_ACTION_DROP), enable=True)
48024802

48034803
field_ipv6_next_header = sai_thrift_acl_field_data_t(
48044804
data=sai_thrift_acl_field_data_data_t(u8=ipv6_next_header),

0 commit comments

Comments
 (0)