Lines Matching defs:set_params
269 * @set_params: requested VLAN mode configuration
275 struct ice_aqc_set_vlan_mode *set_params)
280 if (!set_params)
283 if (set_params->l2tag_prio_tagging > ICE_AQ_VLAN_PRIO_TAG_MAX)
286 rdma_packet = set_params->rdma_packet;
291 mng_vlan_prot_id = set_params->mng_vlan_prot_id;
300 return ice_aq_send_cmd(hw, &desc, set_params, sizeof(*set_params),
354 struct ice_aqc_set_vlan_mode *set_params;
363 set_params = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*set_params),
365 if (!set_params)
369 set_params->l2tag_prio_tagging = ICE_AQ_VLAN_PRIO_TAG_INNER_CTAG;
370 set_params->rdma_packet = ICE_AQ_SVM_VLAN_RDMA_PKT_FLAG_SETTING;
371 set_params->mng_vlan_prot_id = ICE_AQ_VLAN_MNG_PROTOCOL_ID_INNER;
373 status = ice_aq_set_vlan_mode(hw, set_params);
377 devm_kfree(ice_hw_to_dev(hw), set_params);