Searched refs:lan_q_ctx (Results 1 – 4 of 4) sorted by relevance
37 struct ice_q_ctx *lan_q_ctx[ICE_MAX_TRAFFIC_CLASS]; member
571 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx()572 vsi_ctx->lan_q_ctx[tc] = devm_kcalloc(ice_hw_to_dev(hw), in ice_alloc_lan_q_ctx()576 if (!vsi_ctx->lan_q_ctx[tc]) in ice_alloc_lan_q_ctx()589 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx()591 devm_kfree(ice_hw_to_dev(hw), vsi_ctx->lan_q_ctx[tc]); in ice_alloc_lan_q_ctx()592 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()
1646 if (vsi->lan_q_ctx[i]) { in ice_clear_vsi_q_ctx()1647 devm_kfree(ice_hw_to_dev(hw), vsi->lan_q_ctx[i]); in ice_clear_vsi_q_ctx()1648 vsi->lan_q_ctx[i] = NULL; in ice_clear_vsi_q_ctx()
4503 if (!vsi->lan_q_ctx[tc]) in ice_get_lan_q_ctx()4505 q_ctx = vsi->lan_q_ctx[tc]; in ice_get_lan_q_ctx()