| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_tc.c | 53 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 D | vcap_tc.h | 17 unsigned long long used_keys; member
|
| /linux/net/netfilter/ |
| H A D | nf_tables_offload.c | 38 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 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_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 D | nft_cmp.c | 165 flow->match.dissector.used_keys |= BIT_ULL(reg->key); in __nft_cmp_offload()
|
| /linux/include/net/ |
| H A D | flow_dissector.h | 395 unsigned long long used_keys; member 458 return flow_dissector->used_keys & (1ULL << key_id); in dissector_uses_key()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_tc_flower.c | 118 if (dissector->used_keys & in ksz9477_flower_parse_key()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_tc_flower.c | 84 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL); in lan966x_tc_flower_handler_control_usage() 181 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_BASIC); in lan966x_tc_flower_handler_basic_usage()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H 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() 1308 if (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT)) { in offload_pre_check()
|
| H A D | conntrack.c | 64 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()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc_conntrack.c | 123 if (dissector->used_keys & in efx_tc_ct_parse_match() 133 dissector->used_keys); in efx_tc_ct_parse_match()
|
| H A D | tc.c | 281 if (dissector->used_keys & in efx_tc_flower_parse_match() 300 dissector->used_keys); in efx_tc_flower_parse_match() 309 if (dissector->used_keys & in efx_tc_flower_parse_match() 317 dissector->used_keys); in efx_tc_flower_parse_match() 363 if (dissector->used_keys & in efx_tc_flower_parse_match() 368 dissector->used_keys); in efx_tc_flower_parse_match() 424 } else if (dissector->used_keys & in efx_tc_flower_parse_match() 432 dissector->used_keys); in efx_tc_flower_parse_match()
|
| /linux/net/ethtool/ |
| H A D | ioctl.c | 3691 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3706 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3714 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3743 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3758 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3766 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3791 match->dissector.used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create() 3823 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3838 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch-flower.c | 19 if (dissector->used_keys & in dpaa2_switch_flower_parse_key() 545 if (dissector->used_keys & in dpaa2_switch_flower_parse_mirror_key()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_flower.c | 207 if (dissector->used_keys & in sja1105_flower_parse_key()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_flower.c | 204 if (dissector->used_keys & in prestera_flower_parse()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 377 if ((dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CONTROL)) == 0 || in bnxt_tc_parse_flow() 378 (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_BASIC)) == 0) { in bnxt_tc_parse_flow() 380 dissector->used_keys); in bnxt_tc_parse_flow()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_tc.c | 643 if ((dissector->used_keys & in otx2_tc_prepare_flow() 658 dissector->used_keys); in otx2_tc_prepare_flow()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_flower.c | 580 if (dissector->used_keys & in mlxsw_sp_flower_parse()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1837 if (dissector->used_keys & in qede_parse_flow_attr() 1844 dissector->used_keys); in qede_parse_flow_attr()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.c | 1035 if (dissector->used_keys & in am65_cpsw_qos_clsflower_add_policer()
|
| /linux/net/core/ |
| H A D | flow_dissector.c | 43 flow_dissector->used_keys |= (1ULL << key_id); in dissector_set_key()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_main.c | 3826 if (dissector->used_keys & in iavf_parse_cls_flower() 3836 dissector->used_keys); in iavf_parse_cls_flower()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 7335 if (dissector->used_keys & in hclge_parse_cls_flower() 7344 dissector->used_keys); in hclge_parse_cls_flower()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 8561 if (dissector->used_keys & in i40e_parse_cls_flower() 8571 dissector->used_keys); in i40e_parse_cls_flower()
|