Home
last modified time | relevance | path

Searched refs:misc3 (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c101 dr_mask_is_vxlan_gpe_set(struct mlx5dr_match_misc3 *misc3) in dr_mask_is_vxlan_gpe_set() argument
103 return (misc3->outer_vxlan_gpe_vni || in dr_mask_is_vxlan_gpe_set()
104 misc3->outer_vxlan_gpe_next_protocol || in dr_mask_is_vxlan_gpe_set()
105 misc3->outer_vxlan_gpe_flags); in dr_mask_is_vxlan_gpe_set()
119 return dr_mask_is_vxlan_gpe_set(&mask->misc3) && in dr_mask_is_tnl_vxlan_gpe()
131 static bool dr_mask_is_tnl_geneve_tlv_opt(struct mlx5dr_match_misc3 *misc3) in dr_mask_is_tnl_geneve_tlv_opt() argument
133 return misc3->geneve_tlv_option_0_data; in dr_mask_is_tnl_geneve_tlv_opt()
164 static bool dr_mask_is_tnl_gtpu_set(struct mlx5dr_match_misc3 *misc3) in dr_mask_is_tnl_gtpu_set() argument
166 return misc3->gtpu_msg_flags || misc3->gtpu_msg_type || misc3->gtpu_teid; in dr_mask_is_tnl_gtpu_set()
177 return dr_mask_is_tnl_gtpu_set(&mask->misc3) && in dr_mask_is_tnl_gtpu()
[all …]
Ddr_ste_v1.c1753 struct mlx5dr_match_misc3 *misc3 = &value->misc3; in dr_ste_v1_build_icmp_tag() local
1754 bool is_ipv4 = DR_MASK_IS_ICMPV4_SET(misc3); in dr_ste_v1_build_icmp_tag()
1760 icmp_header_data = &misc3->icmpv4_header_data; in dr_ste_v1_build_icmp_tag()
1761 icmp_type = &misc3->icmpv4_type; in dr_ste_v1_build_icmp_tag()
1762 icmp_code = &misc3->icmpv4_code; in dr_ste_v1_build_icmp_tag()
1764 icmp_header_data = &misc3->icmpv6_header_data; in dr_ste_v1_build_icmp_tag()
1765 icmp_type = &misc3->icmpv6_type; in dr_ste_v1_build_icmp_tag()
1766 icmp_code = &misc3->icmpv6_code; in dr_ste_v1_build_icmp_tag()
1816 struct mlx5dr_match_misc3 *misc3 = &value->misc3; in dr_ste_v1_build_eth_l4_misc_tag() local
1819 DR_STE_SET_TAG(eth_l4_misc_v1, tag, seq_num, misc3, inner_tcp_seq_num); in dr_ste_v1_build_eth_l4_misc_tag()
[all …]
Ddr_ste_v0.c1408 struct mlx5dr_match_misc3 *misc_3 = &value->misc3; in dr_ste_v0_build_icmp_tag()
1459 is_ipv4 = DR_MASK_IS_ICMPV4_SET(&mask->misc3); in dr_ste_v0_build_icmp_init()
1498 struct mlx5dr_match_misc3 *misc3 = &value->misc3; in dr_ste_v0_build_eth_l4_misc_tag() local
1501 DR_STE_SET_TAG(eth_l4_misc, tag, seq_num, misc3, inner_tcp_seq_num); in dr_ste_v0_build_eth_l4_misc_tag()
1502 DR_STE_SET_TAG(eth_l4_misc, tag, ack_num, misc3, inner_tcp_ack_num); in dr_ste_v0_build_eth_l4_misc_tag()
1504 DR_STE_SET_TAG(eth_l4_misc, tag, seq_num, misc3, outer_tcp_seq_num); in dr_ste_v0_build_eth_l4_misc_tag()
1505 DR_STE_SET_TAG(eth_l4_misc, tag, ack_num, misc3, outer_tcp_ack_num); in dr_ste_v0_build_eth_l4_misc_tag()
1527 struct mlx5dr_match_misc3 *misc3 = &value->misc3; in dr_ste_v0_build_flex_parser_tnl_vxlan_gpe_tag() local
1530 outer_vxlan_gpe_flags, misc3, in dr_ste_v0_build_flex_parser_tnl_vxlan_gpe_tag()
1533 outer_vxlan_gpe_next_protocol, misc3, in dr_ste_v0_build_flex_parser_tnl_vxlan_gpe_tag()
[all …]
Ddr_dbg.c381 dr_dump_hex_print(dump, (char *)&mask->misc3, sizeof(mask->misc3)); in dr_dump_matcher_mask()
Ddr_rule.c990 s_idx = offsetof(struct mlx5dr_match_param, misc3); in dr_rule_verify()
991 e_idx = min(s_idx + sizeof(param->misc3), value_size); in dr_rule_verify()
Ddr_types.h820 struct mlx5dr_match_misc3 misc3; member
Ddr_ste.c1095 dr_ste_copy_mask_misc3(buff, &set_param->misc3, clr); in mlx5dr_ste_copy_param()
/linux-6.6.21/drivers/pcmcia/
Dricoh.h165 u16 misc3; in ricoh_set_clkrun() local
178 misc3 = config_readw(socket, RL5C4XX_MISC3); in ricoh_set_clkrun()
179 if (misc3 & RL5C47X_MISC3_CB_CLKRUN_DIS) { in ricoh_set_clkrun()
187 misc3 |= RL5C47X_MISC3_CB_CLKRUN_DIS; in ricoh_set_clkrun()
188 config_writew(socket, RL5C4XX_MISC3, misc3); in ricoh_set_clkrun()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_cgu_regs.h65 u32 misc3 : 1; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c1252 uint32_t misc3; in vegam_populate_memory_timing_parameters() local
1266 misc3 = cgs_read_register(hwmgr->device, mmMC_ARB_MISC3); in vegam_populate_memory_timing_parameters()
1272 arb_regs->McArbMisc3 = PP_HOST_TO_SMC_UL(misc3); in vegam_populate_memory_timing_parameters()