/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 54 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_meta_tci() 103 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in nfp_flower_compile_mac() 112 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_compile_mac() 126 } else if (dissector_uses_key(flow->dissector, in nfp_flower_compile_mac() 153 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_PORTS)) { in nfp_flower_compile_tport() 169 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_ip_ext() 178 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_IP)) { in nfp_flower_compile_ip_ext() 188 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_TCP)) { in nfp_flower_compile_ip_ext() 208 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in nfp_flower_compile_ip_ext() 231 if (dissector_uses_key(flow->dissector, in nfp_flower_compile_ipv4() [all …]
|
D | offload.c | 136 return dissector_uses_key(f->dissector, in nfp_flower_check_higher_than_mac() 138 dissector_uses_key(f->dissector, in nfp_flower_check_higher_than_mac() 140 dissector_uses_key(f->dissector, in nfp_flower_check_higher_than_mac() 142 dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_mac() 189 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS) || in nfp_flower_calculate_key_layers() 190 dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_calculate_key_layers() 195 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_calculate_key_layers() 206 if (dissector_uses_key(flow->dissector, in nfp_flower_calculate_key_layers() 247 if (dissector_uses_key(flow->dissector, in nfp_flower_calculate_key_layers() 289 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_calculate_key_layers() [all …]
|
D | action.c | 596 if (dissector_uses_key(flow->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_fl_pedit()
|
/Linux-v4.19/net/core/ |
D | flow_dissector.c | 48 BUG_ON(dissector_uses_key(flow_dissector, in skb_flow_dissector_init() 58 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init() 60 BUG_ON(!dissector_uses_key(flow_dissector, in skb_flow_dissector_init() 128 if (!dissector_uses_key(flow_dissector, FLOW_DISSECTOR_KEY_ENC_CONTROL)) in skb_flow_dissect_set_enc_addr_type() 146 if (!dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() 148 !dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() 150 !dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() 152 !dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() 154 !dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() 156 !dissector_uses_key(flow_dissector, in skb_flow_dissect_tunnel_info() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 178 if (!dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_PORTS)) in mlxsw_sp_flower_parse_ports() 207 if (!dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_TCP)) in mlxsw_sp_flower_parse_tcp() 234 if (!dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_IP)) in mlxsw_sp_flower_parse_ip() 289 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in mlxsw_sp_flower_parse() 297 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in mlxsw_sp_flower_parse() 323 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in mlxsw_sp_flower_parse() 347 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in mlxsw_sp_flower_parse()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.c | 88 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in cxgb4_process_flow_match() 97 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_process_flow_match() 165 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_PORTS)) { in cxgb4_process_flow_match() 184 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_process_flow_match() 197 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in cxgb4_process_flow_match() 214 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in cxgb4_process_flow_match() 275 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_validate_flow_match() 288 if (dissector_uses_key(cls->dissector, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_validate_flow_match()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 202 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in bnxt_tc_parse_flow() 209 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_BASIC)) { in bnxt_tc_parse_flow() 225 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in bnxt_tc_parse_flow() 238 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_VLAN)) { in bnxt_tc_parse_flow() 253 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 264 } else if (dissector_uses_key(dissector, in bnxt_tc_parse_flow() 278 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_PORTS)) { in bnxt_tc_parse_flow() 291 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_ICMP)) { in bnxt_tc_parse_flow() 304 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in bnxt_tc_parse_flow() 311 if (dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS)) { in bnxt_tc_parse_flow() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 1088 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in parse_vxlan_attr() 1118 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_PORTS)) { in parse_tunnel_attr() 1210 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_IP)) { in parse_tunnel_attr() 1285 if ((dissector_uses_key(f->dissector, in __parse_cls_flower() 1287 dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_KEYID) || in __parse_cls_flower() 1288 dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_PORTS)) && in __parse_cls_flower() 1289 dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in __parse_cls_flower() 1313 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in __parse_cls_flower() 1341 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in __parse_cls_flower() 1376 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_CVLAN)) { in __parse_cls_flower() [all …]
|
/Linux-v4.19/include/net/ |
D | flow_dissector.h | 295 static inline bool dissector_uses_key(const struct flow_dissector *flow_dissector, in dissector_uses_key() function
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 2467 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in i40evf_parse_cls_flower() 2477 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in i40evf_parse_cls_flower() 2508 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in i40evf_parse_cls_flower() 2560 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in i40evf_parse_cls_flower() 2583 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in i40evf_parse_cls_flower() 2674 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_PORTS)) { in i40evf_parse_cls_flower()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 2036 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_PORTS)) { in qede_tc_parse_ports() 2069 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_tc_parse_v6_common() 2103 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_tc_parse_v4_common() 2200 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in qede_parse_flower_attr()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7116 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in i40e_parse_cls_flower() 7133 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in i40e_parse_cls_flower() 7155 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in i40e_parse_cls_flower() 7190 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in i40e_parse_cls_flower() 7214 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_CONTROL)) { in i40e_parse_cls_flower() 7289 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_PORTS)) { in i40e_parse_cls_flower()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2596 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in igb_parse_cls_flower() 2629 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_BASIC)) { in igb_parse_cls_flower() 2650 if (dissector_uses_key(f->dissector, FLOW_DISSECTOR_KEY_VLAN)) { in igb_parse_cls_flower()
|