Home
last modified time | relevance | path

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

/Linux-v5.15/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_bond_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.c24 struct mlx5e_rep_priv *rpriv; member
34 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() local
35 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach()
44 mutex_lock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
49 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
61 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
69 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach() local
70 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach()
253 int mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) in mlx5e_rep_tc_init() argument
255 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);
48 mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_tc_init() argument
50 mlx5e_rep_tc_cleanup(struct mlx5e_rep_priv *rpriv) {} in mlx5e_rep_tc_cleanup() argument
53 mlx5e_rep_tc_netdevice_event_register(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_tc_netdevice_event_register() argument
55 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
80 rpriv = priv->ppriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
81 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c168 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
169 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
310 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_stop() local
315 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
316 list_for_each_entry_safe(rep_sq, tmp, &rpriv->vport_sqs_list, list) { in mlx5e_sqs2vport_stop()
331 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_start() local
339 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
374 list_add(&rep_sq->list, &rpriv->vport_sqs_list); in mlx5e_sqs2vport_start()
394 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules() local
395 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules()
[all …]
Den_rep.h219 int mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv);
220 void mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv);
Den_tc.c1273 struct mlx5e_rep_priv *rpriv; in add_unready_flow() local
1277 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in add_unready_flow()
1278 uplink_priv = &rpriv->uplink_priv; in add_unready_flow()
1288 struct mlx5e_rep_priv *rpriv; in remove_unready_flow() local
1292 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in remove_unready_flow()
1293 uplink_priv = &rpriv->uplink_priv; in remove_unready_flow()
1386 struct mlx5e_rep_priv *rpriv; in mlx5e_tc_add_fdb_flow() local
1453 rpriv = out_priv->ppriv; in mlx5e_tc_add_fdb_flow()
1454 esw_attr->dests[out_index].rep = rpriv->rep; in mlx5e_tc_add_fdb_flow()
2501 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower() local
[all …]
Den_rx.c1276 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep() local
1277 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_handle_rx_cqe_rep()
/Linux-v5.15/drivers/scsi/libfc/
Dfc_fcp.c461 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov() local
464 if (rpriv && rpriv->e_d_tov > e_d_tov) in get_fsp_rec_tov()
465 e_d_tov = rpriv->e_d_tov; in get_fsp_rec_tov()
1175 struct fc_rport_libfc_priv *rpriv; in fc_fcp_cmd_send() local
1192 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1195 rpriv->local_port->port_id, FC_TYPE_FCP, in fc_fcp_cmd_send()
1207 if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) in fc_fcp_cmd_send()
1426 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout() local
1442 fsp->timer_delay, rpriv->flags, fsp->state); in fc_fcp_timeout()
1445 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 …]