Lines Matching +full:rx +full:- +full:queues +full:- +full:to +full:- +full:use
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * Copyright 2013-2016 Freescale Semiconductor Inc.
4 * Copyright 2017-2018 NXP
21 * Maximum number of Tx/Rx queues per DPSECI object
26 * All queues considered; see dpseci_set_rx_queue()
28 #define DPSECI_ALL_QUEUES (u8)(-1)
41 * struct dpseci_cfg - Structure representing DPSECI configuration
44 * @num_tx_queues: num of queues towards the SEC
45 * @num_rx_queues: num of queues back from the SEC
49 * valid priorities are configured with values 1-8;
68 * struct dpseci_attr - Structure representing DPSECI attributes
70 * @num_tx_queues: number of queues towards the SEC
71 * @num_rx_queues: number of queues back from the SEC
86 * enum dpseci_dest - DPSECI destination types
88 * and does not generate FQDAN notifications; user is expected to dequeue
89 * from the queue based on polling or other user-defined method
91 * notifications to the specified DPIO; user is expected to dequeue from
94 * FQDAN notifications, but is connected to the specified DPCON object;
95 * user is expected to dequeue from the DPCON channel
104 * struct dpseci_dest_cfg - Structure representing DPSECI destination parameters
108 * are 0-1 or 0-7, depending on the number of priorities in that channel;
122 * Select to modify the user's context associated with the queue
127 * Select to modify the queue's destination
132 * Select to modify the queue's order preservation
137 * struct dpseci_rx_queue_cfg - DPSECI RX queue configuration
138 * @options: Flags representing the suggested modifications to the queue;
139 * Use any combination of 'DPSECI_QUEUE_OPT_<X>' flags
140 * @order_preservation_en: order preservation configuration for the rx queue
159 * struct dpseci_rx_queue_attr - Structure representing attributes of Rx queues
165 * @fqid: Virtual FQID value to be used for dequeue operations
178 * struct dpseci_tx_queue_attr - Structure representing attributes of Tx queues
179 * @fqid: Virtual FQID to be used for sending frames to SEC hardware
191 * struct dpseci_sec_attr - Structure representing attributes of the SEC
203 * @snow_f8_acc_num: The number of copies of the SNOW-f8 module that are
205 * @snow_f9_acc_num: The number of copies of the SNOW-f9 module that are
257 * enum dpseci_congestion_unit - DPSECI congestion units
267 * CSCN message is written to message_iova once entering a
273 * CSCN message is written to message_iova once exiting a
279 * CSCN write will attempt to allocate into a cache (coherent write);
285 * if 'dpseci_dest_cfg.dest_type != DPSECI_DEST_NONE' CSCN message is sent to
292 * if 'dpseci_dest_cfg.dest_type != DPSECI_DEST_NONE' CSCN message is sent to
300 * to the sw-portal's DQRR, the DQRI interrupt is asserted immediately
306 * struct dpseci_congestion_notification_cfg - congestion notification
310 * set it to '0' to disable it
313 * @message_iova: I/O virtual address (must be in DMA-able memory),
315 * @dest_cfg: CSCN can be send to either DPIO or DPCON WQ channel
316 * @notification_mode: Mask of available options; use 'DPSECI_CGN_MODE_<X>'