Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mlx5/
H A Deswitch.h64 u8 rep_type);
65 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
68 u8 rep_type);
71 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c2349 int rep_type; in mlx5_esw_offloads_rep_init() local
2358 for (rep_type = 0; rep_type < NUM_REP_TYPES; rep_type++) in mlx5_esw_offloads_rep_init()
2359 atomic_set(&rep->rep_data[rep_type].state, REP_UNREGISTERED); in mlx5_esw_offloads_rep_init()
2502 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_load_rep() argument
2504 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()
2506 return esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); in __esw_offloads_load_rep()
2512 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_unload_rep() argument
2514 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep()
2516 esw->offloads.rep_ops[rep_type]->unload(rep); in __esw_offloads_unload_rep()
2519 static void __unload_reps_all_vport(struct mlx5_eswitch *esw, u8 rep_type) in __unload_reps_all_vport() argument
[all …]
H A Deswitch.h576 void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type);
/openbmc/linux/net/tipc/
H A 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()