Lines Matching refs:match_values
129 entry->match_values = match_value; in mlxsw_sp_erif_entry_prepare()
164 rif_value = entry->match_values->value; in mlxsw_sp_erif_entry_get()
166 entry->match_values->mapping_value = mlxsw_sp_rif_dev_ifindex(rif); in mlxsw_sp_erif_entry_get()
167 entry->match_values->mapping_valid = true; in mlxsw_sp_erif_entry_get()
400 struct devlink_dpipe_value *match_values, in mlxsw_sp_dpipe_table_host_entry_prepare() argument
409 entry->match_values = match_values; in mlxsw_sp_dpipe_table_host_entry_prepare()
416 match_value = &match_values[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF]; in mlxsw_sp_dpipe_table_host_entry_prepare()
425 match_value = &match_values[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP]; in mlxsw_sp_dpipe_table_host_entry_prepare()
463 value = &entry->match_values[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF]; in __mlxsw_sp_dpipe_table_host_entry_fill()
471 value = &entry->match_values[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP]; in __mlxsw_sp_dpipe_table_host_entry_fill()
619 struct devlink_dpipe_value match_values[MLXSW_SP_DPIPE_TABLE_HOST_MATCH_COUNT]; in mlxsw_sp_dpipe_table_host_entries_dump() local
628 memset(match_values, 0, MLXSW_SP_DPIPE_TABLE_HOST_MATCH_COUNT * in mlxsw_sp_dpipe_table_host_entries_dump()
629 sizeof(match_values[0])); in mlxsw_sp_dpipe_table_host_entries_dump()
633 err = mlxsw_sp_dpipe_table_host_entry_prepare(&entry, match_values, in mlxsw_sp_dpipe_table_host_entries_dump()
967 struct devlink_dpipe_value *match_values, in mlxsw_sp_dpipe_table_adj_entry_prepare() argument
976 entry->match_values = match_values; in mlxsw_sp_dpipe_table_adj_entry_prepare()
983 match_value = &match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_INDEX]; in mlxsw_sp_dpipe_table_adj_entry_prepare()
992 match_value = &match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_SIZE]; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1001 match_value = &match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_HASH_INDEX]; in mlxsw_sp_dpipe_table_adj_entry_prepare()
1040 value = &entry->match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_INDEX]; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1044 value = &entry->match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_SIZE]; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1048 value = &entry->match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_HASH_INDEX]; in __mlxsw_sp_dpipe_table_adj_entry_fill()
1147 struct devlink_dpipe_value match_values[MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_COUNT]; in mlxsw_sp_dpipe_table_adj_entries_dump() local
1156 memset(match_values, 0, MLXSW_SP_DPIPE_TABLE_ADJ_MATCH_COUNT * in mlxsw_sp_dpipe_table_adj_entries_dump()
1157 sizeof(match_values[0])); in mlxsw_sp_dpipe_table_adj_entries_dump()
1165 match_values, matches, in mlxsw_sp_dpipe_table_adj_entries_dump()