Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c23 struct mlx5e_rep_priv *rpriv; member
31 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() local
32 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach()
41 mutex_lock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
46 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
58 mutex_unlock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_encap_entry_attach()
66 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_detach() local
67 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach()
251 int mlx5e_rep_tc_init(struct mlx5e_rep_priv *rpriv) in mlx5e_rep_tc_init() argument
253 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);
28 mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv) { return 0; } in mlx5e_rep_neigh_init() argument
30 mlx5e_rep_neigh_cleanup(struct mlx5e_rep_priv *rpriv) {} in mlx5e_rep_neigh_cleanup() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c175 struct mlx5e_rep_priv *rpriv = priv->ppriv; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
176 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
381 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_stop() local
386 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
387 list_for_each_entry_safe(rep_sq, tmp, &rpriv->vport_sqs_list, list) { in mlx5e_sqs2vport_stop()
399 struct mlx5e_rep_priv *rpriv; in mlx5e_sqs2vport_start() local
407 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
425 list_add(&rep_sq->list, &rpriv->vport_sqs_list); in mlx5e_sqs2vport_start()
437 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_add_sqs_fwd_rules() local
438 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules()
[all …]
Den_rep.h208 int mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv);
209 void mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv);
Den_tc.c1314 struct mlx5e_rep_priv *rpriv; in add_unready_flow() local
1318 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in add_unready_flow()
1319 uplink_priv = &rpriv->uplink_priv; in add_unready_flow()
1329 struct mlx5e_rep_priv *rpriv; in remove_unready_flow() local
1333 rpriv = mlx5_eswitch_get_uplink_priv(esw, REP_ETH); in remove_unready_flow()
1334 uplink_priv = &rpriv->uplink_priv; in remove_unready_flow()
1352 struct mlx5e_rep_priv *rpriv; in mlx5e_tc_add_fdb_flow() local
1408 rpriv = out_priv->ppriv; in mlx5e_tc_add_fdb_flow()
1409 esw_attr->dests[out_index].rep = rpriv->rep; in mlx5e_tc_add_fdb_flow()
2664 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_cls_flower() local
[all …]
Den_rx.c1279 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep() local
1280 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_handle_rx_cqe_rep()
/kernel/linux/linux-5.10/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 …]