Skip to content

Commit

Permalink
Hash: Initialize ECMP default hashing with IPv6 packets
Browse files Browse the repository at this point in the history
  • Loading branch information
itaibaz committed Jun 22, 2017
1 parent 579c19a commit b57b458
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mlnx_sai/src/mlnx_sai_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,13 @@ sai_status_t mlnx_hash_initialize()
return status;
}

g_sai_db_ptr->oper_hash_list[SAI_HASH_ECMP_IP6_ID] = hash_obj;
/* apply default object */
status = mlnx_hash_obj_native_fields_apply(SAI_HASH_ECMP_IP6_ID, &attr_value);
if (SAI_STATUS_SUCCESS != status) {
return status;
}

/* Default LAG object */
if (SAI_STATUS_SUCCESS !=
(status = mlnx_create_object(SAI_OBJECT_TYPE_HASH, 1, NULL, &hash_obj))) {
Expand Down

0 comments on commit b57b458

Please sign in to comment.