Searched refs:flow_db (Results 1 – 4 of 4) sorted by relevance
16 dev->flow_db = kzalloc(sizeof(*dev->flow_db), GFP_KERNEL); in mlx5_ib_fs_init()18 if (!dev->flow_db) in mlx5_ib_fs_init()21 mutex_init(&dev->flow_db->lock); in mlx5_ib_fs_init()27 kfree(dev->flow_db); in mlx5_ib_fs_cleanup()
646 mutex_lock(&dev->flow_db->lock); in mlx5_ib_destroy_flow()658 mutex_unlock(&dev->flow_db->lock); in mlx5_ib_destroy_flow()743 prio = &dev->flow_db->prios[priority]; in get_flow_table()755 prio = &dev->flow_db->egress_prios[priority]; in get_flow_table()769 prio = &dev->flow_db->prios[MLX5_IB_FLOW_LEFTOVERS_PRIO]; in get_flow_table()781 prio = &dev->flow_db->sniffer[ft_type]; in get_flow_table()938 prio = &dev->flow_db->opfcs[type]; in mlx5_ib_fs_add_op_fc()984 put_flow_table(dev, &dev->flow_db->opfcs[type], true); in mlx5_ib_fs_remove_op_fc()1348 mutex_lock(&dev->flow_db->lock); in mlx5_ib_create_flow()1401 mutex_unlock(&dev->flow_db->lock); in mlx5_ib_create_flow()[all …]
2991 dev->flow_db->lag_demux_ft = ft; in mlx5_eth_lag_init()3008 mlx5_destroy_flow_table(dev->flow_db->lag_demux_ft); in mlx5_eth_lag_cleanup()3009 dev->flow_db->lag_demux_ft = NULL; in mlx5_eth_lag_cleanup()
1081 struct mlx5_ib_flow_db *flow_db; member