Home
last modified time | relevance | path

Searched refs:alias_attr (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c323 struct mlx5_cmd_alias_obj_create_attr alias_attr = {}; in sd_secondary_create_alias_ft() local
326 memcpy(alias_attr.access_key, alias_key, ACCESS_KEY_LEN); in sd_secondary_create_alias_ft()
327 alias_attr.obj_id = aliased_object_id; in sd_secondary_create_alias_ft()
328 alias_attr.obj_type = MLX5_GENERAL_OBJECT_TYPES_FLOW_TABLE_ALIAS; in sd_secondary_create_alias_ft()
329 alias_attr.vhca_id = vhca_id_to_be_accessed; in sd_secondary_create_alias_ft()
330 ret = mlx5_cmd_alias_obj_create(secondary, &alias_attr, obj_id); in sd_secondary_create_alias_ft()
H A Dipsec_fs_roce.c92 struct mlx5_cmd_alias_obj_create_attr alias_attr = {}; in ipsec_fs_create_aliased_ft() local
116 memcpy(alias_attr.access_key, alias_key, ACCESS_KEY_LEN); in ipsec_fs_create_aliased_ft()
117 alias_attr.obj_id = aliased_object_id; in ipsec_fs_create_aliased_ft()
118 alias_attr.obj_type = MLX5_GENERAL_OBJECT_TYPES_FLOW_TABLE_ALIAS; in ipsec_fs_create_aliased_ft()
119 alias_attr.vhca_id = vhca_id_to_be_accessed; in ipsec_fs_create_aliased_ft()
120 ret = mlx5_cmd_alias_obj_create(ibv_allowed, &alias_attr, obj_id); in ipsec_fs_create_aliased_ft()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c2165 struct mlx5_cmd_alias_obj_create_attr *alias_attr, in mlx5_cmd_alias_obj_create() argument
2179 attr, obj_type, alias_attr->obj_type); in mlx5_cmd_alias_obj_create()
2184 MLX5_SET(alias_context, attr, vhca_id_to_be_accessed, alias_attr->vhca_id); in mlx5_cmd_alias_obj_create()
2185 MLX5_SET(alias_context, attr, object_id_to_be_accessed, alias_attr->obj_id); in mlx5_cmd_alias_obj_create()
2188 memcpy(key, alias_attr->access_key, sizeof(alias_attr->access_key)); in mlx5_cmd_alias_obj_create()