/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_fdir.c | 266 fltr->ip_ver = 4; in iavf_fill_fdir_ip4_hdr() 312 fltr->ip_ver = 6; in iavf_fill_fdir_ip6_hdr() 372 if (!fltr->flex_cnt) in iavf_fill_fdir_udp_hdr() 476 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr() 653 fltr->loc, in iavf_print_fdir_fltr() 663 fltr->loc, in iavf_print_fdir_fltr() 671 fltr->loc, in iavf_print_fdir_fltr() 681 fltr->loc, in iavf_print_fdir_fltr() 691 fltr->loc, in iavf_print_fdir_fltr() 699 fltr->loc, in iavf_print_fdir_fltr() [all …]
|
A D | iavf_ethtool.c | 1022 fltr->flex_cnt = cnt; in iavf_parse_rx_flow_user_data() 1036 if (!fltr->ext_mask.usr_def[0] && !fltr->ext_mask.usr_def[1]) in iavf_fill_rx_flow_ext_data() 1250 fltr->action = act; in iavf_add_fdir_fltr_info() 1252 fltr->q_index = q_index; in iavf_add_fdir_fltr_info() 1405 fltr = kzalloc(sizeof(*fltr), GFP_KERNEL); in iavf_add_fdir_ethtool() 1406 if (!fltr) in iavf_add_fdir_ethtool() 1411 kfree(fltr); in iavf_add_fdir_ethtool() 1431 if (err && fltr) in iavf_add_fdir_ethtool() 1432 kfree(fltr); in iavf_add_fdir_ethtool() 1456 if (fltr) { in iavf_del_fdir_ethtool() [all …]
|
A D | iavf_fdir.h | 113 int iavf_fill_fdir_add_msg(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 114 void iavf_print_fdir_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 115 bool iavf_fdir_is_dup_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr); 116 void iavf_fdir_list_add_fltr(struct iavf_adapter *adapter, struct iavf_fdir_fltr *fltr);
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.c | 799 fltr->tunnel_type != TNL_VXLAN && fltr->tunnel_type != TNL_GENEVE) { in ice_parse_tunnel_attr() 1211 fltr = kzalloc(sizeof(*fltr), GFP_KERNEL); in ice_add_tc_fltr() 1212 if (!fltr) in ice_add_tc_fltr() 1217 fltr->src_vsi = vsi; in ice_add_tc_fltr() 1233 *__fltr = fltr; in ice_add_tc_fltr() 1237 kfree(fltr); in ice_add_tc_fltr() 1253 return fltr; in ice_find_tc_flower_fltr() 1295 if (fltr) { in ice_add_cls_flower() 1324 if (!fltr) { in ice_del_cls_flower() 1343 kfree(fltr); in ice_del_cls_flower() [all …]
|
A D | ice_virtchnl_fdir.c | 484 struct virtchnl_fdir_rule *rule = &fltr->rule_cfg; in ice_vc_fdir_set_flow_fld() 885 ret = ice_vc_fdir_set_flow_fld(vf, fltr, conf, seg); in ice_vc_fdir_config_input_set() 1304 ret = ice_vc_fdir_search_pattern(vf, fltr); in ice_vc_validate_fdir_fltr() 1308 ret = ice_vc_fdir_parse_pattern(vf, fltr, conf); in ice_vc_validate_fdir_fltr() 1312 return ice_vc_fdir_parse_action(vf, fltr, conf); in ice_vc_validate_fdir_fltr() 1988 ret = ice_vc_fdir_param_check(vf, fltr->vsi_id); in ice_vc_add_fdir_fltr() 2018 ret = ice_vc_validate_fdir_fltr(vf, fltr, conf); in ice_vc_add_fdir_fltr() 2026 if (fltr->validate_only) { in ice_vc_add_fdir_fltr() 2115 ret = ice_vc_fdir_param_check(vf, fltr->vsi_id); in ice_vc_del_fdir_fltr() 2131 conf = ice_vc_fdir_lookup_entry(vf, fltr->flow_id); in ice_vc_del_fdir_fltr() [all …]
|
A D | ice_fdir.c | 1164 void ice_fdir_list_add_fltr(struct ice_hw *hw, struct ice_fdir_fltr *fltr) in ice_fdir_list_add_fltr() argument 1170 if (rule->fltr_id >= fltr->fltr_id) in ice_fdir_list_add_fltr() 1176 list_add(&fltr->fltr_node, &parent->fltr_node); in ice_fdir_list_add_fltr() 1178 list_add(&fltr->fltr_node, &hw->fdir_list_head); in ice_fdir_list_add_fltr()
|
A D | ice_main.c | 7819 struct ice_tc_flower_fltr *fltr; in ice_rem_all_chnl_fltrs() local 7823 hlist_for_each_entry_safe(fltr, node, in ice_rem_all_chnl_fltrs() 7830 if (!ice_is_chnl_fltr(fltr)) in ice_rem_all_chnl_fltrs() 7833 rule.rid = fltr->rid; in ice_rem_all_chnl_fltrs() 7834 rule.rule_id = fltr->rule_id; in ice_rem_all_chnl_fltrs() 7835 rule.vsi_handle = fltr->dest_id; in ice_rem_all_chnl_fltrs() 7844 } else if (fltr->dest_vsi) { in ice_rem_all_chnl_fltrs() 7847 u32 flags = fltr->flags; in ice_rem_all_chnl_fltrs() 7849 fltr->dest_vsi->num_chnl_fltr--; in ice_rem_all_chnl_fltrs() 7856 hlist_del(&fltr->tc_flower_node); in ice_rem_all_chnl_fltrs() [all …]
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 134 kfree(fltr); in qede_free_arfs_filter() 142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher() 196 fw_rc, fltr->flow_id, fltr->sw_id, in qede_arfs_filter_op() 198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); in qede_arfs_filter_op() 215 if (fltr->rxq_id != fltr->next_rxq_id) in qede_arfs_filter_op() 216 qede_configure_arfs_fltr(edev, fltr, fltr->rxq_id, in qede_arfs_filter_op() 220 if (fltr->rxq_id != fltr->next_rxq_id) { in qede_arfs_filter_op() 221 fltr->rxq_id = fltr->next_rxq_id; in qede_arfs_filter_op() 1335 if (!fltr) { in qede_get_cls_rule_entry() 1636 if (!fltr) in qede_delete_flow_filter() [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | test_offload.py | 527 fltr = {} 529 fltr[flag] = flag in words 533 fltr[name] = words[idx + 1] 536 filters.append(fltr) 846 fltr = ingress[0] variable 847 fail(not fltr["in_hw"], "Filter not offloaded by default") 856 fltr = ingress[0] variable 857 fail(not fltr["in_hw"], "Bytecode not offloaded by default") 935 fltr = ingress[0] variable 942 fail(prog["tag"] != fltr["tag"], "Program tags don't match") [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 975 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrlall() local 979 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrlall() 982 rule_locs[j++] = fltr->sw_id; in bnxt_grxclsrlall() 996 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrule() local 1008 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrule() 1009 if (fltr->sw_id == fs->location) in bnxt_grxclsrule() 1017 fkeys = &fltr->fkeys; in bnxt_grxclsrule() 1062 fs->ring_cookie = fltr->rxq; in bnxt_grxclsrule()
|
A D | bnxt.c | 4270 struct bnxt_ntuple_filter *fltr; in bnxt_free_ntp_fltrs() local 4274 hlist_del(&fltr->hash); in bnxt_free_ntp_fltrs() 4275 kfree(fltr); in bnxt_free_ntp_fltrs() 4767 struct flow_keys *keys = &fltr->fkeys; in bnxt_hwrm_cfa_ntuple_filter_alloc() 12672 struct bnxt_ntuple_filter *fltr; in bnxt_cfg_ntp_filters() local 12681 fltr->flow_id, in bnxt_cfg_ntp_filters() 12682 fltr->sw_id)) { in bnxt_cfg_ntp_filters() 12684 fltr); in bnxt_cfg_ntp_filters() 12689 fltr); in bnxt_cfg_ntp_filters() 12698 hlist_del_rcu(&fltr->hash); in bnxt_cfg_ntp_filters() [all …]
|
/linux/include/linux/qed/ |
A D | qed_if.h | 811 void (*arfs_filter_op)(void *dev, void *fltr, u8 fw_rc);
|