Home
last modified time | relevance | path

Searched refs:rpriv (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c85 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_bond_enslave() local
91 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in mlx5e_rep_bond_enslave()
92 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_enslave()
107 list_add(&mdata->list, &rpriv->uplink_priv.bond->metadata_list); in mlx5e_rep_bond_enslave()
121 rpriv = priv->ppriv; in mlx5e_rep_bond_enslave()
123 err = mlx5_esw_acl_ingress_vport_metadata_update(esw, rpriv->rep->vport, in mlx5e_rep_bond_enslave()
131 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_enslave()
150 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_bond_unslave() local
155 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in mlx5e_rep_bond_unslave()
156 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_unslave()
[all …]
Dneigh.c27 static void mlx5e_rep_neigh_update_init_interval(struct mlx5e_rep_priv *rpriv) in mlx5e_rep_neigh_update_init_interval() argument
31 struct net_device *netdev = rpriv->netdev; in mlx5e_rep_neigh_update_init_interval()
34 rpriv->neigh_update.min_interval = min_t(unsigned long, ipv6_interval, ipv4_interval); in mlx5e_rep_neigh_update_init_interval()
35 mlx5_fc_update_sampling_interval(priv->mdev, rpriv->neigh_update.min_interval); in mlx5e_rep_neigh_update_init_interval()
40 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_queue_neigh_stats_work() local
41 struct mlx5e_neigh_update_table *neigh_update = &rpriv->neigh_update; in mlx5e_rep_queue_neigh_stats_work()
64 mlx5e_get_next_nhe(struct mlx5e_rep_priv *rpriv, in mlx5e_get_next_nhe() argument
72 list_next_or_null_rcu(&rpriv->neigh_update.neigh_list, in mlx5e_get_next_nhe()
76 list_first_or_null_rcu(&rpriv->neigh_update.neigh_list, in mlx5e_get_next_nhe()
80 next = list_next_or_null_rcu(&rpriv->neigh_update.neigh_list, in mlx5e_get_next_nhe()
[all …]
Dtc.c27 struct mlx5e_rep_priv *rpriv; member
38 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() local
39 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach()
48 mutex_lock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
53 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
65 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
73 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach() local
74 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach()
257 int mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) in mlx5e_rep_tc_init() argument
259 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_init()
[all …]
Dtc.h13 int mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv);
14 void mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv);
16 int mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv);
17 void mlx5e_rep_tc_netdevice_event_unregister(struct mlx5e_rep_priv *rpriv);
46 mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_tc_init() argument
48 mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv) {} in mlx5e_rep_tc_cleanup() argument
51 mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_tc_netdevice_event_register() argument
53 mlx5e_rep_tc_netdevice_event_unregister(struct mlx5e_rep_priv *rpriv) {} in mlx5e_rep_tc_netdevice_event_unregister() argument
Dneigh.h12 int mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv);
13 void mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv);
29 mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_neigh_init() argument
31 mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv) {} in mlx5e_rep_neigh_cleanup() argument
Dbridge.c70 struct mlx5e_rep_priv *rpriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get() local
84 rpriv = priv->ppriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
85 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c183 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
184 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
378 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_stop() local
384 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
385 list_for_each_entry_safe(rep_sq, tmp, &rpriv->vport_sqs_list, list) { in mlx5e_sqs2vport_stop()
442 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_start() local
451 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
486 list_add(&rep_sq->list, &rpriv->vport_sqs_list); in mlx5e_sqs2vport_start()
509 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules() local
510 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules()
[all …]
Den_rep.h242 int mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv);
243 void mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv);
Den_tc.c1619 struct mlx5e_rep_priv *rpriv; in add_unready_flow() local
1623 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in add_unready_flow()
1624 uplink_priv = &rpriv->uplink_priv; in add_unready_flow()
1634 struct mlx5e_rep_priv *rpriv; in remove_unready_flow() local
1638 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in remove_unready_flow()
1639 uplink_priv = &rpriv->uplink_priv; in remove_unready_flow()
3037 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower() local
3052 rep = rpriv->rep; in parse_cls_flower()
4207 struct mlx5e_rep_priv *rpriv; in get_tc_ht() local
4210 rpriv = priv->ppriv; in get_tc_ht()
[all …]
Den_rx.c1870 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep() local
1871 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_handle_rx_cqe_rep()
/Linux-v6.6/drivers/scsi/libfc/
Dfc_fcp.c454 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov() local
457 if (rpriv && rpriv->e_d_tov > e_d_tov) in get_fsp_rec_tov()
458 e_d_tov = rpriv->e_d_tov; in get_fsp_rec_tov()
1165 struct fc_rport_libfc_priv *rpriv; in fc_fcp_cmd_send() local
1182 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1185 rpriv->local_port->port_id, FC_TYPE_FCP, in fc_fcp_cmd_send()
1197 if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) in fc_fcp_cmd_send()
1416 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout() local
1432 fsp->timer_delay, rpriv->flags, fsp->state); in fc_fcp_timeout()
1435 if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) in fc_fcp_timeout()
[all …]
Dfc_rport.c263 struct fc_rport_libfc_priv *rpriv; in fc_rport_work() local
304 rpriv = rport->dd_data; in fc_rport_work()
305 rpriv->local_port = lport; in fc_rport_work()
306 rpriv->rp_state = rdata->rp_state; in fc_rport_work()
307 rpriv->flags = rdata->flags; in fc_rport_work()
308 rpriv->e_d_tov = rdata->e_d_tov; in fc_rport_work()
309 rpriv->r_a_tov = rdata->r_a_tov; in fc_rport_work()
356 rpriv = rport->dd_data; in fc_rport_work()
357 rpriv->rp_state = RPORT_ST_DELETE; in fc_rport_work()
2286 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_rport_terminate_io() local
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.c299 struct mlx5e_rep_priv *rpriv; in mlx5_esw_ipsec_restore_dest_uplink() local
306 rpriv = rep->rep_data[REP_ETH].priv; in mlx5_esw_ipsec_restore_dest_uplink()
307 if (!rpriv || !rpriv->netdev) in mlx5_esw_ipsec_restore_dest_uplink()
310 rhashtable_walk_enter(&rpriv->tc_ht, &iter); in mlx5_esw_ipsec_restore_dest_uplink()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c214 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_mirred() local
272 rpriv = out_priv->ppriv; in parse_mirred()
273 esw_attr->dests[esw_attr->out_count].rep = rpriv->rep; in parse_mirred()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c1028 struct mlx5e_rep_priv *rpriv; in mlx5e_tc_tun_encap_dests_set() local
1066 rpriv = out_priv->ppriv; in mlx5e_tc_tun_encap_dests_set()
1067 esw_attr->dests[out_index].rep = rpriv->rep; in mlx5e_tc_tun_encap_dests_set()