/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 396 skb_flow_dissect_set_enc_addr_type(FLOW_DISSECTOR_KEY_IPV4_ADDRS, in skb_flow_dissect_tunnel_info() 927 dissector_uses_key(flow_dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_bpf_to_target() 929 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_bpf_to_target() 933 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_bpf_to_target() 1180 FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_dissect() 1182 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_dissect() 1189 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_dissect() 1687 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_keys_hash_length() 1703 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_get_u32_src() 1719 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_get_u32_dst() [all …]
|
H A D | flow_offload.c | 110 FLOW_DISSECTOR_MATCH(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS, out); in flow_rule_match_ipv4_addrs()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 106 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in efx_tc_ct_parse_match() 126 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in efx_tc_ct_parse_match() 180 if (ipv == 4 && flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in efx_tc_ct_parse_match()
|
H A D | tc.c | 258 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in efx_tc_flower_parse_match() 288 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in efx_tc_flower_parse_match() 311 (BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in efx_tc_flower_parse_match() 403 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in efx_tc_flower_parse_match()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 309 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in mtk_flow_offload_replace() 377 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace() 425 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_payload.c | 387 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, src, in nft_payload_offload_ip() 389 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip() 396 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, dst, in nft_payload_offload_ip() 398 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip()
|
H A D | nf_flow_table_offload.c | 59 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_lwt_match() 102 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in nf_flow_rule_match() 147 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_match()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 173 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in cxgb4_process_flow_match() 174 addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in cxgb4_process_flow_match() 201 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in cxgb4_process_flow_match() 318 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in cxgb4_validate_flow_match()
|
/openbmc/linux/include/net/ |
H A D | flow_dissector.h | 335 FLOW_DISSECTOR_KEY_IPV4_ADDRS, /* struct flow_dissector_key_ipv4_addrs */ enumerator
|
H A D | ip.h | 587 flow->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in iph_to_flow_copy_v4addrs()
|
/openbmc/linux/net/ipv4/ |
H A D | route.c | 1928 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_outer() 1967 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_custom_hash_inner() 1968 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_inner() 2015 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_fl4() 2041 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash() 2067 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash() 2075 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash() 2092 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_hash() 2093 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash() 2104 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flower.c | 209 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in prestera_flower_parse() 282 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in prestera_flower_parse()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 575 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in mlxsw_sp_flower_parse() 671 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) in mlxsw_sp_flower_parse()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-flower.c | 27 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS))) { in dpaa2_switch_flower_parse_key() 71 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in dpaa2_switch_flower_parse_key()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 589 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in ocelot_flower_parse_key() 707 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse_key()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.c | 89 st->used_keys |= BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS); in vcap_tc_flower_handler_ipv4_usage()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 241 if (tuple->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_rule_to_tuple() 398 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_set_tuple_match() 1041 if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_shared_counter_get() 1384 tuple->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in mlx5_tc_ct_skb_to_tuple()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 29 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | \ 141 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac() 338 enc_ctl.key->addr_type != FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in nfp_flower_calculate_key_layers()
|
H A D | match.c | 338 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_flower_compile_ipv4()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_flower.c | 211 [FLOW_DISSECTOR_KEY_IPV4_ADDRS] = vcap_tc_flower_handler_ipv4_usage,
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1345 if (enc_control.key->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in ice_parse_tunnel_attr() 1425 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in ice_parse_cls_flower() 1613 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in ice_parse_cls_flower()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 537 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in otx2_tc_prepare_flow() 688 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in otx2_tc_prepare_flow()
|
/openbmc/linux/net/sched/ |
H A D | cls_flower.c | 1816 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key() 1928 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key() 2051 FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in fl_init_dissector() 3328 if (key->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key() 3435 if (key->enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 1759 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_flow_parse_v4_common() 1831 BIT_ULL(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in qede_parse_flow_attr()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1358 dissector->used_keys |= (1ULL << FLOW_DISSECTOR_KEY_IPV4_ADDRS); in __stmmac_test_l3filt() 1359 dissector->offset[FLOW_DISSECTOR_KEY_IPV4_ADDRS] = 0; in __stmmac_test_l3filt()
|