Home
last modified time | relevance | path

Searched refs:max_fte (Results 1 – 10 of 10) sorted by relevance

/src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_cmd.c56 int max_fte = ft_attr->max_fte; in mlx5_cmd_stub_create_flow_table() local
58 ft->max_fte = max_fte ? roundup_pow_of_two(max_fte) : 1; in mlx5_cmd_stub_create_flow_table()
205 size = mlx5_ft_pool_get_avail_sz(dev, ft->type, ft_attr->max_fte); in mlx5_cmd_create_flow_table()
255 ft->max_fte = size; in mlx5_cmd_create_flow_table()
280 mlx5_ft_pool_put_sz(ns->dev, ft->max_fte); in mlx5_cmd_destroy_flow_table()
H A Dfs_core.h174 unsigned int max_fte; member
183 unsigned int max_fte; member
H A Dmlx5_fs_chains.c163 ft_attr.max_fte = sz; in mlx5_chains_create_table()
410 ft->max_fte - 2); in mlx5_chains_create_prio()
412 ft->max_fte - 1); in mlx5_chains_create_prio()
H A Dmlx5_fs_core.c696 fg->start_index < ft->autogroup.max_fte) in del_sw_flow_group()
1227 ft_attr.max_fte = 1; in mlx5_create_lag_demux_flow_table()
1247 autogroups_max_fte = ft->max_fte - num_reserved_entries; in mlx5_create_auto_grouped_flow_table()
1250 if (num_reserved_entries > ft->max_fte) in mlx5_create_auto_grouped_flow_table()
1259 ft->autogroup.max_fte = autogroups_max_fte; in mlx5_create_auto_grouped_flow_table()
1287 if (ft->autogroup.active && start_index < ft->autogroup.max_fte) in mlx5_create_flow_group()
1465 u32 max_fte = ft->autogroup.max_fte; in alloc_auto_flow_group() local
1489 if (candidate_index + group_size > max_fte) in alloc_auto_flow_group()
2689 ft_attr.max_fte = ANCHOR_SIZE; in create_anchor_flow_table()
H A Dmlx5_eswitch.c294 ft_attr.max_fte = table_size; in esw_create_fdb_table()
629 ft_attr.max_fte = table_size; in esw_vport_enable_egress_acl()
731 ft_attr.max_fte = table_size; in esw_vport_enable_ingress_acl()
H A Dmlx5_fs_tcp.c320 ft_attr.max_fte = MLX5E_ACCEL_FS_TCP_TABLE_SIZE; in accel_fs_tcp_create_table()
/src/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec_fs.c293 ft_attr.max_fte = NUM_IPSEC_FTE; in ipsec_rx_ft_create()
321 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_miss_create()
322 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in ipsec_miss_create()
641 ft_attr.max_fte = NUM_IPSEC_FTE; in ipsec_tx_ft_create()
746 ft_attr.max_fte = 1; in ipsec_tx_create_roce()
1854 ft_attr.max_fte = 2; in ipsec_fs_rx_roce_tables_create()
1863 ft_attr.max_fte = 0; in ipsec_fs_rx_roce_tables_create()
/src/sys/dev/mlx5/
H A Dfs.h259 int max_fte; member
/src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c1498 ft_attr.max_fte = MLX5E_MAIN_TABLE_SIZE; in mlx5e_create_main_flow_table()
1628 ft_attr.max_fte = MLX5E_VLAN_TABLE_SIZE; in mlx5e_create_vlan_flow_table()
2016 ft_attr.max_fte = MLX5E_VXLAN_TABLE_SIZE; in mlx5e_create_vxlan_flow_table()
2132 ft_attr.max_fte = MLX5E_INNER_RSS_TABLE_SIZE; in mlx5e_create_inner_rss_flow_table()
/src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2160 ft_attr.max_fte = num_entries; in get_flow_table()