Home
last modified time | relevance | path

Searched refs:used_keys (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_tables_offload.c38 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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dioctl.c3047 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3062 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3070 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3099 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3114 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3122 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3147 match->dissector.used_keys |= BIT(FLOW_DISSECTOR_KEY_BASIC); in ethtool_rx_flow_rule_create()
3179 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
3194 match->dissector.used_keys |= in ethtool_rx_flow_rule_create()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_flower.c446 if (dissector->used_keys & in ocelot_flower_parse_key()
484 if ((dissector->used_keys & in ocelot_flower_parse_key()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c315 if (dissector->used_keys & in cxgb4_validate_flow_match()
325 dissector->used_keys); in cxgb4_validate_flow_match()
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c206 if (dissector->used_keys & in sja1105_flower_parse_key()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1358 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c375 if ((dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_CONTROL)) == 0 || in bnxt_tc_parse_flow()
376 (dissector->used_keys & BIT(FLOW_DISSECTOR_KEY_BASIC)) == 0) { in bnxt_tc_parse_flow()
378 dissector->used_keys); in bnxt_tc_parse_flow()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c411 if (dissector->used_keys & in mlxsw_sp_flower_parse()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1838 if (dissector->used_keys & in qede_parse_flow_attr()
1845 dissector->used_keys); in qede_parse_flow_attr()
/OK3568_Linux_fs/kernel/net/core/
H A Dflow_dissector.c39 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1367 fwd = enetc_check_flow_actions(actions, dissector->used_keys); in enetc_config_clsflower()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c2769 if (dissector->used_keys & in iavf_parse_cls_flower()
2779 dissector->used_keys); in iavf_parse_cls_flower()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2294 if (dissector->used_keys & in __parse_cls_flower()
2317 dissector->used_keys); in __parse_cls_flower()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c8014 if (dissector->used_keys & in i40e_parse_cls_flower()
8024 dissector->used_keys); in i40e_parse_cls_flower()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_main.c2591 if (dissector->used_keys & in igb_parse_cls_flower()