Home
last modified time | relevance | path

Searched refs:table_type (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c141 MLX5_SET(query_flow_table_in, in, table_type, type); in mlx5dr_cmd_query_flow_table()
170 u32 table_type, in mlx5dr_cmd_set_fte_modify_and_vport() argument
191 MLX5_SET(set_fte_in, in, table_type, table_type); in mlx5dr_cmd_set_fte_modify_and_vport()
214 u32 table_type, in mlx5dr_cmd_del_flow_table_entry() argument
221 MLX5_SET(delete_fte_in, in, table_type, table_type); in mlx5dr_cmd_del_flow_table_entry()
228 u32 table_type, in mlx5dr_cmd_alloc_modify_header() argument
247 MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in mlx5dr_cmd_alloc_modify_header()
278 u32 table_type, in mlx5dr_cmd_create_empty_flow_group() argument
292 MLX5_SET(create_flow_group_in, in, table_type, table_type); in mlx5dr_cmd_create_empty_flow_group()
307 u32 table_type, in mlx5dr_cmd_destroy_flow_group() argument
[all …]
Ddr_table.c180 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_RX; in dr_table_init()
185 tbl->table_type = MLX5_FLOW_TABLE_TYPE_NIC_TX; in dr_table_init()
190 tbl->table_type = MLX5_FLOW_TABLE_TYPE_FDB; in dr_table_init()
209 tbl->table_type); in dr_table_destroy_sw_owned_tbl()
225 tbl->table_type, in dr_table_create_sw_owned_tbl()
Ddr_types.h671 u32 table_type; member
873 u32 table_type,
879 u32 table_type,
882 u32 table_type,
889 u32 table_type,
893 u32 table_type,
897 u32 table_type,
907 u32 table_type);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c168 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft()
203 MLX5_SET(create_flow_table_in, in, table_type, ft->type); in mlx5_cmd_create_flow_table()
258 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table()
278 MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in mlx5_cmd_modify_flow_table()
328 MLX5_SET(create_flow_group_in, in, table_type, ft->type); in mlx5_cmd_create_flow_group()
352 MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_group()
432 MLX5_SET(set_fte_in, in, table_type, ft->type); in mlx5_cmd_set_fte()
605 MLX5_SET(delete_fte_in, in, table_type, ft->type); in mlx5_cmd_delete_fte()
775 u8 table_type; in mlx5_cmd_modify_header_alloc() local
781 table_type = FS_FT_FDB; in mlx5_cmd_modify_header_alloc()
[all …]
Dfs_core.c709 enum fs_flow_table_type table_type, in alloc_flow_table() argument
729 ft->type = table_type; in alloc_flow_table()
1037 root->table_type, in __mlx5_create_flow_table()
2314 enum fs_flow_table_type table_type) in create_root_ns() argument
2316 const struct mlx5_flow_cmds *cmds = mlx5_fs_cmd_get_default(table_type); in create_root_ns()
2321 (table_type == FS_FT_NIC_RX || table_type == FS_FT_NIC_TX)) in create_root_ns()
2322 cmds = mlx5_fs_cmd_get_default_ipsec_fpga_cmds(table_type); in create_root_ns()
2330 root_ns->table_type = table_type; in create_root_ns()
3025 if (root->table_type != FS_FT_FDB) in mlx5_flow_namespace_set_mode()
Dfs_core.h247 enum fs_flow_table_type table_type; member
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dfirmware.c1775 u32 record_idx = 0, table_type = 0, table_length_dwords = 0; in parse_platform_config() local
1850 table_type = (*ptr >> PLATFORM_CONFIG_HEADER_TABLE_TYPE_SHIFT) & in parse_platform_config()
1858 switch (table_type) { in parse_platform_config()
1860 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1867 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1877 pcfgcache->config_tables[table_type].num_table = in parse_platform_config()
1883 __func__, table_type, in parse_platform_config()
1888 pcfgcache->config_tables[table_type].table = ptr; in parse_platform_config()
1891 switch (table_type) { in parse_platform_config()
1907 __func__, table_type, in parse_platform_config()
[all …]
Dhfi.h2061 table_type, int table_index, int field_index,
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c66 enum mlxsw_flood_table_type table_type; member
340 ops->flood_index(fid), flood_table->table_type, 1, in mlxsw_sp_fid_flood_set()
565 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
571 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
577 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID_OFFSET,
818 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
824 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
830 .table_type = MLXSW_REG_SFGC_TABLE_TYPE_FID,
1160 flood_table->table_type, in mlxsw_sp_fid_flood_table_init()
Dreg.h1058 MLXSW_ITEM32(reg, sfgc, table_type, 0x04, 16, 3);
1088 enum mlxsw_flood_table_type table_type, in mlxsw_reg_sfgc_pack() argument
1094 mlxsw_reg_sfgc_table_type_set(payload, table_type); in mlxsw_reg_sfgc_pack()
1133 MLXSW_ITEM32(reg, sftr, table_type, 0x04, 16, 3);
1156 enum mlxsw_flood_table_type table_type, in mlxsw_reg_sftr_pack() argument
1163 mlxsw_reg_sftr_table_type_set(payload, table_type); in mlxsw_reg_sftr_pack()
/Linux-v5.4/drivers/acpi/
Dpptt.c74 static inline bool acpi_pptt_match_type(int table_type, int type) in acpi_pptt_match_type() argument
76 return ((table_type & ACPI_PPTT_MASK_CACHE_TYPE) == type || in acpi_pptt_match_type()
77 table_type & ACPI_PPTT_CACHE_TYPE_UNIFIED & type); in acpi_pptt_match_type()
/Linux-v5.4/drivers/md/
Ddm-table.c863 static bool __table_type_bio_based(enum dm_queue_mode table_type) in __table_type_bio_based() argument
865 return (table_type == DM_TYPE_BIO_BASED || in __table_type_bio_based()
866 table_type == DM_TYPE_DAX_BIO_BASED || in __table_type_bio_based()
867 table_type == DM_TYPE_NVME_BIO_BASED); in __table_type_bio_based()
870 static bool __table_type_request_based(enum dm_queue_mode table_type) in __table_type_request_based() argument
872 return table_type == DM_TYPE_REQUEST_BASED; in __table_type_request_based()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dflow.c22 mlx5_ib_ft_type_to_namespace(enum mlx5_ib_uapi_flow_table_type table_type, in mlx5_ib_ft_type_to_namespace() argument
25 switch (table_type) { in mlx5_ib_ft_type_to_namespace()
Ddevx.c1132 MLX5_SET(destroy_flow_table_in, din, table_type, in devx_obj_build_destroy_cmd()
1133 MLX5_GET(create_flow_table_in, in, table_type)); in devx_obj_build_destroy_cmd()
1145 MLX5_SET(destroy_flow_group_in, din, table_type, in devx_obj_build_destroy_cmd()
1146 MLX5_GET(create_flow_group_in, in, table_type)); in devx_obj_build_destroy_cmd()
1160 MLX5_SET(delete_fte_in, din, table_type, in devx_obj_build_destroy_cmd()
1161 MLX5_GET(set_fte_in, in, table_type)); in devx_obj_build_destroy_cmd()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c111 static int hns_roce_get_bt_num(u32 table_type, u32 hop_num) in hns_roce_get_bt_num() argument
113 if (check_whether_bt_num_3(table_type, hop_num)) in hns_roce_get_bt_num()
115 else if (check_whether_bt_num_2(table_type, hop_num)) in hns_roce_get_bt_num()
117 else if (check_whether_bt_num_1(table_type, hop_num)) in hns_roce_get_bt_num()
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-its.c1641 u64 entry_size, table_type; in vgic_mmio_write_its_baser() local
1652 table_type = GITS_BASER_TYPE_DEVICE; in vgic_mmio_write_its_baser()
1657 table_type = GITS_BASER_TYPE_COLLECTION; in vgic_mmio_write_its_baser()
1669 reg |= table_type << GITS_BASER_TYPE_SHIFT; in vgic_mmio_write_its_baser()
1677 switch (table_type) { in vgic_mmio_write_its_baser()
/Linux-v5.4/drivers/scsi/fcoe/
Dfcoe_sysfs.c209 #define fcoe_enum_name_search(title, table_type, table) \ argument
210 static const char *get_fcoe_##title##_name(enum table_type table_key) \
/Linux-v5.4/include/linux/mlx5/
Dmlx5_ifc.h3994 u8 table_type[0x8]; member
5150 u8 table_type[0x8]; member
5179 u8 table_type[0x8]; member
5233 u8 table_type[0x8]; member
5536 u8 table_type[0x8]; member
6876 u8 table_type[0x8]; member
6907 u8 table_type[0x8]; member
7052 u8 table_type[0x8]; member
7596 u8 table_type[0x8]; member
7636 u8 table_type[0x8]; member
[all …]
/Linux-v5.4/drivers/scsi/
Dscsi_transport_fc.c64 #define fc_enum_name_search(title, table_type, table) \ argument
65 static const char *get_fc_##title##_name(enum table_type table_key) \
79 #define fc_enum_name_match(title, table_type, table) \ argument
81 enum table_type *value) \