/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/ |
A D | vcap_tc.c | 53 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_ETH_ADDRS); in vcap_tc_flower_handler_ethaddr_usage() 89 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS); in vcap_tc_flower_handler_ipv4_usage() 127 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_IPV6_ADDRS); in vcap_tc_flower_handler_ipv6_usage() 161 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_PORTS); in vcap_tc_flower_handler_portnum_usage() 204 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_CVLAN); in vcap_tc_flower_handler_cvlan_usage() 241 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_VLAN); in vcap_tc_flower_handler_vlan_usage() 316 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_TCP); in vcap_tc_flower_handler_tcp_usage() 379 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_ARP); in vcap_tc_flower_handler_arp_usage() 404 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_IP); in vcap_tc_flower_handler_ip_usage()
|
A D | vcap_tc.h | 17 unsigned int used_keys; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | ct_fs_smfs.c | 224 mlx5_tc_ct_valid_used_dissector_keys(const u32 used_keys) in mlx5_tc_ct_valid_used_dissector_keys() argument 235 return (used_keys == ipv4_tcp || used_keys == ipv4_udp || used_keys == ipv6_tcp || in mlx5_tc_ct_valid_used_dissector_keys() 236 used_keys == ipv6_udp || used_keys == ipv4_gre || used_keys == ipv6_gre); in mlx5_tc_ct_valid_used_dissector_keys() 249 if (!mlx5_tc_ct_valid_used_dissector_keys(flow_rule->match.dissector->used_keys)) { in mlx5_ct_fs_smfs_ct_validate_flow_rule() 251 flow_rule->match.dissector->used_keys); in mlx5_ct_fs_smfs_ct_validate_flow_rule()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_tables_offload.c | 38 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_CONTROL)) in nft_flow_rule_set_addr_type() 43 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CONTROL); in nft_flow_rule_set_addr_type() 62 if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_VLAN) && in nft_flow_rule_transfer_vlan() 73 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_CVLAN); in nft_flow_rule_transfer_vlan() 74 } else if (match->dissector.used_keys & BIT(FLOW_DISSECTOR_KEY_BASIC) && in nft_flow_rule_transfer_vlan() 83 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_VLAN); in nft_flow_rule_transfer_vlan()
|
A D | nf_flow_table_offload.c | 77 match->dissector.used_keys |= enc_keys; in nf_flow_rule_lwt_match() 166 match->dissector.used_keys |= BIT(key->control.addr_type); in nf_flow_rule_match() 173 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_TCP); in nf_flow_rule_match() 185 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_META) | in nf_flow_rule_match() 197 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_PORTS); in nf_flow_rule_match()
|
A D | nft_cmp.c | 165 flow->match.dissector.used_keys |= BIT(reg->key); in __nft_cmp_offload()
|
/linux-6.3-rc2/include/net/ |
A D | flow_dissector.h | 348 unsigned int used_keys; /* each bit repesents presence of one key id */ member 408 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | tc.c | 187 if (dissector->used_keys & in efx_tc_flower_parse_match() 199 dissector->used_keys); in efx_tc_flower_parse_match() 208 if (dissector->used_keys & in efx_tc_flower_parse_match() 215 dissector->used_keys); in efx_tc_flower_parse_match() 261 if (dissector->used_keys & in efx_tc_flower_parse_match() 265 dissector->used_keys); in efx_tc_flower_parse_match()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_tc_flower.c | 54 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_CONTROL); in lan966x_tc_flower_handler_control_usage() 108 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in lan966x_tc_flower_handler_basic_usage()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_tc_flower.c | 121 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in sparx5_tc_flower_handler_basic_usage() 170 st->used_keys |= BIT(FLOW_DISSECTOR_KEY_CONTROL); in sparx5_tc_flower_handler_control_usage() 243 if (st->frule->match.dissector->used_keys ^ st->used_keys) { in sparx5_tc_use_dissectors()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/ |
A D | offload.c | 253 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() 1306 if (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT)) { in offload_pre_check()
|
A D | conntrack.c | 98 if (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT)) { in is_post_ct_flow() 228 unsigned int ovlp_keys = entry1->rule->match.dissector->used_keys & in nfp_ct_merge_check() 229 entry2->rule->match.dissector->used_keys; in nfp_ct_merge_check() 566 if (ct_met && (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT))) { in nfp_ct_check_meta()
|
/linux-6.3-rc2/net/ethtool/ |
A D | ioctl.c | 3198 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3213 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3221 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3250 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3265 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3273 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3298 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create() 3330 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3345 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch-flower.c | 19 if (dissector->used_keys & in dpaa2_switch_flower_parse_key() 541 if (dissector->used_keys & in dpaa2_switch_flower_parse_mirror_key()
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 583 if (dissector->used_keys & in ocelot_flower_parse_key() 633 if ((dissector->used_keys & in ocelot_flower_parse_key()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_flower.c | 315 if (dissector->used_keys & in cxgb4_validate_flow_match() 325 dissector->used_keys); in cxgb4_validate_flow_match()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 485 if ((dissector->used_keys & in otx2_tc_prepare_flow() 495 dissector->used_keys); in otx2_tc_prepare_flow()
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_flower.c | 207 if (dissector->used_keys & in sja1105_flower_parse_key()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_selftests.c | 1358 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_IPV4_ADDRS); in __stmmac_test_l3filt() 1484 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_BASIC); in __stmmac_test_l4filt() 1485 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_PORTS); in __stmmac_test_l4filt()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_flower.c | 198 if (dissector->used_keys & in prestera_flower_parse()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.c | 376 if ((dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CONTROL)) == 0 || in bnxt_tc_parse_flow() 377 (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_BASIC)) == 0) { in bnxt_tc_parse_flow() 379 dissector->used_keys); in bnxt_tc_parse_flow()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-qos.c | 620 if (dissector->used_keys & in am65_cpsw_qos_clsflower_add_policer()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_flower.c | 479 if (dissector->used_keys & in mlxsw_sp_flower_parse()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.c | 1332 if (dissector->used_keys & in ice_parse_cls_flower() 1371 } else if (dissector->used_keys & in ice_parse_cls_flower()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 1829 if (dissector->used_keys & in qede_parse_flow_attr() 1836 dissector->used_keys); in qede_parse_flow_attr()
|