Home
last modified time | relevance | path

Searched refs:next_ft (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c70 struct mlx5_flow_table *next_ft; member
168 /* We use chains_default_ft(chains) as the table's next_ft till in mlx5_chains_create_table()
172 ft_attr.next_ft = chains_default_ft(chains); in mlx5_chains_create_table()
376 struct mlx5_flow_table *next_ft) in mlx5_chains_add_miss_rule() argument
388 dest.ft = next_ft; in mlx5_chains_add_miss_rule()
390 if (chains->chains_mapping && next_ft == chains_end_ft(chains) && in mlx5_chains_add_miss_rule()
402 struct mlx5_flow_table *next_ft) in mlx5_chains_update_prio_prevs() argument
422 next_ft); in mlx5_chains_update_prio_prevs()
442 pos->next_ft = next_ft; in mlx5_chains_update_prio_prevs()
472 struct mlx5_flow_table *next_ft; mlx5_chains_create_prio() local
[all...]
H A Dipsec_fs_roce.c284 struct mlx5_flow_table next_ft; in ipsec_fs_roce_tx_mpv_create_ft() local
301 next_ft.id = roce->alias_id; in ipsec_fs_roce_tx_mpv_create_ft()
303 ft_attr.next_ft = &next_ft; in ipsec_fs_roce_tx_mpv_create_ft()
444 struct mlx5_flow_table next_ft; in ipsec_fs_roce_rx_mpv_create() local
524 next_ft.id = roce->alias_id; in ipsec_fs_roce_rx_mpv_create()
529 ft_attr.next_ft = &next_ft; in ipsec_fs_roce_rx_mpv_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Dfs_dr.c23 struct mlx5_flow_table *next_ft) in set_miss_action() argument
30 next_tbl = next_ft ? next_ft->fs_dr_table.dr_table : NULL; in set_miss_action()
59 struct mlx5_flow_table *next_ft) in mlx5_cmd_dr_create_flow_table() argument
68 next_ft); in mlx5_cmd_dr_create_flow_table()
85 if (next_ft) { in mlx5_cmd_dr_create_flow_table()
86 err = set_miss_action(ns, ft, next_ft); in mlx5_cmd_dr_create_flow_table()
128 struct mlx5_flow_table *next_ft) in mlx5_cmd_dr_modify_flow_table() argument
131 return mlx5_fs_cmd_get_fw_cmds()->modify_flow_table(ns, ft, next_ft); in mlx5_cmd_dr_modify_flow_table()
133 return set_miss_action(ns, ft, next_ft); in mlx5_cmd_dr_modify_flow_table()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c54 struct mlx5_flow_table *next_ft) in mlx5_cmd_stub_create_flow_table() argument
71 struct mlx5_flow_table *next_ft) in mlx5_cmd_stub_modify_flow_table() argument
280 struct mlx5_flow_table *next_ft) in mlx5_cmd_create_flow_table() argument
315 if (next_ft) { in mlx5_cmd_create_flow_table()
320 flow_table_context.table_miss_id, next_ft->id); in mlx5_cmd_create_flow_table()
330 if (next_ft) in mlx5_cmd_create_flow_table()
333 next_ft->id); in mlx5_cmd_create_flow_table()
373 struct mlx5_flow_table *next_ft) in mlx5_cmd_modify_flow_table() argument
386 if (next_ft) { in mlx5_cmd_modify_flow_table()
388 flow_table_context.lag_master_next_table_id, next_ft in mlx5_cmd_modify_flow_table()
[all...]
H A Dfs_cmd.h42 struct mlx5_flow_table *next_ft);
48 struct mlx5_flow_table *next_ft);
H A Dfs_core.c632 list_del(&rule->next_ft); in del_sw_hw_dup_rule()
656 list_del(&rule->next_ft); in del_sw_hw_rule()
1281 list_for_each_entry(iter, &new_next_ft->fwd_rules, next_ft) { in connect_fwd_rules()
1297 struct mlx5_flow_table *next_ft, *first_ft; in connect_flow_table() local
1309 next_ft = first_ft ? first_ft : find_next_chained_ft(&prio->node); in connect_flow_table()
1310 err = connect_fwd_rules(dev, ft, next_ft); in connect_flow_table()
1342 struct mlx5_flow_table *next_ft; in __mlx5_create_flow_table() local
1383 next_ft = unmanaged ? ft_attr->next_ft : in __mlx5_create_flow_table()
1387 err = root->cmds->create_flow_table(root, ft, ft_attr, next_ft); in __mlx5_create_flow_table()
2455 struct mlx5_flow_table *next_ft = NULL; mlx5_add_flow_rules() local
2615 struct mlx5_flow_table *next_ft; disconnect_flow_table() local
[all...]
H A Dfs_core.h189 /* next_ft should be accessed under chain_lock and only of
192 struct list_head next_ft; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c175 struct mlx5_flow_table *next_ft) in mlx5_fs_set_ft_default_miss() argument
184 if (!next_ft && !ft->fs_hws_table.miss_ft_set) in mlx5_fs_set_ft_default_miss()
187 next_tbl = next_ft ? next_ft->fs_hws_table.hws_table : NULL; in mlx5_fs_set_ft_default_miss()
244 struct mlx5_flow_table *next_ft) in mlx5_cmd_hws_create_flow_table() argument
253 next_ft); in mlx5_cmd_hws_create_flow_table()
279 if (next_ft) { in mlx5_cmd_hws_create_flow_table()
280 err = mlx5_fs_set_ft_default_miss(ns, ft, next_ft); in mlx5_cmd_hws_create_flow_table()
325 struct mlx5_flow_table *next_ft) in mlx5_cmd_hws_modify_flow_table() argument
328 return mlx5_fs_cmd_get_fw_cmds()->modify_flow_table(ns, ft, next_ft); in mlx5_cmd_hws_modify_flow_table()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c2214 struct mlx5_flow_table *next_ft) in tc_ct_add_miss_rule() argument
2222 dest.ft = next_ft; in tc_ct_add_miss_rule()