Home
last modified time | relevance | path

Searched refs:rep_type (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/include/linux/mlx5/
Deswitch.h65 u8 rep_type);
66 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
69 u8 rep_type);
72 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c2363 int rep_type; in mlx5_esw_offloads_rep_init() local
2372 for (rep_type = 0; rep_type < NUM_REP_TYPES; rep_type++) in mlx5_esw_offloads_rep_init()
2373 atomic_set(&rep->rep_data[rep_type].state, REP_UNREGISTERED); in mlx5_esw_offloads_rep_init()
2517 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_load_rep() argument
2519 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()
2521 return esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); in __esw_offloads_load_rep()
2527 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_unload_rep() argument
2529 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep()
2531 if (rep_type == REP_ETH) in __esw_offloads_unload_rep()
2533 esw->offloads.rep_ops[rep_type]->unload(rep); in __esw_offloads_unload_rep()
[all …]
Deswitch.h586 void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type);
/linux-6.12.1/net/tipc/
Dnetlink_compat.c56 int rep_type; member
290 if (msg->rep_type) in tipc_nl_compat_dumpit()
291 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
1223 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()
1248 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()
1255 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()