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
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; in mlx5_chains_create_prio() local
503 next_ft = (chain == mlx5_chains_get_nf_ft_chain(chains)) ? in mlx5_chains_create_prio()
[all …]
H A Dipsec_fs_roce.c288 struct mlx5_flow_table next_ft; in ipsec_fs_roce_tx_mpv_create_ft() local
305 next_ft.id = roce->alias_id; in ipsec_fs_roce_tx_mpv_create_ft()
307 ft_attr.next_ft = &next_ft; in ipsec_fs_roce_tx_mpv_create_ft()
448 struct mlx5_flow_table next_ft; in ipsec_fs_roce_rx_mpv_create() local
528 next_ft.id = roce->alias_id; in ipsec_fs_roce_rx_mpv_create()
533 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()
/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
284 struct mlx5_flow_table *next_ft) in mlx5_cmd_create_flow_table() argument
323 if (next_ft) { in mlx5_cmd_create_flow_table()
328 flow_table_context.table_miss_id, next_ft->id); in mlx5_cmd_create_flow_table()
338 if (next_ft) in mlx5_cmd_create_flow_table()
341 next_ft->id); in mlx5_cmd_create_flow_table()
385 struct mlx5_flow_table *next_ft) in mlx5_cmd_modify_flow_table() argument
398 if (next_ft) { in mlx5_cmd_modify_flow_table()
400 flow_table_context.lag_master_next_table_id, next_ft->id); 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()
1282 list_for_each_entry(iter, &new_next_ft->fwd_rules, next_ft) { in connect_fwd_rules()
1298 struct mlx5_flow_table *next_ft, *first_ft; in connect_flow_table() local
1310 next_ft = first_ft ? first_ft : find_next_chained_ft(&prio->node); in connect_flow_table()
1311 err = connect_fwd_rules(dev, ft, next_ft); in connect_flow_table()
1343 struct mlx5_flow_table *next_ft; in __mlx5_create_flow_table() local
1381 next_ft = unmanaged ? ft_attr->next_ft : in __mlx5_create_flow_table()
1385 err = root->cmds->create_flow_table(root, ft, ft_attr, next_ft); in __mlx5_create_flow_table()
1537 INIT_LIST_HEAD(&rule->next_ft); in alloc_rule()
[all …]
/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()
280 if (next_ft) { in mlx5_cmd_hws_create_flow_table()
281 err = mlx5_fs_set_ft_default_miss(ns, ft, next_ft); in mlx5_cmd_hws_create_flow_table()
326 struct mlx5_flow_table *next_ft) in mlx5_cmd_hws_modify_flow_table() argument
329 return mlx5_fs_cmd_get_fw_cmds()->modify_flow_table(ns, ft, next_ft); in mlx5_cmd_hws_modify_flow_table()
331 return mlx5_fs_set_ft_default_miss(ns, ft, next_ft); in mlx5_cmd_hws_modify_flow_table()
/linux/include/linux/mlx5/
H A Dfs.h232 struct mlx5_flow_table *next_ft; member
/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()