Home
last modified time | relevance | path

Searched refs:match_value (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c125 struct devlink_dpipe_value *match_value, in mlxsw_sp_erif_entry_prepare() argument
130 entry->match_values = match_value; in mlxsw_sp_erif_entry_prepare()
136 match_value->match = match; in mlxsw_sp_erif_entry_prepare()
137 match_value->value_size = sizeof(u32); in mlxsw_sp_erif_entry_prepare()
138 match_value->value = kmalloc(match_value->value_size, GFP_KERNEL); in mlxsw_sp_erif_entry_prepare()
139 if (!match_value->value) in mlxsw_sp_erif_entry_prepare()
150 kfree(match_value->value); in mlxsw_sp_erif_entry_prepare()
195 struct devlink_dpipe_value match_value, action_value; in mlxsw_sp_dpipe_table_erif_entries_dump() local
204 memset(&match_value, 0, sizeof(match_value)); in mlxsw_sp_dpipe_table_erif_entries_dump()
208 err = mlxsw_sp_erif_entry_prepare(&entry, &match_value, &match, in mlxsw_sp_dpipe_table_erif_entries_dump()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c32 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv4_flow()
34 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in accel_fs_tcp_set_ipv4_flow()
35 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
38 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
51 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv6_flow()
53 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 6); in accel_fs_tcp_set_ipv6_flow()
54 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
57 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
126 MLX5_SET(fte_match_param, spec->match_value, outer_headers.tcp_dport, in mlx5e_accel_fs_add_sk()
128 MLX5_SET(fte_match_param, spec->match_value, outer_headers.tcp_sport, in mlx5e_accel_fs_add_sk()
Dipsec_fs.c350 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ip_version); in setup_fte_common()
354 MLX5_SET(fte_match_param, spec->match_value, outer_headers.frag, 0); in setup_fte_common()
358 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); in setup_fte_common()
362 MLX5_SET(fte_match_param, spec->match_value, in setup_fte_common()
366 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in setup_fte_common()
369 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in setup_fte_common()
377 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in setup_fte_common()
380 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in setup_fte_common()
500 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_a, in tx_add_rule()
Dmacsec_fs.c300 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ETH_P_PAE); in macsec_fs_tx_create()
366 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_c_4, 0); in macsec_fs_tx_create()
443 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_a, in macsec_fs_tx_setup_fte()
854 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.macsec_syndrome, 0); in macsec_fs_rx_create_check_decap_rule()
857 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_c_4, 0); in macsec_fs_rx_create_check_decap_rule()
865 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_5.macsec_tag_0, in macsec_fs_rx_create_check_decap_rule()
1077 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ETH_P_MACSEC); in macsec_fs_rx_setup_fte()
1084 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_5.macsec_tag_0, in macsec_fs_rx_setup_fte()
1090 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_5.macsec_tag_2, in macsec_fs_rx_setup_fte()
1095 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_5.macsec_tag_3, in macsec_fs_rx_setup_fte()
[all …]
/linux-6.1.9/drivers/pwm/
Dpwm-omap-dmtimer.c157 u32 load_value, match_value; in pwm_omap_dmtimer_config() local
229 match_value = load_value + duty_cycles - 1; in pwm_omap_dmtimer_config()
232 omap->pdata->set_match(omap->dm_timer, true, match_value); in pwm_omap_dmtimer_config()
235 load_value, load_value, match_value, match_value); in pwm_omap_dmtimer_config()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c161 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ip_version, in mlx5_esw_indir_table_rule_get()
166 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ethertype, in mlx5_esw_indir_table_rule_get()
176 MLX5_SET(fte_match_param, rule_spec->match_value, in mlx5_esw_indir_table_rule_get()
185 memcpy(MLX5_ADDR_OF(fte_match_param, rule_spec->match_value, in mlx5_esw_indir_table_rule_get()
192 MLX5_SET(fte_match_param, rule_spec->match_value, misc_parameters.vxlan_vni, in mlx5_esw_indir_table_rule_get()
193 MLX5_GET(fte_match_param, spec->match_value, misc_parameters.vxlan_vni)); in mlx5_esw_indir_table_rule_get()
197 MLX5_SET(fte_match_param, rule_spec->match_value, misc_parameters_2.metadata_reg_c_0, in mlx5_esw_indir_table_rule_get()
Dbridge.c678 smac_v = MLX5_ADDR_OF(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_flow_with_esw_create()
687 MLX5_SET(fte_match_param, rule_spec->match_value, misc_parameters_2.metadata_reg_c_0, in mlx5_esw_bridge_ingress_flow_with_esw_create()
699 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_flow_with_esw_create()
704 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_flow_with_esw_create()
709 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.first_vid, in mlx5_esw_bridge_ingress_flow_with_esw_create()
777 smac_v = MLX5_ADDR_OF(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_filter_flow_create()
786 MLX5_SET(fte_match_param, rule_spec->match_value, misc_parameters_2.metadata_reg_c_0, in mlx5_esw_bridge_ingress_filter_flow_create()
792 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_filter_flow_create()
797 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_ingress_filter_flow_create()
834 dmac_v = MLX5_ADDR_OF(fte_match_param, rule_spec->match_value, in mlx5_esw_bridge_egress_flow_create()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c510 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, in arfs_add_rule()
524 MLX5_SET(fte_match_param, spec->match_value, outer_headers.tcp_dport, in arfs_add_rule()
526 MLX5_SET(fte_match_param, spec->match_value, outer_headers.tcp_sport, in arfs_add_rule()
533 MLX5_SET(fte_match_param, spec->match_value, outer_headers.udp_dport, in arfs_add_rule()
535 MLX5_SET(fte_match_param, spec->match_value, outer_headers.udp_sport, in arfs_add_rule()
539 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
543 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
552 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
556 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in arfs_add_rule()
Den_fs.c241 MLX5_SET(fte_match_param, spec->match_value, outer_headers.cvlan_tag, 1); in __mlx5e_add_vlan_rule()
247 MLX5_SET(fte_match_param, spec->match_value, outer_headers.svlan_tag, 1); in __mlx5e_add_vlan_rule()
253 MLX5_SET(fte_match_param, spec->match_value, outer_headers.svlan_tag, 1); in __mlx5e_add_vlan_rule()
256 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, in __mlx5e_add_vlan_rule()
263 MLX5_SET(fte_match_param, spec->match_value, outer_headers.cvlan_tag, 1); in __mlx5e_add_vlan_rule()
266 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, in __mlx5e_add_vlan_rule()
968 mv_dmac = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5e_add_l2_flow_rule()
Deswitch_offloads.c115 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); in mlx5_eswitch_clear_rule_source_port()
152 misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); in mlx5_eswitch_set_rule_source_port()
161 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_set_rule_source_port()
1024 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_add_send_to_vport_rule()
1087 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_c_1, in mlx5_eswitch_add_send_to_vport_meta_rule()
1094 MLX5_SET(fte_match_param, spec->match_value, misc_parameters_2.metadata_reg_c_0, in mlx5_eswitch_add_send_to_vport_meta_rule()
1174 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in peer_miss_rules_setup()
1203 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_set_peer_miss_rule_source_port()
1209 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_set_peer_miss_rule_source_port()
1243 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_add_fdb_peer_miss_rules()
[all …]
Drdma.c81 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_rdma_enable_roce_steering()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c133 misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_vni()
170 misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_options()
172 misc_3_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_3); in mlx5e_tc_tun_parse_geneve_options()
292 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_geneve_params()
Dfs_tt_redirect.c68 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP); in fs_udp_set_dport_flow()
70 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, in fs_udp_set_dport_flow()
73 MLX5_SET(fte_match_param, spec->match_value, outer_headers.udp_dport, udp_dport); in fs_udp_set_dport_flow()
359 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ether_type); in fs_any_set_ethertype_flow()
Dtc_tun_gre.c62 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_gretap()
Dtc_tun_mplsoudp.c84 misc2_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in parse_tunnel()
Dtc_tun_vxlan.c115 misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_vxlan()
/linux-6.1.9/drivers/clocksource/
Dsh_cmt.c102 u32 match_value; member
459 if (has_wrapped && (new_match > ch->match_value)) { in sh_cmt_clock_event_program_verify()
477 ch->match_value = new_match; in sh_cmt_clock_event_program_verify()
488 ch->match_value = new_match; in sh_cmt_clock_event_program_verify()
542 ch->total_cycles += ch->match_value + 1; in sh_cmt_interrupt()
568 || (ch->match_value == ch->next_match_value)) in sh_cmt_interrupt()
653 raw += ch->match_value + 1; in sh_cmt_clocksource_read()
924 ch->match_value = ch->max_match_value; in sh_cmt_setup_channel()
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pip.h318 uint64_t match_value, uint64_t qos)
324 watcher_config.s.match_value = match_value;
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c211 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, proto); in mlx5_generate_ttc_rule()
218 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5_generate_ttc_rule()
222 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, etype); in mlx5_generate_ttc_rule()
377 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
383 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_protocol, proto); in mlx5_generate_inner_ttc_rule()
Dsmfs.c57 value.match_buf = (u64 *)spec->match_value; in mlx5_smfs_rule_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c65 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create()
67 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, vlan_id); in esw_egress_acl_vlan_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dct_fs_smfs.c321 tcp = MLX5_GET(fte_match_param, spec->match_value, in mlx5_ct_fs_smfs_ct_rule_add()
323 gre = MLX5_GET(fte_match_param, spec->match_value, in mlx5_ct_fs_smfs_ct_rule_add()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c192 u32 *match_v = spec->match_value; in parse_flow_attr()
823 MLX5_SET(fte_match_param, &spec->match_value, in set_vhca_port_spec()
842 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_ecn, in set_ecn_ce_spec()
846 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, in set_ecn_ce_spec()
864 MLX5_SET(fte_match_param, spec->match_value, misc_parameters.bth_opcode, in set_cnp_spec()
995 void *misc_params_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in set_underlay_qp()
1016 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_ib_set_rule_source_port()
1028 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_ib_set_rule_source_port()
1540 memcpy(spec->match_value, cmd_in, inlen); in _create_raw_flow_rule()
/linux-6.1.9/include/linux/mlx5/
Dfs.h137 u32 match_value[MLX5_ST_SZ_DW(fte_match_param)]; member
/linux-6.1.9/drivers/pci/
Dpci-acpi.c423 u32 match_value; member
541 if ((match_reg & reg->match_mask_and) != reg->match_value) in program_hpx_type3_register()
582 hpx3_reg->match_value = reg_fields[10].integer.value; in parse_hpx3_register()

12