/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 40 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc) in mlx5_get_ttc_flow_table() argument 42 return ttc->t; in mlx5_get_ttc_flow_table() 45 static void mlx5_cleanup_ttc_rules(struct mlx5_ttc_table *ttc) in mlx5_cleanup_ttc_rules() argument 50 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules() 51 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules() 52 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules() 57 if (!IS_ERR_OR_NULL(ttc->tunnel_rules[i])) { in mlx5_cleanup_ttc_rules() 58 mlx5_del_flow_rules(ttc->tunnel_rules[i]); in mlx5_cleanup_ttc_rules() 59 ttc->tunnel_rules[i] = NULL; in mlx5_cleanup_ttc_rules() 312 struct mlx5_ttc_table *ttc, in mlx5_generate_ttc_table_rules() argument [all …]
|
H A D | fs_ttc.h | 52 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/drivers/clocksource/ |
H A D | timer-cadence-ttc.c | 87 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 D | fs_tt_redirect.c | 116 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 …]
|
H A D | fs.h | 174 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.c | 509 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params() 525 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table() 526 return PTR_ERR_OR_ZERO(port_sel->outer.ttc); in mlx5_lag_create_ttc_table() 541 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table() 542 return PTR_ERR_OR_ZERO(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table() 570 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create() 649 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy() 651 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
|
H A D | port_sel.h | 20 struct mlx5_ttc_table *ttc; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 152 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 D | ipsec.h | 174 struct mlx5_ttc_table *ttc; member
|
H A D | ipsec_fs.c | 575 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local 577 mlx5_ttc_fwd_default_dest(ttc, family2tt(family)); in ipsec_rx_ft_disconnect() 619 attr->ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_create_attr_set() 639 *dest = mlx5_ttc_get_default_dest(attr->ttc, family2tt(attr->family)); in ipsec_rx_status_pass_dest_get() 663 mlx5_ttc_fwd_dest(attr->ttc, family2tt(attr->family), &dest); in ipsec_rx_ft_connect()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs.c | 60 struct mlx5_ttc_table *ttc; member 757 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule() 976 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule() 1270 mlx5_destroy_ttc_table(fs->ttc); in mlx5e_destroy_ttc_table() 1293 fs->ttc = mlx5_create_ttc_table(fs->mdev, &ttc_params); in mlx5e_create_ttc_table() 1294 return PTR_ERR_OR_ZERO(fs->ttc); in mlx5e_create_ttc_table() 1514 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc() 1517 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument 1520 fs->ttc = ttc; in mlx5e_fs_set_ttc() 1522 fs->inner_ttc = ttc; in mlx5e_fs_set_ttc()
|
H A D | en_arfs.c | 124 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 D | zynq-7000.dtsi | 387 compatible = "cdns,ttc"; 395 compatible = "cdns,ttc";
|
/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp.dtsi | 1103 compatible = "cdns,ttc"; 1115 compatible = "cdns,ttc"; 1127 compatible = "cdns,ttc"; 1139 compatible = "cdns,ttc";
|
/linux/ |
H A D | MAINTAINERS | 3394 F: drivers/clocksource/timer-cadence-ttc.c
|