Home
last modified time | relevance | path

Searched refs:fltr (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c127 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter() argument
129 kfree(fltr->data); in qede_free_arfs_filter()
131 if (fltr->sw_id < QEDE_RFS_MAX_FLTR) in qede_free_arfs_filter()
132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter()
134 kfree(fltr); in qede_free_arfs_filter()
139 struct qede_arfs_fltr_node *fltr, in qede_enqueue_fltr_and_config_searcher() argument
142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher()
143 fltr->buf_len, DMA_TO_DEVICE); in qede_enqueue_fltr_and_config_searcher()
144 if (dma_mapping_error(&edev->pdev->dev, fltr->mapping)) { in qede_enqueue_fltr_and_config_searcher()
146 qede_free_arfs_filter(edev, fltr); in qede_enqueue_fltr_and_config_searcher()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_offload.py527 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
936 fail(fltr["skip_hw"], "TC does reports 'skip_hw' on offloaded filter")
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_fdir.c700 void ice_fdir_list_add_fltr(struct ice_hw *hw, struct ice_fdir_fltr *fltr) in ice_fdir_list_add_fltr() argument
706 if (rule->fltr_id >= fltr->fltr_id) in ice_fdir_list_add_fltr()
712 list_add(&fltr->fltr_node, &parent->fltr_node); in ice_fdir_list_add_fltr()
714 list_add(&fltr->fltr_node, &hw->fdir_list_head); in ice_fdir_list_add_fltr()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c4148 struct bnxt_ntuple_filter *fltr; in bnxt_free_ntp_fltrs() local
4151 hlist_for_each_entry_safe(fltr, tmp, head, hash) { in bnxt_free_ntp_fltrs()
4152 hlist_del(&fltr->hash); in bnxt_free_ntp_fltrs()
4153 kfree(fltr); in bnxt_free_ntp_fltrs()
4844 struct bnxt_ntuple_filter *fltr) in bnxt_hwrm_cfa_ntuple_filter_free() argument
4849 req.ntuple_filter_id = fltr->filter_id; in bnxt_hwrm_cfa_ntuple_filter_free()
4873 struct bnxt_ntuple_filter *fltr) in bnxt_hwrm_cfa_ntuple_filter_alloc() argument
4877 struct flow_keys *keys = &fltr->fkeys; in bnxt_hwrm_cfa_ntuple_filter_alloc()
4883 req.l2_filter_id = bp->vnic_info[0].fw_l2_filter_id[fltr->l2_fltr_idx]; in bnxt_hwrm_cfa_ntuple_filter_alloc()
4887 req.dst_id = cpu_to_le16(fltr->rxq); in bnxt_hwrm_cfa_ntuple_filter_alloc()
[all …]
Dbnxt_ethtool.c955 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrlall() local
959 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrlall()
962 rule_locs[j++] = fltr->sw_id; in bnxt_grxclsrlall()
976 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrule() local
988 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrule()
989 if (fltr->sw_id == fs->location) in bnxt_grxclsrule()
997 fkeys = &fltr->fkeys; in bnxt_grxclsrule()
1042 fs->ring_cookie = fltr->rxq; in bnxt_grxclsrule()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h790 void (*arfs_filter_op)(void *dev, void *fltr, u8 fw_rc);