*
* @param dev
* Compress device
+ * @param dev_info
+ * Compress device information to populate
*/
typedef void (*compressdev_info_get_t)(struct rte_compressdev *dev,
struct rte_compressdev_info *dev_info);
* Function used to configure device.
*
* @param dev Crypto device pointer
- * config Crypto device configurations
+ * @param config Crypto device configurations
*
* @return Returns 0 on success
*/
/**
* Function used to get specific information of a device.
*
- * @param dev Crypto device pointer
+ * @param dev Crypto device pointer
+ * @param dev_info Pointer to infos structure to populate
*/
typedef void (*cryptodev_info_get_t)(struct rte_cryptodev *dev,
struct rte_cryptodev_info *dev_info);
*
* @param dev Crypto device pointer
* @param nb_objs number of sessions objects in mempool
- * @param obj_cache l-core object cache size, see *rte_ring_create*
+ * @param obj_cache_size l-core object cache size, see *rte_ring_create*
* @param socket_id Socket Id to allocate mempool on.
*
* @return
*
* @param dev Crypto device pointer
* @param xform Single or chain of crypto xforms
- * @param priv_sess Pointer to cryptodev's private session structure
+ * @param session Pointer to cryptodev's private session structure
* @param mp Mempool where the private session is allocated
*
* @return
*
* @param dev Crypto device pointer
* @param xform Single or chain of crypto xforms
- * @param priv_sess Pointer to cryptodev's private session structure
+ * @param session Pointer to cryptodev's private session structure
* @param mp Mempool where the private session is allocated
*
* @return
*
* @param dev Crypto device pointer.
* @param qp_id Crypto device queue pair index.
- * @param service_type Type of the service requested.
* @param ctx The raw data-path context data.
* @param sess_type session type.
* @param session_ctx Session context data. If NULL the driver
* @param data Data pointer passed to rte_keepalive_register_relay_callback()
* @param id_core ID of the core for which state is being reported
* @param core_state The current state of the core
- * @param Timestamp of when core was last seen alive
+ * @param last_seen Timestamp of when core was last seen alive
*/
typedef void (*rte_keepalive_relay_callback_t)(
void *data,
* Event device pointer
* @param port
* Event port pointer
- * @param link
+ * @param queues
* Points to an array of *nb_links* event queues to be linked
* to the event port.
* @param priorities
*
* @param dev
* Event device pointer
+ * @param mode
+ * Level (device, port or queue)
+ * @param queue_port_id
+ * Queue or port number depending on mode
* @param ids
* The stat ids to retrieve
* @param values
*
* @param dev
* Event device pointer
+ * @param mode
+ * Level (device, port or queue)
+ * @param queue_port_id
+ * Queue or port number depending on mode
* @param xstats_names
* Array of name values to be filled in
+ * @param ids
+ * The stat ids to retrieve
* @param size
* Number of values in the xstats_names array
* @return
*/
typedef int (*rte_port_out_op_tx_bulk)(
void *port,
- struct rte_mbuf **pkt,
+ struct rte_mbuf **pkts,
uint64_t pkts_mask);
/**
/**
* Input port free
*
- * @param[in] args
+ * @param[in] port
* Input port handle.
*/
typedef void
/**
* Output port free
*
- * @param[in] args
+ * @param[in] port
* Output port handle.
*/
typedef void
* Raw device pointer
* @param config
* Void object containing device specific configuration
+ * @param config_size
+ * Size of the memory allocated for the configuration
*
* @return
* Returns 0 on success
* Raw device queue index
* @param[out] queue_conf
* Raw device queue configuration structure
+ * @param queue_conf_size
+ * Size of the memory allocated for the configuration
*
* @return
* Returns 0 on success, negative errno on failure
* Rawqueue index
* @param queue_conf
* Rawqueue configuration structure
+ * @param queue_conf_size
+ * Size of the memory allocated for the configuration
*
* @return
* Returns 0 on success.
* This function helps in getting queue count supported, independently. It
* can help in cases where iterator needs to be implemented.
*
- * @param
+ * @param dev
* Raw device pointer
* @return
* Number of queues; 0 is assumed to be a valid response.
*
* @param dev
* Raw device pointer
- * @param bufs
+ * @param buffers
* array of buffers
* @param count
* number of buffers passed
*
* @param dev
* Raw device pointer
- * @param bufs
+ * @param buffers
* array of buffers
* @param count
* Max buffers expected to be dequeued
*
* @param dev
* Raw device pointer
- * @param status
+ * @param status_info
* void block containing device specific status information
* @return
* 0 for success,
*
* @param dev
* Raw device pointer
- * @param firmware_file
- * file pointer to firmware area
+ * @param firmware_buf
+ * Pointer to firmware image
* @return
* >0, ~0: for successful load
* <0: for failure
/**
* Free driver private session data.
*
- * @param dev Crypto/eth device pointer
+ * @param device Crypto/eth device pointer
* @param sess Security session structure
*/
typedef int (*security_session_destroy_t)(void *device,
/**
* Update the mbuf with provided metadata.
*
+ * @param device Crypto/eth device pointer
* @param sess Security session structure
* @param mb Packet buffer
- * @param mt Metadata
+ * @param params Metadata
*
* @return
* - Returns 0 if metadata updated successfully.
* - Returns -ve value for errors.
*/
typedef int (*security_set_pkt_metadata_t)(void *device,
- struct rte_security_session *sess, struct rte_mbuf *m,
+ struct rte_security_session *sess, struct rte_mbuf *mb,
void *params);
/**
* progress and it is passed as a parameter to the lookup operation. This allows
* for multiple concurrent lookup operations into the same table.
*
- * @param[in] params
- * Table creation parameters.
- * @param[in] entries
- * Entries to be added to the table at creation time.
- * @param[in] args
- * Any additional table create arguments. It may be NULL.
* @return
* Table memory footprint in bytes, on success, or zero, on error.
*/
*
* @param table
* Handle to lookup table instance
- * @param key
+ * @param keys
* Array containing lookup keys
* @param entries
* Array containing data to be associated with each key. Every item in the
*
* @param table
* Handle to lookup table instance
- * @param key
+ * @param keys
* Array containing lookup keys
* @param n_keys
* Number of keys to delete