Skip to content

Commit b57b458

Browse files
committed
Hash: Initialize ECMP default hashing with IPv6 packets
1 parent 579c19a commit b57b458

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

mlnx_sai/src/mlnx_sai_hash.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,13 @@ sai_status_t mlnx_hash_initialize()
981981
return status;
982982
}
983983

984+
g_sai_db_ptr->oper_hash_list[SAI_HASH_ECMP_IP6_ID] = hash_obj;
985+
/* apply default object */
986+
status = mlnx_hash_obj_native_fields_apply(SAI_HASH_ECMP_IP6_ID, &attr_value);
987+
if (SAI_STATUS_SUCCESS != status) {
988+
return status;
989+
}
990+
984991
/* Default LAG object */
985992
if (SAI_STATUS_SUCCESS !=
986993
(status = mlnx_create_object(SAI_OBJECT_TYPE_HASH, 1, NULL, &hash_obj))) {

0 commit comments

Comments
 (0)