Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dvporttbl.c43 ft_attr.max_fte = vport_ns->max_fte; in esw_vport_tbl_create()
Dlegacy.c38 ft_attr.max_fte = 2; in esw_create_legacy_vepa_table()
99 ft_attr.max_fte = POOL_NEXT_SIZE; in esw_create_legacy_fdb_table()
108 table_size = fdb->max_fte; in esw_create_legacy_fdb_table()
Dbridge_priv.h223 struct mlx5_flow_table *mlx5_esw_bridge_table_create(int max_fte, u32 level,
Dindir_table.c266 ft_attr.max_fte = MLX5_ESW_INDIR_TABLE_SIZE; in mlx5_esw_indir_table_entry_create()
Dbridge.c65 mlx5_esw_bridge_table_create(int max_fte, u32 level, struct mlx5_eswitch *esw) in mlx5_esw_bridge_table_create() argument
79 ft_attr.max_fte = max_fte; in mlx5_esw_bridge_table_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_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()
290 size = mlx5_ft_pool_get_avail_sz(dev, ft->type, ft_attr->max_fte); in mlx5_cmd_create_flow_table()
340 ft->max_fte = size; in mlx5_cmd_create_flow_table()
365 mlx5_ft_pool_put_sz(ns->dev, ft->max_fte); in mlx5_cmd_destroy_flow_table()
Dfs_core.h193 unsigned int max_fte; member
202 unsigned int max_fte; member
Drdma.c57 ft_attr.max_fte = 1; in mlx5_rdma_enable_roce_steering()
Dfs_core.c738 fg->start_index < ft->autogroup.max_fte) in del_sw_flow_group()
1342 ft_attr.max_fte = 1; in mlx5_create_lag_demux_flow_table()
1362 autogroups_max_fte = ft->max_fte - num_reserved_entries; in mlx5_create_auto_grouped_flow_table()
1365 if (num_reserved_entries > ft->max_fte) in mlx5_create_auto_grouped_flow_table()
1374 ft->autogroup.max_fte = autogroups_max_fte; in mlx5_create_auto_grouped_flow_table()
1402 if (ft->autogroup.active && start_index < ft->autogroup.max_fte) in mlx5_create_flow_group()
1581 u32 max_fte = ft->autogroup.max_fte; in alloc_auto_flow_group() local
1605 if (candidate_index + group_size > max_fte) in alloc_auto_flow_group()
2809 ft_attr.max_fte = ANCHOR_SIZE; in create_anchor_flow_table()
Deswitch_offloads_termtbl.c84 ft_attr.max_fte = 1; in mlx5_eswitch_termtbl_create()
Den_fs.c776 ft_attr.max_fte = MLX5E_PROMISC_TABLE_SIZE; in mlx5e_create_promisc_table()
1094 ft_attr.max_fte = MLX5E_L2_TABLE_SIZE; in mlx5e_create_l2_table()
1227 ft_attr.max_fte = MLX5E_VLAN_TABLE_SIZE; in mlx5e_fs_create_vlan_table()
Deswitch_offloads.c70 .max_fte = MLX5_ESW_VPORT_TBL_SIZE,
1868 ft_attr.max_fte = table_size; in esw_create_offloads_fdb_tables()
1990 ft_attr.max_fte = esw_get_nr_ft_offloads_steering_src_ports(esw) + in esw_create_offloads_table()
2257 ft_attr.max_fte = 1 << ESW_REG_C0_USER_DATA_METADATA_BITS; in esw_create_restore_table()
2275 ft_attr.max_fte - 1); in esw_create_restore_table()
2701 .max_fte = count, .prio = 0, .level = 0, in esw_master_egress_create_resources()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c506 WARN_ON_ONCE(params->ft_attr.max_fte); in mlx5_create_inner_ttc_table()
507 params->ft_attr.max_fte = MLX5_INNER_TTC_TABLE_SIZE; in mlx5_create_inner_ttc_table()
559 WARN_ON_ONCE(params->ft_attr.max_fte); in mlx5_create_ttc_table()
560 params->ft_attr.max_fte = MLX5_TTC_TABLE_SIZE; in mlx5_create_ttc_table()
Dmacsec_fs.c338 int level, int max_fte) in macsec_fs_auto_group_table_create() argument
349 ft_attr.max_fte = max_fte; in macsec_fs_auto_group_table_create()
427 ft_attr.max_fte = CRYPTO_NUM_MAXSEC_FTE; in macsec_fs_tx_create()
484 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create()
485 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create()
1232 roce->ft_macsec_op_check->max_fte - 1); in macsec_fs_rx_roce_miss_create()
1234 roce->ft_macsec_op_check->max_fte - 1); in macsec_fs_rx_roce_miss_create()
1468 ft_attr.max_fte = RX_ROCE_TABLE_NUM_FTE; in macsec_fs_rx_roce_create()
1536 ft_attr.max_fte = CRYPTO_NUM_MAXSEC_FTE; in macsec_fs_rx_create()
1579 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table->max_fte - 1); in macsec_fs_rx_create()
[all …]
Dipsec_fs_roce.c160 ft_attr.max_fte = 1; in mlx5_ipsec_fs_roce_tx_create()
254 ft_attr.max_fte = 2; in mlx5_ipsec_fs_roce_rx_create()
Dfs_chains.c165 ft_attr.max_fte = sz; in mlx5_chains_create_table()
519 ft->max_fte - 2); in mlx5_chains_create_prio()
521 ft->max_fte - 1); in mlx5_chains_create_prio()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c37 ft_attr.max_fte = size; in esw_acl_table_create()
/linux-6.6.21/include/linux/mlx5/
Dfs.h201 int max_fte; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c219 ft_attr.max_fte = MLX5E_FS_UDP_TABLE_SIZE; in fs_udp_create_table()
488 ft_attr.max_fte = MLX5E_FS_UDP_TABLE_SIZE; in fs_any_create_table()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c18 .max_fte = MLX5_ESW_VPORT_TBL_SIZE_SAMPLE,
85 ft_attr.max_fte = 1; in sampler_termtbl_create()
Dpost_meter.c73 ft_attr.max_fte = 2; in mlx5e_post_meter_table_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c51 ft_attr.max_fte = ldev->ports * ldev->buckets; in mlx5_lag_create_port_sel_table()
68 ft_attr.max_fte); in mlx5_lag_create_port_sel_table()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c123 ft_attr.max_fte = NUM_IPSEC_FTE; in ipsec_ft_create()
174 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_rx_status_drop_create()
175 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in ipsec_rx_status_drop_create()
310 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_miss_create()
311 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in ipsec_miss_create()
Dfs_tcp.c275 ft_attr.max_fte = MLX5E_ACCEL_FS_TCP_TABLE_SIZE; in accel_fs_tcp_create_table()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c102 ft->max_fte = INT_MAX; in mlx5_cmd_dr_create_flow_table()

12