| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | fs_ttc.c | 421 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 434 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 435 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 444 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 454 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 464 ttc->g[ttc->num_groups] = NULL; in mlx5_create_ttc_table_groups() 582 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() 595 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() 605 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() 615 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_inner_ttc_table_groups() [all …]
|
| A D | fs_ttc.h | 53 struct mlx5_flow_table *mlx5_get_ttc_flow_table(struct mlx5_ttc_table *ttc); 57 void mlx5_destroy_ttc_table(struct mlx5_ttc_table *ttc); 62 int mlx5_ttc_fwd_dest(struct mlx5_ttc_table *ttc, enum mlx5_traffic_types type, 65 mlx5_ttc_get_default_dest(struct mlx5_ttc_table *ttc, 67 int mlx5_ttc_fwd_default_dest(struct mlx5_ttc_table *ttc,
|
| /drivers/clocksource/ |
| 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() 341 ttccs->ttc.clk = clk; in ttc_setup_clocksource() 349 ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk); in ttc_setup_clocksource() 360 ttccs->ttc.base_addr = base; in ttc_setup_clocksource() 386 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource() 402 ttc->freq = ndata->new_rate; in ttc_rate_change_clockevent_cb() 424 ttcce->ttc.clk = clk; in ttc_setup_clockevent() 441 ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk); in ttc_setup_clockevent() [all …]
|
| A D | Makefile | 44 obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| 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 …]
|
| A D | fs.h | 179 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| 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()
|
| A D | port_sel.h | 20 struct mlx5_ttc_table *ttc; member
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| 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()
|
| A D | ipsec.h | 184 struct mlx5_ttc_table *ttc; member
|
| A D | ipsec_fs.c | 674 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_ft_disconnect() local 676 mlx5_ttc_fwd_default_dest(ttc, family2tt(family)); in ipsec_rx_ft_disconnect() 746 attr->ttc = mlx5e_fs_get_ttc(ipsec->fs, false); in ipsec_rx_create_attr_set() 766 *dest = mlx5_ttc_get_default_dest(attr->ttc, family2tt(attr->family)); in ipsec_rx_status_pass_dest_get() 792 mlx5_ttc_get_default_dest(attr->ttc, in ipsec_rx_sa_miss_dest_get() 812 mlx5_ttc_fwd_dest(attr->ttc, family2tt(attr->family), &dest); in ipsec_rx_ft_connect()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_fs.c | 60 struct mlx5_ttc_table *ttc; member 761 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_promisc_rule() 980 dest.ft = mlx5_get_ttc_flow_table(fs->ttc); in mlx5e_add_l2_flow_rule() 1274 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 return PTR_ERR_OR_ZERO(fs->ttc); in mlx5e_create_ttc_table() 1518 return inner ? fs->inner_ttc : fs->ttc; in mlx5e_fs_get_ttc() 1521 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner) in mlx5e_fs_set_ttc() argument 1524 fs->ttc = ttc; in mlx5e_fs_set_ttc() 1526 fs->inner_ttc = ttc; in mlx5e_fs_set_ttc()
|
| 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()
|
| A D | en_tc.c | 579 struct mlx5_ttc_table *ttc; member 855 struct mlx5_ttc_table *ttc; in mlx5e_hairpin_rss_init() local 867 hp->ttc = mlx5_create_ttc_table(priv->mdev, &ttc_params); in mlx5e_hairpin_rss_init() 868 if (IS_ERR(hp->ttc)) { in mlx5e_hairpin_rss_init() 869 err = PTR_ERR(hp->ttc); in mlx5e_hairpin_rss_init() 873 ttc = mlx5e_fs_get_ttc(priv->fs, false); in mlx5e_hairpin_rss_init() 876 mlx5_get_ttc_flow_table(ttc)->id); in mlx5e_hairpin_rss_init() 890 mlx5_destroy_ttc_table(hp->ttc); in mlx5e_hairpin_rss_cleanup() 1198 mlx5_get_ttc_flow_table(hpe->hp->ttc); in mlx5e_hairpin_flow_add()
|