Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c152 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter() argument
154 kfree(fltr->data); in qede_free_arfs_filter()
156 if (fltr->sw_id < QEDE_RFS_MAX_FLTR) in qede_free_arfs_filter()
157 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter()
159 kfree(fltr); in qede_free_arfs_filter()
164 struct qede_arfs_fltr_node *fltr, in qede_enqueue_fltr_and_config_searcher() argument
167 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher()
168 fltr->buf_len, DMA_TO_DEVICE); in qede_enqueue_fltr_and_config_searcher()
169 if (dma_mapping_error(&edev->pdev->dev, fltr->mapping)) { in qede_enqueue_fltr_and_config_searcher()
171 qede_free_arfs_filter(edev, fltr); in qede_enqueue_fltr_and_config_searcher()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c907 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrlall() local
911 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrlall()
914 rule_locs[j++] = fltr->sw_id; in bnxt_grxclsrlall()
928 struct bnxt_ntuple_filter *fltr; in bnxt_grxclsrule() local
940 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrule()
941 if (fltr->sw_id == fs->location) in bnxt_grxclsrule()
949 fkeys = &fltr->fkeys; in bnxt_grxclsrule()
994 fs->ring_cookie = fltr->rxq; in bnxt_grxclsrule()
Dbnxt.c3894 struct bnxt_ntuple_filter *fltr; in bnxt_free_ntp_fltrs() local
3897 hlist_for_each_entry_safe(fltr, tmp, head, hash) { in bnxt_free_ntp_fltrs()
3898 hlist_del(&fltr->hash); in bnxt_free_ntp_fltrs()
3899 kfree(fltr); in bnxt_free_ntp_fltrs()
4577 struct bnxt_ntuple_filter *fltr) in bnxt_hwrm_cfa_ntuple_filter_free() argument
4582 req.ntuple_filter_id = fltr->filter_id; in bnxt_hwrm_cfa_ntuple_filter_free()
4606 struct bnxt_ntuple_filter *fltr) in bnxt_hwrm_cfa_ntuple_filter_alloc() argument
4610 struct flow_keys *keys = &fltr->fkeys; in bnxt_hwrm_cfa_ntuple_filter_alloc()
4616 req.l2_filter_id = bp->vnic_info[0].fw_l2_filter_id[fltr->l2_fltr_idx]; in bnxt_hwrm_cfa_ntuple_filter_alloc()
4620 req.rfs_ring_tbl_idx = cpu_to_le16(fltr->rxq); in bnxt_hwrm_cfa_ntuple_filter_alloc()
[all …]