Home
last modified time | relevance | path

Searched refs:vcap_rule_add_key_u32 (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_tc.c72 err = vcap_rule_add_key_u32(st->vrule, in vcap_tc_flower_handler_ipv4_usage()
80 err = vcap_rule_add_key_u32(st->vrule, in vcap_tc_flower_handler_ipv4_usage()
146 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_L4_SPORT, value, in vcap_tc_flower_handler_portnum_usage()
155 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_L4_DPORT, value, in vcap_tc_flower_handler_portnum_usage()
189 err = vcap_rule_add_key_u32(st->vrule, vid_key, in vcap_tc_flower_handler_cvlan_usage()
197 err = vcap_rule_add_key_u32(st->vrule, pcp_key, in vcap_tc_flower_handler_cvlan_usage()
223 err = vcap_rule_add_key_u32(st->vrule, vid_key, in vcap_tc_flower_handler_vlan_usage()
231 err = vcap_rule_add_key_u32(st->vrule, pcp_key, in vcap_tc_flower_handler_vlan_usage()
346 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_ARP_OPCODE, in vcap_tc_flower_handler_arp_usage()
363 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_L3_IP4_SIP, in vcap_tc_flower_handler_arp_usage()
[all …]
Dvcap_api_client.h191 int vcap_rule_add_key_u32(struct vcap_rule *rule, enum vcap_key_field key,
Dvcap_api_kunit.c1069 ret = vcap_rule_add_key_u32(rule, VCAP_KF_TYPE, 0x98765432, 0xff00ffab); in vcap_api_rule_add_keyvalue_test()
1395 ret = vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK_RNG, in vcap_api_encode_rule_test()
1398 ret = vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK, in vcap_api_encode_rule_test()
Dvcap_api.c1730 ret = vcap_rule_add_key_u32(rule, VCAP_KF_TYPE, in vcap_add_type_keyfield()
2732 int vcap_rule_add_key_u32(struct vcap_rule *rule, enum vcap_key_field key, in vcap_rule_add_key_u32() function
2741 EXPORT_SYMBOL_GPL(vcap_rule_add_key_u32);
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc_flower.c97 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_ETYPE, in lan966x_tc_flower_handler_basic_usage()
129 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_ETYPE, in lan966x_tc_flower_handler_basic_usage()
167 err = vcap_rule_add_key_u32(st->vrule, in lan966x_tc_flower_handler_basic_usage()
352 err = vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_GEN_IDX_SEL, in lan966x_tc_add_rule_link_target()
357 return vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_GEN_IDX, in lan966x_tc_add_rule_link_target()
361 return vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_PAG, in lan966x_tc_add_rule_link_target()
365 return vcap_rule_add_key_u32(vrule, VCAP_KF_ISDX_CLS, in lan966x_tc_add_rule_link_target()
Dlan966x_vcap_impl.c331 vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK, 0, in lan966x_vcap_is1_add_default_fields()
335 vcap_rule_add_key_u32(rule, VCAP_KF_LOOKUP_INDEX, lookup, 0x3); in lan966x_vcap_is1_add_default_fields()
346 vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK, 0, in lan966x_vcap_is2_add_default_fields()
361 vcap_rule_add_key_u32(rule, VCAP_KF_IF_EGR_PORT_NO, in lan966x_vcap_es0_add_default_fields()
Dlan966x_ptp.c132 return vcap_rule_add_key_u32(vrule, VCAP_KF_ETYPE, ETH_P_1588, ~0); in lan966x_ptp_add_l2_key()
138 return vcap_rule_add_key_u32(vrule, VCAP_KF_L4_DPORT, PTP_EV_PORT, ~0) || in lan966x_ptp_add_ip_event_key()
145 return vcap_rule_add_key_u32(vrule, VCAP_KF_L4_DPORT, PTP_GEN_PORT, ~0) || in lan966x_ptp_add_ip_general_key()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_flower.c46 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
51 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid()
75 err = vcap_rule_add_key_u32(st->vrule, VCAP_KF_ETYPE, in sparx5_tc_flower_handler_basic_usage()
121 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_handler_basic_usage()
171 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_handler_control_usage()
593 err = vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_GEN_IDX_SEL, in sparx5_tc_add_rule_link_target()
598 return vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_GEN_IDX, in sparx5_tc_add_rule_link_target()
603 return vcap_rule_add_key_u32(vrule, VCAP_KF_LOOKUP_PAG, in sparx5_tc_add_rule_link_target()
609 return vcap_rule_add_key_u32(vrule, VCAP_KF_ISDX_CLS, link_val, in sparx5_tc_add_rule_link_target()
Dsparx5_vcap_impl.c318 vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK_SEL, 0, 0xf); in sparx5_vcap_add_ingress_range_port_mask()
319 vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK_RNG, range, 0xf); in sparx5_vcap_add_ingress_range_port_mask()
320 vcap_rule_add_key_u32(rule, VCAP_KF_IF_IGR_PORT_MASK, 0, port_mask); in sparx5_vcap_add_ingress_range_port_mask()
356 vcap_rule_add_key_u32(rule, VCAP_KF_IF_EGR_PORT_MASK_RNG, range, 0xf); in sparx5_vcap_add_egress_range_port_mask()
357 vcap_rule_add_key_u32(rule, VCAP_KF_IF_EGR_PORT_MASK, 0, port_mask); in sparx5_vcap_add_egress_range_port_mask()
854 vcap_rule_add_key_u32(rule, VCAP_KF_IF_EGR_PORT_NO, port->portno, ~0); in sparx5_vcap_es0_add_default_fields()
856 vcap_rule_add_key_u32(rule, VCAP_KF_8021Q_TPID, SPX5_TPID_SEL_UNTAGGED, in sparx5_vcap_es0_add_default_fields()