Lines Matching full:queue

140 #define DPNI_CMD_SET_BUFFER_LAYOUT(cmd, layout, queue) \  argument
142 MC_CMD_OP(cmd, 0, 0, 8, enum dpni_queue_type, queue); \
229 #define DPNI_RSP_GET_QUEUE(cmd, queue) \ argument
231 MC_RSP_OP(cmd, 1, 0, 32, uint32_t, (queue)->destination.id); \
232 MC_RSP_OP(cmd, 1, 56, 4, enum dpni_dest, (queue)->destination.type); \
233 MC_RSP_OP(cmd, 1, 62, 1, char, (queue)->destination.stash_ctrl); \
234 MC_RSP_OP(cmd, 1, 63, 1, char, (queue)->destination.hold_active); \
235 MC_RSP_OP(cmd, 2, 0, 64, uint64_t, (queue)->flc); \
236 MC_RSP_OP(cmd, 3, 0, 64, uint64_t, (queue)->user_context); \
237 MC_RSP_OP(cmd, 4, 0, 32, uint32_t, (queue)->fqid); \
238 MC_RSP_OP(cmd, 4, 32, 16, uint16_t, (queue)->qdbin); \
241 #define DPNI_CMD_SET_QUEUE(cmd, type, tc, index, queue) \ argument
246 MC_CMD_OP(cmd, 0, 24, 8, uint8_t, (queue)->options); \
247 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, (queue)->destination.id); \
248 MC_CMD_OP(cmd, 1, 56, 4, enum dpni_dest, (queue)->destination.type); \
249 MC_CMD_OP(cmd, 1, 62, 1, char, (queue)->destination.stash_ctrl); \
250 MC_CMD_OP(cmd, 1, 63, 1, char, (queue)->destination.hold_active); \
251 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, (queue)->destination.id); \
252 MC_CMD_OP(cmd, 2, 0, 64, uint64_t, (queue)->flc); \
253 MC_CMD_OP(cmd, 3, 0, 64, uint64_t, (queue)->user_context); \
346 /* use for common tx-conf queue; see dpni_set_tx_conf_<x>() */
396 * back to a common Tx error queue
400 /* Disable per-sender private Tx confirmation/error queue */
434 * enum dpni_queue_type - Identifies a type of queue targeted by the command
435 * @DPNI_QUEUE_RX: Rx queue
436 * @DPNI_QUEUE_TX: Tx queue
437 * @DPNI_QUEUE_TX_CONFIRM: Tx confirmation queue
438 * @DPNI_QUEUE_RX_ERR: Rx error queue
714 * @DPNI_ERROR_ACTION_SEND_TO_ERROR_QUEUE: Send the frame to the error queue
798 * @type: DPNI queue type
814 * @type: DPNI queue type
973 * @DPNI_DEST_NONE: Unassigned destination; The queue is set in parked mode and
975 * dequeue from the queue based on polling or other user-defined
977 * @DPNI_DEST_DPIO: The queue is set in schedule mode and generates FQDAN
979 * from the queue only after notification is received
980 * @DPNI_DEST_DPCON: The queue is set in schedule mode and does not generate
1056 /* DPNI queue modification options */
1058 /* Select to modify the user's context associated with the queue */
1060 /* Select to modify the queue's destination */
1066 /* Select to modify the queue's order preservation */
1068 /* Select to modify the queue's tail-drop threshold */
1072 * struct dpni_queue_cfg - Structure representing queue configuration
1073 * @options: Flags representing the suggested modifications to the queue;
1078 * @dest_cfg: Queue destination parameters;
1088 * @tail_drop_threshold: set the queue's tail drop threshold in bytes;
1103 * struct dpni_queue_attr - Structure representing queue attributes
1106 * @dest_cfg: Queue destination configuration
1109 * @tail_drop_threshold: queue's tail drop threshold in bytes;
1148 * @DPNI_CONF_AFFINE: For each Tx queue set associated with a sender there is
1149 * an affine Tx Confirmation queue
1151 * confirmation queue
1168 * struct dpni_queue - Queue structure
1172 * @flc: FLC value for traffic dequeued from this queue.
1174 * from this queue. Not relevant for Tx queues.
1183 * 0 - No destination, queue can be manually queried, but won't
1186 * the queue a FQDAN (FQ data available notification) will be
1188 * 2 - The destination is a DPCON. The queue is associated with a
1208 * dpni_set_queue() - Set queue parameters
1212 * @type: Type of queue
1214 * @index: Selects the specific queue out of the set allocated for the same
1216 * @queue: Queue structure
1226 const struct dpni_queue *queue);
1229 * dpni_get_queue() - Get queue parameters
1233 * @type: Type of queue
1235 * @index: Selects the specific queue out of the set allocated for the same
1237 * @queue: Queue structure
1247 struct dpni_queue *queue);