Lines Matching +full:rx +full:- +full:queues +full:- +full:config

3   Copyright (c) 2013-2018, Intel Corporation
38 * This header file describes the VF-PF communication protocol used
42 * desc->opcode is always aqc_opc_send_msg_to_pf
50 * have a maximum of sixteen queues for all of its VSIs.
59 * queues and interrupts. After these operations are complete, the VF
60 * driver may start its queues, optionally add MAC and VLAN filters, and
72 VIRTCHNL_ERR_PARAM = -5,
73 VIRTCHNL_STATUS_ERR_OPCODE_MISMATCH = -38,
74 VIRTCHNL_STATUS_ERR_CQP_COMPL_ERROR = -39,
75 VIRTCHNL_STATUS_ERR_INVALID_VF_ID = -40,
76 VIRTCHNL_STATUS_NOT_SUPPORTED = -64,
100 /* for hsplit_0 field of Rx HMC context */
113 /* Opcodes for VF-PF communication. These are placed in the v_opcode field
168 enum virtchnl_ops v_opcode; /* avoid confusion with desc->opcode */
169 enum virtchnl_status_code v_retval; /* ditto for desc->retval */
200 #define VF_IS_V10(_v) (((_v)->major == 1) && ((_v)->minor == 0))
201 #define VF_IS_V11(_ver) (((_ver)->major == 1) && ((_ver)->minor == 1))
209 * When reset is complete, PF must ensure that all queues in all VSIs associated
215 /* VSI types that use VIRTCHNL interface for VF-PF communication. VSI_SRIOV
244 * TX/RX Checksum offloading and TSO for non-tunnelled packets.
286 /* Tx queue config info */
299 * VF sends this message to set up parameters for one RX queue.
304 /* Rx queue config info */
322 * VF sends this message to set parameters for all active TX and RX queues
324 * PF configures queues and returns status.
325 * If the number of queues specified is greater than the number of queues
326 * associated with the VSI, an error is returned and no queues are configured.
329 /* NOTE: vsi_id and queue_id should be identical for both queues. */
346 * VF sends this message to request the PF to allocate additional queues to
347 * this VF. Each VF gets a guaranteed number of queues on init but asking for
348 * additional queues must be negotiated. This is a best effort request as it
349 * is possible the PF does not have enough queues left to support the request.
361 * VF uses this message to map vectors to queues.
362 * The rxq_map and txq_map fields are bitmaps used to indicate which queues
387 * VF sends these message to enable or disable TX/RX queue pairs.
388 * The queues fields are bitmaps indicating which queues to act upon.
389 * (Currently, we only support 16 queues per VF, but we make the field
545 * VF uses this message to request PF to map IWARP vectors to IWARP queues.
556 /* HW does not define a type value for AEQ; only for RX/TX and CEQ.
580 /* VF reset states - these are written into the RSTAT register:
635 valid_len += (vqc->num_queue_pairs * in virtchnl_vc_validate_vf_msg()
638 if (vqc->num_queue_pairs == 0) in virtchnl_vc_validate_vf_msg()
647 valid_len += (vimi->num_vectors * in virtchnl_vc_validate_vf_msg()
649 if (vimi->num_vectors == 0) in virtchnl_vc_validate_vf_msg()
663 valid_len += veal->num_elements * in virtchnl_vc_validate_vf_msg()
665 if (veal->num_elements == 0) in virtchnl_vc_validate_vf_msg()
675 valid_len += vfl->num_elements * sizeof(u16); in virtchnl_vc_validate_vf_msg()
676 if (vfl->num_elements == 0) in virtchnl_vc_validate_vf_msg()
703 if (qv->num_vectors == 0) { in virtchnl_vc_validate_vf_msg()
707 valid_len += ((qv->num_vectors - 1) * in virtchnl_vc_validate_vf_msg()
716 valid_len += vrk->key_len - 1; in virtchnl_vc_validate_vf_msg()
724 valid_len += vrl->lut_entries - 1; in virtchnl_vc_validate_vf_msg()