Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c85 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_bond_enslave() local
121 rpriv = priv->ppriv; in mlx5e_rep_bond_enslave()
150 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_bond_unslave() local
165 rpriv = priv->ppriv; in mlx5e_rep_bond_unslave()
193 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_changelowerstate_event() local
209 rpriv = priv->ppriv; in mlx5e_rep_changelowerstate_event()
221 rpriv = priv->ppriv; in mlx5e_rep_changelowerstate_event()
251 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_changeupper_event() local
256 rpriv = priv->ppriv; in mlx5e_rep_changeupper_event()
279 struct mlx5e_rep_priv *rpriv; in mlx5e_rep_esw_bond_netevent() local
[all …]
H A Dneigh.c31 struct net_device *netdev = rpriv->netdev; in mlx5e_rep_neigh_update_init_interval()
40 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_queue_neigh_stats_work() local
64 mlx5e_get_next_nhe(struct mlx5e_rep_priv *rpriv, in mlx5e_get_next_nhe() argument
99 struct net_device *netdev = rpriv->netdev; in mlx5e_rep_neigh_stats_work()
208 struct net_device *netdev = rpriv->netdev; in mlx5e_rep_netevent_event()
289 mlx5e_rep_neigh_update_init_interval(rpriv); in mlx5e_rep_neigh_init()
301 netdev_warn(rpriv->netdev, in mlx5e_rep_neigh_init()
303 rpriv->rep->vport); in mlx5e_rep_neigh_init()
328 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_neigh_entry_insert() local
346 mutex_lock(&rpriv->neigh_update.encap_lock); in mlx5e_rep_neigh_entry_remove()
[all …]
H A Dtc.c27 struct mlx5e_rep_priv *rpriv; member
38 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_rep_encap_entry_attach() local
48 mutex_lock(&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
153 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_tc_stats_matchall() local
287 mlx5e_tc_esw_cleanup(&rpriv->uplink_priv); in mlx5e_rep_tc_cleanup()
391 mpriv = netdev_priv(priv->rpriv->netdev); in mlx5e_rep_indr_setup_ft_cb()
470 if (macvlan_real_dev == rpriv->netdev) in mlx5e_rep_check_indr_block_supported()
485 struct mlx5e_rep_priv *rpriv, in mlx5e_rep_indr_setup_block() argument
511 indr_priv->rpriv = rpriv; in mlx5e_rep_indr_setup_block()
[all …]
H A 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
H A 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
H A Dbridge.c65 struct mlx5e_rep_priv *rpriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get() local
79 rpriv = priv->ppriv; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
80 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c728 rep = rpriv->rep; in mlx5e_is_uplink_rep()
1019 rpriv->root_ft = NULL; in mlx5e_create_rep_root_ft()
1184 netdev = rpriv->netdev; in mlx5e_init_uplink_rep_tx()
1442 0, rpriv); in mlx5e_rep_vnic_reporter_create()
1506 rpriv); in mlx5e_vport_uplink_rep_load()
1559 priv->ppriv = rpriv; in mlx5e_vport_vf_rep_load()
1608 rpriv = kvzalloc(sizeof(*rpriv), GFP_KERNEL); in mlx5e_vport_rep_load()
1609 if (!rpriv) in mlx5e_vport_rep_load()
1613 rpriv->rep = rep; in mlx5e_vport_rep_load()
1623 kvfree(rpriv); in mlx5e_vport_rep_load()
[all …]
H A Den_rep.h242 int mlx5e_rep_bond_init(struct mlx5e_rep_priv *rpriv);
243 void mlx5e_rep_bond_cleanup(struct mlx5e_rep_priv *rpriv);
H A Den_tc.c1623 struct mlx5e_rep_priv *rpriv; in add_unready_flow() local
1628 uplink_priv = &rpriv->uplink_priv; in add_unready_flow()
1638 struct mlx5e_rep_priv *rpriv; in remove_unready_flow() local
3172 rep = rpriv->rep; in parse_cls_flower()
4347 struct mlx5e_rep_priv *rpriv; in get_tc_ht() local
4350 rpriv = priv->ppriv; in get_tc_ht()
4351 return &rpriv->tc_ht; in get_tc_ht()
4767 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
5019 vport_num = rpriv->rep->vport; in apply_police_params()
5391 struct mlx5e_rep_priv *rpriv; in mlx5e_tc_esw_init() local
[all …]
H A Den_rx.c1862 struct mlx5e_rep_priv *rpriv = priv->ppriv; in mlx5e_handle_rx_cqe_rep() local
1863 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_handle_rx_cqe_rep()
/linux-6.15/drivers/scsi/libfc/
H A Dfc_fcp.c462 if (rpriv && rpriv->e_d_tov > e_d_tov) in get_fsp_rec_tov()
463 e_d_tov = rpriv->e_d_tov; in get_fsp_rec_tov()
1170 struct fc_rport_libfc_priv *rpriv; in fc_fcp_cmd_send() local
1187 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1460 struct fc_rport_libfc_priv *rpriv; in fc_fcp_rec() local
1464 rpriv = rport->dd_data; in fc_fcp_rec()
1514 struct fc_rport_libfc_priv *rpriv; in fc_fcp_rec_resp() local
1537 rpriv = fsp->rport->dd_data; in fc_fcp_rec_resp()
1718 struct fc_rport_libfc_priv *rpriv; in fc_fcp_srr() local
1725 rpriv = rport->dd_data; in fc_fcp_srr()
[all …]
H A 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()
2287 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_rport_terminate_io() local
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c160 struct mlx5e_rep_priv *rpriv; in mlx5_esw_ipsec_restore_dest_uplink() local
170 rpriv = rep->rep_data[REP_ETH].priv; in mlx5_esw_ipsec_restore_dest_uplink()
171 rhashtable_walk_enter(&rpriv->tc_ht, &iter); in mlx5_esw_ipsec_restore_dest_uplink()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmirred.c214 struct mlx5e_rep_priv *rpriv = priv->ppriv; in parse_mirred() local
272 rpriv = out_priv->ppriv; in parse_mirred()
274 esw_attr->dests[esw_attr->out_count].vport = rpriv->rep->vport; in parse_mirred()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c1034 struct mlx5e_rep_priv *rpriv; in mlx5e_tc_tun_encap_dests_set() local
1072 rpriv = out_priv->ppriv; in mlx5e_tc_tun_encap_dests_set()
1074 esw_attr->dests[out_index].vport = rpriv->rep->vport; in mlx5e_tc_tun_encap_dests_set()