Home
last modified time | relevance | path

Searched refs:used_keys (Results 1 - 25 of 54) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c53 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_ETH_ADDRS); in vcap_tc_flower_handler_ethaddr_usage()
89 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS); in vcap_tc_flower_handler_ipv4_usage()
127 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_IPV6_ADDRS); in vcap_tc_flower_handler_ipv6_usage()
161 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_PORTS); in vcap_tc_flower_handler_portnum_usage()
204 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CVLAN); in vcap_tc_flower_handler_cvlan_usage()
241 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_VLAN); in vcap_tc_flower_handler_vlan_usage()
316 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_TCP); in vcap_tc_flower_handler_tcp_usage()
379 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_ARP); in vcap_tc_flower_handler_arp_usage()
404 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_IP); in vcap_tc_flower_handler_ip_usage()
H A Dvcap_tc.h17 unsigned long long used_keys; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c224 mlx5_tc_ct_valid_used_dissector_keys(const u64 used_keys) in mlx5_tc_ct_valid_used_dissector_keys() argument
240 return (used_keys == ipv4_tcp || used_keys == ipv4_udp || used_keys == ipv6_tcp || in mlx5_tc_ct_valid_used_dissector_keys()
241 used_keys == ipv6_udp || used_keys == ipv4_gre || used_keys == ipv6_gre); in mlx5_tc_ct_valid_used_dissector_keys()
254 if (!mlx5_tc_ct_valid_used_dissector_keys(flow_rule->match.dissector->used_keys)) { in mlx5_ct_fs_smfs_ct_validate_flow_rule()
256 flow_rule->match.dissector->used_keys); in mlx5_ct_fs_smfs_ct_validate_flow_rule()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_tables_offload.c40 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_CONTROL)) in nft_flow_rule_set_addr_type()
45 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CONTROL); in nft_flow_rule_set_addr_type()
64 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_VLAN) && in nft_flow_rule_transfer_vlan()
75 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CVLAN); in nft_flow_rule_transfer_vlan()
76 } else if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_BASIC) && in nft_flow_rule_transfer_vlan()
85 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_VLAN); in nft_flow_rule_transfer_vlan()
H A Dnf_flow_table_offload.c76 match->dissector.used_keys |= enc_keys; in nf_flow_rule_lwt_match()
124 match->dissector.used_keys |= BIT(key->control.addr_type); in nf_flow_rule_match()
131 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_TCP); in nf_flow_rule_match()
147 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_META) | in nf_flow_rule_match()
H A Dnft_cmp.c164 flow->match.dissector.used_keys |= BIT(reg->key); in __nft_cmp_offload()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_tables_offload.c38 if (match->dissector.used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL)) in nft_flow_rule_set_addr_type()
43 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL); in nft_flow_rule_set_addr_type()
62 if (match->dissector.used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_VLAN) && in nft_flow_rule_transfer_vlan()
73 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CVLAN); in nft_flow_rule_transfer_vlan()
74 } else if (match->dissector.used_keys & in nft_flow_rule_transfer_vlan()
84 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_VLAN); in nft_flow_rule_transfer_vlan()
H A Dnf_flow_table_offload.c77 match->dissector.used_keys |= enc_keys; in nf_flow_rule_lwt_match()
166 match->dissector.used_keys |= BIT_ULL(key->control.addr_type); in nf_flow_rule_match()
173 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_TCP); in nf_flow_rule_match()
185 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_META) | in nf_flow_rule_match()
197 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_PORTS); in nf_flow_rule_match()
H A Dnft_cmp.c165 flow->match.dissector.used_keys |= BIT_ULL(reg->key); in __nft_cmp_offload()
/kernel/linux/linux-5.10/include/net/
H A Dflow_dissector.h300 unsigned int used_keys; /* each bit repesents presence of one key id */ member
360 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key()
/kernel/linux/linux-6.6/include/net/
H A Dflow_dissector.h382 unsigned long long used_keys; member
443 return flow_dissector->used_keys & (1ULL << key_id); in dissector_uses_key()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c78 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL); in lan966x_tc_flower_handler_control_usage()
175 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_BASIC); in lan966x_tc_flower_handler_basic_usage()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c123 if (dissector->used_keys & in efx_tc_ct_parse_match()
133 dissector->used_keys); in efx_tc_ct_parse_match()
H A Dtc.c247 * even on IPv4 filters; so rather than relying on dissector->used_keys in efx_tc_flower_parse_match()
282 if (dissector->used_keys & in efx_tc_flower_parse_match()
301 dissector->used_keys); in efx_tc_flower_parse_match()
310 if (dissector->used_keys & in efx_tc_flower_parse_match()
318 dissector->used_keys); in efx_tc_flower_parse_match()
364 if (dissector->used_keys & in efx_tc_flower_parse_match()
369 dissector->used_keys); in efx_tc_flower_parse_match()
428 } else if (dissector->used_keys & in efx_tc_flower_parse_match()
436 dissector->used_keys); in efx_tc_flower_parse_match()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c129 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_BASIC); in sparx5_tc_flower_handler_basic_usage()
178 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL); in sparx5_tc_flower_handler_control_usage()
251 if (st->frule->match.dissector->used_keys ^ st->used_keys) { in sparx5_tc_use_dissectors()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A Docelot_flower.c446 if (dissector->used_keys & in ocelot_flower_parse_key()
496 if ((dissector->used_keys & in ocelot_flower_parse_key()
/kernel/linux/linux-5.10/net/ethtool/
H A Dioctl.c3052 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3067 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3075 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3104 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3119 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3127 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3152 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create()
3184 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3199 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
/kernel/linux/linux-6.6/net/ethtool/
H A Dioctl.c3210 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3225 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3233 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3262 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3277 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3285 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3310 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create()
3342 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3357 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c253 if (dissector->used_keys & ~NFP_FLOWER_WHITELIST_DISSECTOR) { in nfp_flower_calculate_key_layers()
259 if (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR && in nfp_flower_calculate_key_layers()
260 (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR_V6_R) in nfp_flower_calculate_key_layers()
262 (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR_R) in nfp_flower_calculate_key_layers()
1304 if (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT)) { in offload_pre_check()
H A Dconntrack.c64 if (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT)) { in is_pre_ct_flow()
97 if (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT)) { in is_post_ct_flow()
242 ovlp_keys = entry1->rule->match.dissector->used_keys & in nfp_ct_merge_check()
243 entry2->rule->match.dissector->used_keys; in nfp_ct_merge_check()
593 if (ct_met && (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT))) { in nfp_ct_check_meta()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c19 if (dissector->used_keys & in dpaa2_switch_flower_parse_key()
542 if (dissector->used_keys & in dpaa2_switch_flower_parse_mirror_key()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_flower.c583 if (dissector->used_keys & in ocelot_flower_parse_key()
643 if ((dissector->used_keys & in ocelot_flower_parse_key()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c255 if (dissector->used_keys & ~NFP_FLOWER_WHITELIST_DISSECTOR) { in nfp_flower_calculate_key_layers()
261 if (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR && in nfp_flower_calculate_key_layers()
262 (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR_V6_R) in nfp_flower_calculate_key_layers()
264 (dissector->used_keys & NFP_FLOWER_WHITELIST_TUN_DISSECTOR_R) in nfp_flower_calculate_key_layers()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c206 if (dissector->used_keys & in sja1105_flower_parse_key()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c207 if (dissector->used_keys & in sja1105_flower_parse_key()

Completed in 35 milliseconds

123