Searched refs:flow_db (Results 1 – 4 of 4) sorted by relevance
17 dev->flow_db = kzalloc(sizeof(*dev->flow_db), GFP_KERNEL); in mlx5_ib_fs_init()19 if (!dev->flow_db) in mlx5_ib_fs_init()22 mutex_init(&dev->flow_db->lock); in mlx5_ib_fs_init()43 kfree(dev->flow_db); in mlx5_ib_fs_cleanup()
645 mutex_lock(&dev->flow_db->lock); in mlx5_ib_destroy_flow()657 mutex_unlock(&dev->flow_db->lock); in mlx5_ib_destroy_flow()740 prio = &dev->flow_db->prios[priority]; in get_flow_table()752 prio = &dev->flow_db->egress_prios[priority]; in get_flow_table()766 prio = &dev->flow_db->prios[MLX5_IB_FLOW_LEFTOVERS_PRIO]; in get_flow_table()778 prio = &dev->flow_db->sniffer[ft_type]; in get_flow_table()935 prio = &dev->flow_db->opfcs[type]; in mlx5_ib_fs_add_op_fc()981 put_flow_table(dev, &dev->flow_db->opfcs[type], true); in mlx5_ib_fs_remove_op_fc()1345 mutex_lock(&dev->flow_db->lock); in mlx5_ib_create_flow()1398 mutex_unlock(&dev->flow_db->lock); in mlx5_ib_create_flow()[all …]
1129 struct mlx5_ib_flow_db *flow_db; member
3005 dev->flow_db->lag_demux_ft = ft; in mlx5_eth_lag_init()3022 mlx5_destroy_flow_table(dev->flow_db->lag_demux_ft); in mlx5_eth_lag_cleanup()3023 dev->flow_db->lag_demux_ft = NULL; in mlx5_eth_lag_cleanup()