Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c44 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc) in mlx5_get_ttc_flow_table() argument
46 return ttc->t; in mlx5_get_ttc_flow_table()
49 static void mlx5_cleanup_ttc_rules(struct mlx5_ttc_table *ttc) in mlx5_cleanup_ttc_rules() argument
54 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules()
55 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules()
56 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules()
61 if (!IS_ERR_OR_NULL(ttc->tunnel_rules[i])) { in mlx5_cleanup_ttc_rules()
62 mlx5_del_flow_rules(ttc->tunnel_rules[i]); in mlx5_cleanup_ttc_rules()
63 ttc->tunnel_rules[i] = NULL; in mlx5_cleanup_ttc_rules()
252 bool mlx5_ttc_has_esp_flow_group(struct mlx5_ttc_table *ttc) in mlx5_ttc_has_esp_flow_group() argument
[all …]
/linux/drivers/clocksource/
H A 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()
160 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; in __ttc_clocksource_read()
183 struct ttc_timer *timer = &ttce->ttc; in ttc_set_next_event()
200 struct ttc_timer *timer = &ttce->ttc; in ttc_shutdown()
218 struct ttc_timer *timer = &ttce->ttc; in ttc_set_periodic()
221 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
228 struct ttc_timer *timer = &ttce->ttc; in ttc_resume()
241 struct ttc_timer *ttc = to_ttc_timer(nb); in ttc_rate_change_clocksource_cb() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
260 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_disable() local
265 err = mlx5_ttc_fwd_default_dest(ttc, fs_udp2tt(i)); in fs_udp_disable()
278 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_enable() local
288 err = mlx5_ttc_fwd_dest(ttc, fs_udp2tt(i), &dest); in fs_udp_enable()
398 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_add_default_rule() local
407 dest = mlx5_ttc_get_default_dest(ttc, MLX5_TT_ANY); in fs_any_add_default_rule()
519 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_any_disable() local
523 err = mlx5_ttc_fwd_default_dest(ttc, MLX5_TT_ANY); in fs_any_disable()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
H A Dipsec_fs.c590 ipsec_rx_decrypted_pkt_def_dest(struct mlx5_ttc_table *ttc, u32 family) in ipsec_rx_decrypted_pkt_def_dest() argument
594 if (!mlx5_ttc_has_esp_flow_group(ttc)) in ipsec_rx_decrypted_pkt_def_dest()
595 return mlx5_ttc_get_default_dest(ttc, family2tt(family)); in ipsec_rx_decrypted_pkt_def_dest()
597 dest.ft = mlx5_get_ttc_flow_table(ttc); in ipsec_rx_decrypted_pkt_def_dest()
616 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in handle_ipsec_rx_bringup() local
619 old_dest = ipsec_rx_decrypted_pkt_def_dest(ttc, family); in handle_ipsec_rx_bringup()
632 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in handle_ipsec_rx_cleanup() local
637 new_dest = ipsec_rx_decrypted_pkt_def_dest(ttc, family); in handle_ipsec_rx_cleanup()
690 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local
693 mlx5_ttc_destroy_ipsec_rules(ttc); in ipsec_rx_ft_disconnect()
[all …]
H A Dpsp.c453 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_create() local
461 fs_prot->default_dest = mlx5_ttc_get_default_dest(ttc, fs_psp2tt(type)); in accel_psp_fs_rx_create()
479 struct mlx5_ttc_table *ttc; in accel_psp_fs_rx_ft_get() local
485 ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_ft_get()
502 mlx5_ttc_fwd_dest(ttc, fs_psp2tt(type), &dest); in accel_psp_fs_rx_ft_get()
511 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs->fs, false); in accel_psp_fs_rx_ft_put() local
522 mlx5_ttc_fwd_default_dest(ttc, fs_psp2tt(type)); in accel_psp_fs_rx_ft_put()
H A Dipsec.h184 struct mlx5_ttc_table *ttc; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.h20 struct mlx5_ttc_table *ttc; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c124 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() local
129 err = mlx5_ttc_fwd_default_dest(ttc, arfs_get_tt(i)); in arfs_disable()
161 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() local
170 err = mlx5_ttc_fwd_dest(ttc, arfs_get_tt(i), &dest); in mlx5e_arfs_enable()
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi413 compatible = "cdns,ttc";
421 compatible = "cdns,ttc";