Home
last modified time | relevance | path

Searched refs:ft (Results 1 – 25 of 82) sorted by relevance

1234

/drivers/isdn/mISDN/
A Dfsm.c98 struct FsmTimer *ft = timer_container_of(ft, t, tl); in FsmExpireTimer() local
101 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer()
103 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer()
109 ft->fi = fi; in mISDN_FsmInitTimer()
112 ft->fi->printdebug(ft->fi, "mISDN_FsmInitTimer %lx", (long) ft); in mISDN_FsmInitTimer()
123 ft->fi->printdebug(ft->fi, "mISDN_FsmDelTimer %lx %d", in mISDN_FsmDelTimer()
137 ft->fi->printdebug(ft->fi, "mISDN_FsmAddTimer %lx %d %d", in mISDN_FsmAddTimer()
145 ft->fi->printdebug(ft->fi, in mISDN_FsmAddTimer()
151 ft->arg = arg; in mISDN_FsmAddTimer()
165 ft->fi->printdebug(ft->fi, "mISDN_FsmRestartTimer %lx %d %d", in mISDN_FsmRestartTimer()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs_tt_redirect.c181 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_udp_create_groups()
182 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
191 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_udp_create_groups()
192 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
201 ft->g[ft->num_groups] = NULL; in fs_udp_create_groups()
452 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_any_create_groups()
453 if (IS_ERR(ft->g[ft->num_groups])) in fs_any_create_groups()
462 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_any_create_groups()
463 if (IS_ERR(ft->g[ft->num_groups])) in fs_any_create_groups()
472 ft->g[ft->num_groups] = NULL; in fs_any_create_groups()
[all …]
A Dtc_ct.c1613 struct mlx5_flow_table *ft = pre_ct->ft; in tc_ct_pre_ct_add_rules() local
1744 pre_ct->ft = ft; in mlx5_tc_ct_alloc_pre_ct()
1827 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct); in mlx5_tc_ct_alloc_pre_ct_tables()
1834 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct_nat); in mlx5_tc_ct_free_pre_ct_tables()
1835 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct); in mlx5_tc_ct_free_pre_ct_tables()
1854 if (ft) { in mlx5_tc_ct_add_ft_cb()
1859 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in mlx5_tc_ct_add_ft_cb()
1860 if (!ft) in mlx5_tc_ct_add_ft_cb()
1892 return ft; in mlx5_tc_ct_add_ft_cb()
1990 attr->ct_attr.ft = ft; in __mlx5_tc_ct_flow_offload()
[all …]
/drivers/scsi/fcoe/
A Dfcoe_transport.c517 if (ft->match && ft->match(netdev)) in fcoe_transport_lookup()
577 if (nm->ft == ft) { in fcoe_transport_detach()
648 nm->ft = ft; in fcoe_add_netdev_mapping()
692 ft = nm->ft; in fcoe_netdev_map_lookup()
765 if (ft) { in fcoe_ctlr_create_store()
782 err = ft->alloc ? ft->alloc(netdev) : -ENODEV; in fcoe_ctlr_create_store()
947 rc = ft->destroy ? ft->destroy(netdev) : -ENODEV; in fcoe_transport_destroy()
983 if (!ft) in fcoe_transport_disable()
986 rc = ft->disable ? ft->disable(netdev) : -ENODEV; in fcoe_transport_disable()
1018 if (!ft) in fcoe_transport_enable()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs.c230 dest.ft = fs->l2.ft.t; in __mlx5e_add_vlan_rule()
1043 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1054 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1064 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1074 ft->g[ft->num_groups] = NULL; in mlx5e_create_l2_table_groups()
1146 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1158 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1169 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1180 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1189 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
[all …]
A Dfs_core.c597 kfree(ft); in del_sw_flow_table()
950 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in alloc_flow_table()
951 if (!ft) in alloc_flow_table()
969 return ft; in alloc_flow_table()
1000 if (ft) in find_closest_ft_recursive()
1004 return ft; in find_closest_ft_recursive()
1046 return ft; in find_closest_ft()
1409 return ft; in __mlx5_create_flow_table()
1883 d1->ft == d2->ft) || in mlx5_flow_dests_cmp()
2050 ft->type != dest->ft->type) in dest_is_valid()
[all …]
A Dfs_cmd.c44 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_root_ft() argument
52 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_table() argument
221 (ft->type != FS_FT_RDMA_RX && ft->type != FS_FT_RDMA_TX)) in mlx5_cmd_update_root_ft()
224 if (ft->type == FS_FT_FDB && in mlx5_cmd_update_root_ft()
245 ft->type == FS_FT_FDB && in mlx5_cmd_update_root_ft()
313 switch (ft->op_mod) { in mlx5_cmd_create_flow_table()
324 ft->def_miss_action); in mlx5_cmd_create_flow_table()
341 ft->max_fte = size; in mlx5_cmd_create_flow_table()
409 ft->def_miss_action); in mlx5_cmd_modify_flow_table()
651 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
[all …]
A Den_arfs.c168 dest.ft = arfs->arfs_tables[i].ft.t; in mlx5e_arfs_enable()
265 if (!ft->g) in arfs_create_groups()
320 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
321 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
329 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
330 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
338 err = PTR_ERR(ft->g[ft->num_groups]); in arfs_create_groups()
339 ft->g[ft->num_groups] = NULL; in arfs_create_groups()
343 kfree(ft->g); in arfs_create_groups()
344 ft->g = NULL; in arfs_create_groups()
[all …]
A Dfs_cmd.h40 struct mlx5_flow_table *ft,
44 struct mlx5_flow_table *ft);
47 struct mlx5_flow_table *ft,
51 struct mlx5_flow_table *ft,
56 struct mlx5_flow_table *ft,
60 struct mlx5_flow_table *ft,
65 struct mlx5_flow_table *ft,
71 struct mlx5_flow_table *ft,
75 struct mlx5_flow_table *ft,
128 static inline bool mlx5_fs_cmd_is_fw_term_table(struct mlx5_flow_table *ft) in mlx5_fs_cmd_is_fw_term_table() argument
[all …]
A Drdma.c19 mlx5_destroy_flow_table(roce->ft); in mlx5_rdma_disable_roce_steering()
31 struct mlx5_flow_table *ft; in mlx5_rdma_enable_roce_steering() local
58 ft = mlx5_create_flow_table(ns, &ft_attr); in mlx5_rdma_enable_roce_steering()
59 if (IS_ERR(ft)) { in mlx5_rdma_enable_roce_steering()
61 err = PTR_ERR(ft); in mlx5_rdma_enable_roce_steering()
68 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
78 flow_rule = mlx5_add_flow_rules(ft, spec, &flow_act, NULL, 0); in mlx5_rdma_enable_roce_steering()
88 roce->ft = ft; in mlx5_rdma_enable_roce_steering()
97 mlx5_destroy_flow_table(ft); in mlx5_rdma_enable_roce_steering()
135 if (!roce->ft) in mlx5_rdma_disable_roce()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dipsec_fs_roce.c89 u32 aliased_object_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in ipsec_fs_create_aliased_ft()
216 dst.ft = pol_ft; in ipsec_fs_roce_tx_rule_setup()
307 if (IS_ERR(ft)) { in ipsec_fs_roce_tx_mpv_create_ft()
319 if (IS_ERR(ft)) { in ipsec_fs_roce_tx_mpv_create_ft()
325 roce->ft = ft; in ipsec_fs_roce_tx_mpv_create_ft()
487 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
499 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
531 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
570 if (!tx_roce->ft) in mlx5_ipsec_fs_roce_tx_destroy()
633 roce->ft = ft; in mlx5_ipsec_fs_roce_tx_create()
[all …]
A Dmacsec_fs.c294 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
295 if (IS_ERR(ft->g[ft->num_groups])) in macsec_fs_tx_create_crypto_table_groups()
309 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
310 if (IS_ERR(ft->g[ft->num_groups])) in macsec_fs_tx_create_crypto_table_groups()
320 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
330 ft->g[ft->num_groups] = NULL; in macsec_fs_tx_create_crypto_table_groups()
1088 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1108 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1119 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1129 ft->g[ft->num_groups] = NULL; in macsec_fs_rx_create_crypto_table_groups()
[all …]
A Dfs_chains.c208 if (IS_ERR(ft)) { in mlx5_chains_create_table()
211 return ft; in mlx5_chains_create_table()
214 return ft; in mlx5_chains_create_table()
388 dest.ft = next_ft; in mlx5_chains_add_miss_rule()
421 pos->ft, in mlx5_chains_update_prio_prevs()
519 if (IS_ERR(ft)) { in mlx5_chains_create_prio()
520 err = PTR_ERR(ft); in mlx5_chains_create_prio()
525 ft->max_fte - 2); in mlx5_chains_create_prio()
527 ft->max_fte - 1); in mlx5_chains_create_prio()
548 prio_s->ft = ft; in mlx5_chains_create_prio()
[all …]
A Dsd.c281 struct mlx5_flow_table *ft; in sd_cmd_set_primary() local
288 ft = mlx5_create_flow_table(nic_ns, &ft_attr); in sd_cmd_set_primary()
289 if (IS_ERR(ft)) { in sd_cmd_set_primary()
290 err = PTR_ERR(ft); in sd_cmd_set_primary()
293 sd->tx_ft = ft; in sd_cmd_set_primary()
296 allow_attr.obj_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in sd_cmd_set_primary()
302 mlx5_destroy_flow_table(ft); in sd_cmd_set_primary()
318 struct mlx5_flow_table *ft, in sd_secondary_create_alias_ft() argument
321 u32 aliased_object_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in sd_secondary_create_alias_ft()
A Dfs_ttc.c280 mlx5_generate_ttc_rule(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, in mlx5_generate_ttc_rule() argument
319 rule = mlx5_add_flow_rules(ft, spec, &flow_act, dest, 1); in mlx5_generate_ttc_rule()
336 struct mlx5_flow_table *ft; in mlx5_generate_ttc_table_rules() local
340 ft = ttc->t; in mlx5_generate_ttc_table_rules()
347 rule->rule = mlx5_generate_ttc_rule(dev, ft, &params->dests[tt], in mlx5_generate_ttc_table_rules()
369 trules[tt] = mlx5_generate_ttc_rule(dev, ft, in mlx5_generate_ttc_table_rules()
472 struct mlx5_flow_table *ft, in mlx5_generate_inner_ttc_rule() argument
504 rule = mlx5_add_flow_rules(ft, spec, &flow_act, dest, 1); in mlx5_generate_inner_ttc_rule()
520 struct mlx5_flow_table *ft; in mlx5_generate_inner_ttc_table_rules() local
524 ft = ttc->t; in mlx5_generate_inner_ttc_table_rules()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_fs.c776 dest->ft = ft; in ipsec_rx_status_pass_dest_get()
811 dest.ft = rx->ft.sa; in ipsec_rx_ft_connect()
891 rx->ft.pol = ft; in ipsec_rx_policy_create()
972 rx->ft.sa_sel = ft; in ipsec_rx_sa_selector_create()
1039 rx->ft.status = ft; in rx_create()
1055 rx->ft.sa = ft; in rx_create()
1281 tx->ft.status = ft; in tx_create()
1296 tx->ft.sa = ft; in tx_create()
1324 tx->ft.pol = ft; in tx_create()
1326 dest.ft = tx->ft.sa; in tx_create()
[all …]
A Dfs_tcp.c117 if (!ft) { in mlx5e_accel_fs_add_sk()
192 kfree(ft->g); in accel_fs_tcp_create_groups()
193 ft->g = NULL; in accel_fs_tcp_create_groups()
238 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
239 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
248 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
249 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
257 err = PTR_ERR(ft->g[ft->num_groups]); in accel_fs_tcp_create_groups()
258 ft->g[ft->num_groups] = NULL; in accel_fs_tcp_create_groups()
282 ft->t = NULL; in accel_fs_tcp_create_table()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dpost_meter.c12 struct mlx5_flow_table *ft; member
21 struct mlx5_flow_table *ft; member
165 red_attr->ft = post_meter->rate_steering_table.ft; in mlx5e_post_meter_rate_rules_create()
178 green_attr->ft = post_meter->rate_steering_table.ft; in mlx5e_post_meter_rate_rules_create()
264 if (IS_ERR(ft)) { in mlx5e_post_meter_rate_create()
265 err = PTR_ERR(ft); in mlx5e_post_meter_rate_create()
270 post_meter->rate_steering_table.ft = ft; in mlx5e_post_meter_rate_create()
307 if (IS_ERR(table->ft)) { in mlx5e_post_meter_create_mtu_table()
308 err = PTR_ERR(table->ft); in mlx5e_post_meter_create_mtu_table()
354 green_attr->ft = mtu_tables->green_table.ft; in mlx5e_post_meter_mtu_create()
[all …]
A Dpost_act.c13 struct mlx5_flow_table *ft; member
50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init()
51 if (IS_ERR(post_act->ft)) { in mlx5e_tc_post_act_init()
52 err = PTR_ERR(post_act->ft); in mlx5e_tc_post_act_init()
75 mlx5_chains_destroy_global_table(post_act->chains, post_act->ft); in mlx5e_tc_post_act_destroy()
126 post_attr->ft = post_act->ft; in mlx5e_tc_post_act_add()
171 return post_act->ft; in mlx5e_tc_post_act_get_ft()
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Dfs_dr.c13 struct mlx5_flow_table *ft, in mlx5_cmd_dr_update_root_ft() argument
22 struct mlx5_flow_table *ft, in set_miss_action() argument
57 struct mlx5_flow_table *ft, in mlx5_cmd_dr_create_flow_table() argument
69 flags = ft->flags; in mlx5_cmd_dr_create_flow_table()
82 ft->fs_dr_table.dr_table = tbl; in mlx5_cmd_dr_create_flow_table()
83 ft->id = mlx5dr_table_get_id(tbl); in mlx5_cmd_dr_create_flow_table()
89 ft->fs_dr_table.dr_table = NULL; in mlx5_cmd_dr_create_flow_table()
94 ft->max_fte = INT_MAX; in mlx5_cmd_dr_create_flow_table()
100 struct mlx5_flow_table *ft) in mlx5_cmd_dr_destroy_flow_table() argument
127 struct mlx5_flow_table *ft, in mlx5_cmd_dr_modify_flow_table() argument
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfs_tracepoint.h66 TP_ARGS(ft),
68 __field(const struct mlx5_flow_table *, ft)
74 __entry->ft = ft;
75 __entry->id = ft->id;
76 __entry->level = ft->level;
77 __entry->type = ft->type;
85 TP_ARGS(ft),
87 __field(const struct mlx5_flow_table *, ft)
91 __entry->ft = ft;
92 __entry->id = ft->id;
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dindir_table.c31 struct mlx5_flow_table *ft; member
142 if (IS_ERR(dest.ft)) { in mlx5_esw_indir_table_rule_get()
143 err = PTR_ERR(dest.ft); in mlx5_esw_indir_table_rule_get()
224 e->fwd_grp = mlx5_create_flow_group(e->ft, in); in mlx5_create_indir_fwd_group()
254 struct mlx5_flow_table *ft; in mlx5_esw_indir_table_entry_create() local
271 if (IS_ERR(ft)) { in mlx5_esw_indir_table_entry_create()
272 err = PTR_ERR(ft); in mlx5_esw_indir_table_entry_create()
275 e->ft = ft; in mlx5_esw_indir_table_entry_create()
304 mlx5_destroy_flow_table(e->ft); in mlx5_esw_indir_table_entry_create()
349 return e->ft; in mlx5_esw_indir_table_get()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dfs_hws.c207 ft->id, flags); in mlx5_fs_add_flow_table_dest_action()
242 struct mlx5_flow_table *ft, in mlx5_cmd_hws_create_flow_table() argument
276 ft->fs_hws_table.hws_table = tbl; in mlx5_cmd_hws_create_flow_table()
277 ft->id = mlx5hws_table_get_id(tbl); in mlx5_cmd_hws_create_flow_table()
285 ft->max_fte = INT_MAX; in mlx5_cmd_hws_create_flow_table()
296 ft->fs_hws_table.hws_table = NULL; in mlx5_cmd_hws_create_flow_table()
301 struct mlx5_flow_table *ft) in mlx5_cmd_hws_destroy_flow_table() argument
324 struct mlx5_flow_table *ft, in mlx5_cmd_hws_modify_flow_table() argument
373 struct mlx5_flow_table *ft, in mlx5_cmd_hws_destroy_flow_group() argument
967 if (dst->dest_attr.ft->flags & in mlx5_fs_fte_get_hws_actions()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dport_sel.c14 mlx5_create_hash_flow_group(struct mlx5_flow_table *ft, in mlx5_create_hash_flow_group() argument
33 fg = mlx5_create_flow_group(ft, in); in mlx5_create_hash_flow_group()
63 lag_definer->ft = mlx5_create_flow_table(ns, &ft_attr); in mlx5_lag_create_port_sel_table()
64 if (IS_ERR(lag_definer->ft)) { in mlx5_lag_create_port_sel_table()
66 return PTR_ERR(lag_definer->ft); in mlx5_lag_create_port_sel_table()
69 lag_definer->fg = mlx5_create_hash_flow_group(lag_definer->ft, in mlx5_lag_create_port_sel_table()
111 mlx5_destroy_flow_table(lag_definer->ft); in mlx5_lag_create_port_sel_table()
367 mlx5_destroy_flow_table(lag_definer->ft); in mlx5_lag_destroy_definer()
478 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
497 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
[all …]
/drivers/media/rc/img-ir/
A Dimg-ir-hw.c95 timings->ft.ft_min = (timings->ft.ft_min*unit + 999)/1000; in img_ir_timings_preprocess()
124 if (!timings->ft.ft_min) in img_ir_timings_defaults()
125 timings->ft.ft_min = defaults->ft.ft_min; in img_ir_timings_defaults()
307 regs->ft = img_ir_free_timing(&timings->ft, clock_hz); in img_ir_timings_convert()
379 u32 ft = regs->ft; in img_ir_write_timings() local
381 ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]); in img_ir_write_timings()
388 img_ir_write(priv, IMG_IR_FREE_SYMB_TIMING, ft); in img_ir_write_timings()
390 regs->ldr, regs->s00, regs->s01, regs->s10, regs->s11, ft); in img_ir_write_timings()

Completed in 105 milliseconds

1234