Home
last modified time | relevance | path

Searched refs:arfs (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c150 dest.ft = priv->fs.arfs->arfs_tables[i].ft.t; in mlx5e_arfs_enable()
175 destroy_workqueue(priv->fs.arfs->wq); in _mlx5e_cleanup_tables()
177 if (!IS_ERR_OR_NULL(priv->fs.arfs->arfs_tables[i].ft.t)) in _mlx5e_cleanup_tables()
178 arfs_destroy_table(&priv->fs.arfs->arfs_tables[i]); in _mlx5e_cleanup_tables()
188 kvfree(priv->fs.arfs); in mlx5e_arfs_destroy_tables()
194 struct arfs_table *arfs_t = &priv->fs.arfs->arfs_tables[type]; in arfs_add_default_rule()
328 struct mlx5e_arfs_tables *arfs = priv->fs.arfs; in arfs_create_table() local
329 struct mlx5e_flow_table *ft = &arfs->arfs_tables[type].ft; in arfs_create_table()
368 priv->fs.arfs = kvzalloc(sizeof(*priv->fs.arfs), GFP_KERNEL); in mlx5e_arfs_create_tables()
369 if (!priv->fs.arfs) in mlx5e_arfs_create_tables()
[all …]
DKconfig47 Enables ethernet netdevice arfs support and ntuple filtering.
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c73 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx])
132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter()
154 edev->arfs->filter_count++; in qede_enqueue_fltr_and_config_searcher()
155 if (edev->arfs->filter_count == 1 && in qede_enqueue_fltr_and_config_searcher()
156 edev->arfs->mode == QED_FILTER_CONFIG_MODE_DISABLE) { in qede_enqueue_fltr_and_config_searcher()
159 edev->arfs->mode = fltr->tuple.mode; in qede_enqueue_fltr_and_config_searcher()
175 edev->arfs->filter_count--; in qede_dequeue_fltr_and_config_searcher()
176 if (!edev->arfs->filter_count && in qede_dequeue_fltr_and_config_searcher()
177 edev->arfs->mode != QED_FILTER_CONFIG_MODE_DISABLE) { in qede_dequeue_fltr_and_config_searcher()
182 edev->arfs->mode = QED_FILTER_CONFIG_MODE_DISABLE; in qede_dequeue_fltr_and_config_searcher()
[all …]
Dqede.h258 struct qede_arfs *arfs; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h180 struct mlx5e_arfs_tables *arfs; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h714 } arfs; member
Dhclge_main.c7240 rule->arfs.flow_id = flow_id; in hclge_add_fd_entry_by_arfs()
7271 rule->arfs.flow_id, rule->location)) { in hclge_rfs_filter_expire()