| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | ipsec_fs_roce.c | 306 ft_attr.max_fte = 1; in ipsec_fs_roce_tx_mpv_create_ft() 320 ft_attr.max_fte = 1; in ipsec_fs_roce_tx_mpv_create_ft() 489 ft_attr.max_fte = 1; in ipsec_fs_roce_rx_mpv_create() 499 ft_attr.max_fte = 1; in ipsec_fs_roce_rx_mpv_create() 529 ft_attr.max_fte = 1; in ipsec_fs_roce_rx_mpv_create() 627 ft_attr.max_fte = 1; in mlx5_ipsec_fs_roce_tx_create() 731 ft_attr.max_fte = 2; in mlx5_ipsec_fs_roce_rx_create() 788 ft_attr.max_fte = 1; in mlx5_ipsec_fs_roce_rx_create()
|
| H A D | macsec_fs.c | 334 int level, int max_fte) in macsec_fs_auto_group_table_create() argument 345 ft_attr.max_fte = max_fte; in macsec_fs_auto_group_table_create() 423 ft_attr.max_fte = CRYPTO_NUM_MAXSEC_FTE; in macsec_fs_tx_create() 480 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create() 481 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, flow_table->max_fte - 1); in macsec_fs_tx_create() 1228 roce->ft_macsec_op_check->max_fte - 1); in macsec_fs_rx_roce_miss_create() 1230 roce->ft_macsec_op_check->max_fte - 1); in macsec_fs_rx_roce_miss_create() 1464 ft_attr.max_fte = RX_ROCE_TABLE_NUM_FTE; in macsec_fs_rx_roce_create() 1532 ft_attr.max_fte = CRYPTO_NUM_MAXSEC_FTE; in macsec_fs_rx_create() 1575 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table->max_fte - 1); in macsec_fs_rx_create() [all …]
|
| H A D | fs_chains.c | 166 ft_attr.max_fte = sz; in mlx5_chains_create_table() 525 ft->max_fte - 2); in mlx5_chains_create_prio() 527 ft->max_fte - 1); in mlx5_chains_create_prio()
|
| H A D | fs_ttc.c | 820 WARN_ON_ONCE(params->ft_attr.max_fte); in mlx5_create_inner_ttc_table() 821 params->ft_attr.max_fte = mlx5_fs_ttc_table_size(groups); in mlx5_create_inner_ttc_table() 897 WARN_ON_ONCE(params->ft_attr.max_fte); in mlx5_create_ttc_table() 898 params->ft_attr.max_fte = mlx5_fs_ttc_table_size(ttc->groups); in mlx5_create_ttc_table()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | vporttbl.c | 43 ft_attr.max_fte = vport_ns->max_fte; in esw_vport_tbl_create()
|
| H A D | legacy.c | 38 ft_attr.max_fte = 2; in esw_create_legacy_vepa_table() 98 ft_attr.max_fte = MLX5_FS_MAX_POOL_SIZE; in esw_create_legacy_fdb_table() 107 table_size = fdb->max_fte; in esw_create_legacy_fdb_table()
|
| H A D | bridge_priv.h | 223 struct mlx5_flow_table *mlx5_esw_bridge_table_create(int max_fte, u32 level,
|
| H A D | indir_table.c | 266 ft_attr.max_fte = MLX5_ESW_INDIR_TABLE_SIZE; in mlx5_esw_indir_table_entry_create()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_cmd.c | 56 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() 295 size = mlx5_ft_pool_get_avail_sz(dev, ft->type, ft_attr->max_fte); in mlx5_cmd_create_flow_table() 349 ft->max_fte = size; in mlx5_cmd_create_flow_table() 378 mlx5_ft_pool_put_sz(ns->dev, ft->max_fte); in mlx5_cmd_destroy_flow_table()
|
| H A D | rdma.c | 57 ft_attr.max_fte = 1; in mlx5_rdma_enable_roce_steering()
|
| H A D | fs_core.c | 810 fg->start_index < ft->autogroup.max_fte) in del_sw_flow_group() 1446 ft_attr.max_fte = 1; in mlx5_create_lag_demux_flow_table() 1466 autogroups_max_fte = ft->max_fte - num_reserved_entries; in mlx5_create_auto_grouped_flow_table() 1469 if (num_reserved_entries > ft->max_fte) in mlx5_create_auto_grouped_flow_table() 1478 ft->autogroup.max_fte = autogroups_max_fte; in mlx5_create_auto_grouped_flow_table() 1506 if (ft->autogroup.active && start_index < ft->autogroup.max_fte) in mlx5_create_flow_group() 1750 u32 max_fte = ft->autogroup.max_fte; in alloc_auto_flow_group() local 1774 if (candidate_index + group_size > max_fte) in alloc_auto_flow_group() 3102 ft_attr.max_fte = ANCHOR_SIZE; in create_anchor_flow_table()
|
| H A D | eswitch_offloads_termtbl.c | 84 ft_attr.max_fte = 1; in mlx5_eswitch_termtbl_create()
|
| H A D | en_fs.c | 780 ft_attr.max_fte = MLX5E_PROMISC_TABLE_SIZE; in mlx5e_create_promisc_table() 1113 ft_attr.max_fte = MLX5E_L2_TABLE_SIZE; in mlx5e_create_l2_table() 1246 ft_attr.max_fte = MLX5E_VLAN_TABLE_SIZE; in mlx5e_fs_create_vlan_table()
|
| H A D | eswitch_offloads.c | 72 .max_fte = MLX5_ESW_VPORT_TBL_SIZE, 1886 ft_attr.max_fte = table_size; in esw_create_offloads_fdb_tables() 2007 ft_attr.max_fte = esw_get_nr_ft_offloads_steering_src_ports(esw) + in esw_create_offloads_table() 2276 ft_attr.max_fte = 1 << ESW_REG_C0_USER_DATA_METADATA_BITS; in esw_create_restore_table() 2294 ft_attr.max_fte - 1); in esw_create_restore_table() 2390 ft_attr.max_fte = 1; in mlx5_esw_fdb_drop_create() 2903 .max_fte = count, .prio = 0, .level = 0, in esw_master_egress_create_resources()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | psp.c | 266 ft_attr.max_fte = 2; in accel_psp_fs_rx_err_create_ft() 354 ft_attr.max_fte = 2; in accel_psp_fs_rx_create_ft() 368 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in accel_psp_fs_rx_create_ft() 369 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in accel_psp_fs_rx_create_ft() 696 ft_attr.max_fte = 1; in accel_psp_fs_tx_create_ft_table()
|
| H A D | ipsec_fs.c | 156 ft_attr.max_fte = NUM_IPSEC_FTE; in ipsec_ft_create() 356 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_rx_status_drop_all_create() 357 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in ipsec_rx_status_drop_all_create() 429 start_flow_index, ft->max_fte - 3); in ipsec_rx_status_pass_group_create() 431 end_flow_index, ft->max_fte - 2); in ipsec_rx_status_pass_group_create() 564 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_miss_create() 565 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft->max_fte - 1); in ipsec_miss_create() 859 ft_attr.max_fte = 1; in ipsec_rx_chains_create_miss() 964 ft->max_fte - 1); in ipsec_rx_sa_selector_create() 966 ft->max_fte - 1); in ipsec_rx_sa_selector_create()
|
| H A D | fs_tcp.c | 275 ft_attr.max_fte = MLX5E_ACCEL_FS_TCP_TABLE_SIZE; in accel_fs_tcp_create_table()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | helper.c | 37 ft_attr.max_fte = size; in esw_acl_table_create()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | port_sel.c | 54 ft_attr.max_fte = ldev->ports * ldev->buckets; in mlx5_lag_create_port_sel_table() 71 ft_attr.max_fte); in mlx5_lag_create_port_sel_table()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs_tt_redirect.c | 219 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()
|
| H A D | tc_ct.c | 1736 ft_attr.max_fte = 2; in mlx5_tc_ct_alloc_pre_ct() 2236 unsigned int max_fte = from->max_fte; in tc_ct_add_ct_table_miss_rule() local 2246 max_fte - 2); in tc_ct_add_ct_table_miss_rule() 2248 max_fte - 1); in tc_ct_add_ct_table_miss_rule()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | sample.c | 18 .max_fte = MLX5_ESW_VPORT_TBL_SIZE_SAMPLE, 85 ft_attr.max_fte = 1; in sampler_termtbl_create()
|
| H A D | post_meter.c | 73 ft_attr.max_fte = 2; in mlx5e_post_meter_table_create()
|
| /linux/include/linux/mlx5/ |
| H A D | fs.h | 226 int max_fte; member
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | fs.c | 796 ft_attr.max_fte = max_table_size; in get_flow_table() 1003 ft_attr.max_fte = MLX5_FS_MAX_POOL_SIZE; in get_per_qp_prio() 1308 ft_attr.max_fte = dev->num_ports * MAX_OPFC_RULES; in mlx5_ib_fs_add_op_fc() 2040 ft_attr.max_fte = max_table_size; in _get_flow_table() 2605 ft_attr.max_fte = 2; in steering_anchor_create_ft()
|