Searched refs:vport_msg (Results 1 – 4 of 4) sorted by relevance
1141 struct virtchnl2_create_vport *vport_msg; in idpf_send_create_vport_msg() local1146 vport_msg = kzalloc(buf_size, GFP_KERNEL); in idpf_send_create_vport_msg()1147 if (!vport_msg) in idpf_send_create_vport_msg()1150 vport_msg->vport_type = cpu_to_le16(VIRTCHNL2_VPORT_TYPE_DEFAULT); in idpf_send_create_vport_msg()1151 vport_msg->vport_index = cpu_to_le16(idx); in idpf_send_create_vport_msg()1154 vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); in idpf_send_create_vport_msg()1156 vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); in idpf_send_create_vport_msg()1159 vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); in idpf_send_create_vport_msg()1161 vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); in idpf_send_create_vport_msg()1163 err = idpf_vport_calc_total_qs(adapter, idx, vport_msg, max_q); in idpf_send_create_vport_msg()[all …]
1476 struct virtchnl2_create_vport *vport_msg, in idpf_vport_init_num_qs() argument1483 rsrc->num_txq = le16_to_cpu(vport_msg->num_tx_q); in idpf_vport_init_num_qs()1484 rsrc->num_rxq = le16_to_cpu(vport_msg->num_rx_q); in idpf_vport_init_num_qs()1489 config_data->num_req_tx_qs = le16_to_cpu(vport_msg->num_tx_q); in idpf_vport_init_num_qs()1490 config_data->num_req_rx_qs = le16_to_cpu(vport_msg->num_rx_q); in idpf_vport_init_num_qs()1494 rsrc->num_complq = le16_to_cpu(vport_msg->num_tx_complq); in idpf_vport_init_num_qs()1496 rsrc->num_bufq = le16_to_cpu(vport_msg->num_rx_bufq); in idpf_vport_init_num_qs()1501 vport->num_xdp_txq = le16_to_cpu(vport_msg->num_tx_q) - in idpf_vport_init_num_qs()1576 struct virtchnl2_create_vport *vport_msg, in idpf_vport_calc_total_qs() argument1600 if (idpf_is_queue_model_split(le16_to_cpu(vport_msg->txq_model))) { in idpf_vport_calc_total_qs()[all …]
117 struct virtchnl2_create_vport *vport_msg; in idpf_idc_init_aux_vport_dev() local120 vport_msg = (struct virtchnl2_create_vport *) in idpf_idc_init_aux_vport_dev()123 if (!(le16_to_cpu(vport_msg->vport_flags) & VIRTCHNL2_VPORT_ENABLE_RDMA)) in idpf_idc_init_aux_vport_dev()
1079 struct virtchnl2_create_vport *vport_msg,1084 struct virtchnl2_create_vport *vport_msg,