Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_switch.c1689 struct ice_vsi_ctx *tmp_vsi_ctx; in ice_add_vsi() local
1697 tmp_vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_add_vsi()
1698 if (!tmp_vsi_ctx) { in ice_add_vsi()
1700 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi()
1701 sizeof(*tmp_vsi_ctx), GFP_KERNEL); in ice_add_vsi()
1702 if (!tmp_vsi_ctx) { in ice_add_vsi()
1706 *tmp_vsi_ctx = *vsi_ctx; in ice_add_vsi()
1707 ice_save_vsi_ctx(hw, vsi_handle, tmp_vsi_ctx); in ice_add_vsi()
1710 tmp_vsi_ctx->vsi_num = vsi_ctx->vsi_num; in ice_add_vsi()