Home
last modified time | relevance | path

Searched refs:ttc (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c37 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc) in mlx5_get_ttc_flow_table() argument
39 return ttc->t; in mlx5_get_ttc_flow_table()
42 static void mlx5_cleanup_ttc_rules(struct mlx5_ttc_table *ttc) in mlx5_cleanup_ttc_rules() argument
47 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules()
48 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules()
49 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules()
54 if (!IS_ERR_OR_NULL(ttc->tunnel_rules[i])) { in mlx5_cleanup_ttc_rules()
55 mlx5_del_flow_rules(ttc->tunnel_rules[i]); in mlx5_cleanup_ttc_rules()
56 ttc->tunnel_rules[i] = NULL; in mlx5_cleanup_ttc_rules()
237 struct mlx5_ttc_table *ttc) in mlx5_generate_ttc_table_rules() argument
[all …]
Dfs_ttc.h52 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc);
56 void mlx5_destroy_ttc_table(struct mlx5_ttc_table *ttc);
61 int mlx5_ttc_fwd_dest(struct mlx5_ttc_table *ttc, enum mlx5_traffic_types type,
64 mlx5_ttc_get_default_dest(struct mlx5_ttc_table *ttc,
66 int mlx5_ttc_fwd_default_dest(struct mlx5_ttc_table *ttc,
/Linux-v6.6/drivers/clocksource/
Dtimer-cadence-ttc.c87 struct ttc_timer ttc; member
95 struct ttc_timer ttc; member
142 struct ttc_timer *timer = &ttce->ttc; in ttc_clock_event_interrupt()
159 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read()
182 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event()
196 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown()
208 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic()
211 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
218 struct ttc_timer *timer = &ttce->ttc; in ttc_resume()
231 struct ttc_timer *ttc = to_ttc_timer(nb); in ttc_rate_change_clocksource_cb() local
[all …]
DMakefile43 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c116 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_add_default_rule() local
126 dest = mlx5_ttc_get_default_dest(ttc, fs_udp2tt(type)); in fs_udp_add_default_rule()
259 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_disable() local
264 err = mlx5_ttc_fwd_default_dest(ttc, fs_udp2tt(i)); in fs_udp_disable()
277 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_enable() local
287 err = mlx5_ttc_fwd_dest(ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
397 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_add_default_rule() local
406 dest = mlx5_ttc_get_default_dest(ttc, MLX5_TT_ANY); in fs_any_add_default_rule()
517 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_disable() local
521 err = mlx5_ttc_fwd_default_dest(ttc, MLX5_TT_ANY); in fs_any_disable()
[all …]
Dfs.h162 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c498 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params()
509 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
510 if (IS_ERR(port_sel->outer.ttc)) in mlx5_lag_create_ttc_table()
511 return PTR_ERR(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
523 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
524 if (IS_ERR(port_sel->inner.ttc)) in mlx5_lag_create_inner_ttc_table()
525 return PTR_ERR(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
555 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
632 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
634 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
Dport_sel.h20 struct mlx5_ttc_table *ttc; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c152 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_add_default_rule() local
161 dest = mlx5_ttc_get_default_dest(ttc, fs_accel2tt(type)); in accel_fs_tcp_add_default_rule()
305 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_disable() local
310 err = mlx5_ttc_fwd_default_dest(ttc, fs_accel2tt(i)); in accel_fs_tcp_disable()
325 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_enable() local
334 err = mlx5_ttc_fwd_dest(ttc, fs_accel2tt(i), &dest); in accel_fs_tcp_enable()
Dipsec.h174 struct mlx5_ttc_table *ttc; member
Dipsec_fs.c234 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local
236 mlx5_ttc_fwd_default_dest(ttc, family2tt(family)); in ipsec_rx_ft_disconnect()
283 attr->ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_create_attr_set()
303 *dest = mlx5_ttc_get_default_dest(attr->ttc, family2tt(attr->family)); in ipsec_rx_status_pass_dest_get()
327 mlx5_ttc_fwd_dest(attr->ttc, family2tt(attr->family), &dest); in ipsec_rx_ft_connect()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c60 struct mlx5_ttc_table *ttc; member
757 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule()
978 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule()
1272 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table()
1297 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table()
1298 if (IS_ERR(fs->ttc)) in mlx5e_create_ttc_table()
1299 return PTR_ERR(fs->ttc); in mlx5e_create_ttc_table()
1521 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc()
1524 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument
1527 fs->ttc = ttc; in mlx5e_fs_set_ttc()
[all …]
Den_arfs.c118 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local
123 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable()
155 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local
164 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
Den_tc.c576 struct mlx5_ttc_table *ttc; member
851 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local
863 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init()
864 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init()
865 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init()
869 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init()
872 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init()
886 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup()
1194 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
/Linux-v6.6/arch/arm/boot/dts/xilinx/
Dzynq-7000.dtsi387 compatible = "cdns,ttc";
395 compatible = "cdns,ttc";
/Linux-v6.6/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi847 compatible = "cdns,ttc";
859 compatible = "cdns,ttc";
871 compatible = "cdns,ttc";
883 compatible = "cdns,ttc";
/Linux-v6.6/
DMAINTAINERS3001 F: drivers/clocksource/timer-cadence-ttc.c