Searched refs:rep_type (Results 1 – 3 of 3) sorted by relevance
2643 int rep_type; in mlx5_esw_offloads_rep_add() local2652 for (rep_type = 0; rep_type < NUM_REP_TYPES; rep_type++) { in mlx5_esw_offloads_rep_add()2653 if (!esw->offloads.rep_ops[rep_type]) { in mlx5_esw_offloads_rep_add()2654 atomic_set(&rep->rep_data[rep_type].state, in mlx5_esw_offloads_rep_add()2663 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in mlx5_esw_offloads_rep_add()2811 u8 rep_type, bool *newly_loaded) in __esw_offloads_load_rep() argument2820 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()2824 err = esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); in __esw_offloads_load_rep()2826 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in __esw_offloads_load_rep()2837 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_unload_rep() argument[all …]
648 void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type);
56 int rep_type; member293 if (msg->rep_type) in tipc_nl_compat_dumpit()294 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()1224 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()1249 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()1256 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()