Home
last modified time | relevance | path

Searched refs:allow_attr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dsd.c277 struct mlx5_cmd_allow_other_vhca_access_attr allow_attr = {}; in sd_cmd_set_primary() local
294 memcpy(allow_attr.access_key, alias_key, ACCESS_KEY_LEN); in sd_cmd_set_primary()
295 allow_attr.obj_type = MLX5_GENERAL_OBJECT_TYPES_FLOW_TABLE_ALIAS; in sd_cmd_set_primary()
296 allow_attr.obj_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in sd_cmd_set_primary()
298 err = mlx5_cmd_allow_other_vhca_access(primary, &allow_attr); in sd_cmd_set_primary()
Dipsec_fs_roce.c91 struct mlx5_cmd_allow_other_vhca_access_attr allow_attr = {}; in ipsec_fs_create_aliased_ft() local
103 memcpy(allow_attr.access_key, alias_key, ACCESS_KEY_LEN); in ipsec_fs_create_aliased_ft()
104 allow_attr.obj_type = MLX5_GENERAL_OBJECT_TYPES_FLOW_TABLE_ALIAS; in ipsec_fs_create_aliased_ft()
105 allow_attr.obj_id = aliased_object_id; in ipsec_fs_create_aliased_ft()
108 ret = mlx5_cmd_allow_other_vhca_access(ibv_owner, &allow_attr); in ipsec_fs_create_aliased_ft()