Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ice/
Dice_switch.c359 struct ice_vsi_ctx *tmp_vsi_ctx; in ice_add_vsi() local
367 tmp_vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_add_vsi()
368 if (!tmp_vsi_ctx) { in ice_add_vsi()
370 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi()
371 sizeof(*tmp_vsi_ctx), GFP_KERNEL); in ice_add_vsi()
372 if (!tmp_vsi_ctx) { in ice_add_vsi()
376 *tmp_vsi_ctx = *vsi_ctx; in ice_add_vsi()
377 ice_save_vsi_ctx(hw, vsi_handle, tmp_vsi_ctx); in ice_add_vsi()
380 tmp_vsi_ctx->vsi_num = vsi_ctx->vsi_num; in ice_add_vsi()