/linux/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 | 78 match->dissector.used_keys |= enc_keys; in nf_flow_rule_lwt_match() 163 match->dissector.used_keys |= BIT(key->control.addr_type); in nf_flow_rule_match() 170 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_TCP); in nf_flow_rule_match() 186 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_META) | in nf_flow_rule_match()
|
A D | nft_cmp.c | 168 flow->match.dissector.used_keys |= BIT(reg->key); in __nft_cmp_offload()
|
/linux/include/net/ |
A D | flow_dissector.h | 299 unsigned int used_keys; /* each bit repesents presence of one key id */ member 359 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key()
|
/linux/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() 1278 if (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT)) in offload_pre_check()
|
A D | conntrack.c | 71 if (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT)) { in is_post_ct_flow() 82 unsigned int ovlp_keys = entry1->rule->match.dissector->used_keys & in nfp_ct_merge_check() 83 entry2->rule->match.dissector->used_keys; in nfp_ct_merge_check() 390 if (ct_met && (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CT))) { in nfp_ct_check_meta()
|
/linux/net/ethtool/ |
A D | ioctl.c | 3161 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3176 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3184 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3213 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3228 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3236 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3261 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create() 3293 match->dissector.used_keys |= in ethtool_rx_flow_rule_create() 3308 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 490 if (dissector->used_keys & in ocelot_flower_parse_key() 535 if ((dissector->used_keys & in ocelot_flower_parse_key()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch-flower.c | 19 if (dissector->used_keys & in dpaa2_switch_flower_parse_key() 536 if (dissector->used_keys & in dpaa2_switch_flower_parse_mirror_key()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 408 if ((dissector->used_keys & in otx2_tc_prepare_flow() 418 dissector->used_keys); in otx2_tc_prepare_flow()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_flower.c | 99 if (dissector->used_keys & in prestera_flower_parse()
|
/linux/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/drivers/net/dsa/sja1105/ |
A D | sja1105_flower.c | 207 if (dissector->used_keys & in sja1105_flower_parse_key()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.c | 830 if (dissector->used_keys & in ice_parse_cls_flower() 864 } else if (dissector->used_keys & in ice_parse_cls_flower()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_selftests.c | 1359 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_IPV4_ADDRS); in __stmmac_test_l3filt() 1485 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_BASIC); in __stmmac_test_l4filt() 1486 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_PORTS); in __stmmac_test_l4filt()
|
/linux/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/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_flower.c | 434 if (dissector->used_keys & in mlxsw_sp_flower_parse()
|
/linux/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()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_qos.c | 1366 fwd = enetc_check_flow_actions(actions, dissector->used_keys); in enetc_config_clsflower()
|
/linux/net/core/ |
A D | flow_dissector.c | 40 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_main.c | 2857 if (dissector->used_keys & in iavf_parse_cls_flower() 2867 dissector->used_keys); in iavf_parse_cls_flower()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 2155 if (dissector->used_keys & in __parse_cls_flower() 2179 dissector->used_keys); in __parse_cls_flower()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 7583 if (dissector->used_keys & in hclge_parse_cls_flower() 7592 dissector->used_keys); in hclge_parse_cls_flower()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_main.c | 8275 if (dissector->used_keys & in i40e_parse_cls_flower() 8285 dissector->used_keys); in i40e_parse_cls_flower()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_main.c | 2589 if (dissector->used_keys & in igb_parse_cls_flower()
|