Searched refs:vport_msg (Results 1 – 4 of 4) sorted by relevance
1551 struct virtchnl2_create_vport *vport_msg; in idpf_send_create_vport_msg() local1565 vport_msg = adapter->vport_params_reqd[idx]; in idpf_send_create_vport_msg()1566 vport_msg->vport_type = cpu_to_le16(VIRTCHNL2_VPORT_TYPE_DEFAULT); in idpf_send_create_vport_msg()1567 vport_msg->vport_index = cpu_to_le16(idx); in idpf_send_create_vport_msg()1570 vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); in idpf_send_create_vport_msg()1572 vport_msg->txq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); in idpf_send_create_vport_msg()1575 vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SPLIT); in idpf_send_create_vport_msg()1577 vport_msg->rxq_model = cpu_to_le16(VIRTCHNL2_QUEUE_MODEL_SINGLE); in idpf_send_create_vport_msg()1579 err = idpf_vport_calc_total_qs(adapter, idx, vport_msg, max_q); in idpf_send_create_vport_msg()1596 xn_params.send_buf.iov_base = vport_msg; 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 …]
114 struct virtchnl2_create_vport *vport_msg; in idpf_idc_init_aux_vport_dev() local117 vport_msg = (struct virtchnl2_create_vport *) in idpf_idc_init_aux_vport_dev()120 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,