@@ -17,7 +17,7 @@ extern "C" {
*
* This library allows reading application defined parameters from standard
* format configuration file.
-***/
+ */
#ifndef CFG_NAME_LEN
#define CFG_NAME_LEN 64
@@ -246,7 +246,7 @@ struct rte_crypto_cipher_xform {
* (key1 || key2).
* - Each key can be either 128 bits (16 bytes) or 256 bits (32 bytes).
* - Both keys must have the same size.
- **/
+ */
struct {
uint16_t offset;
/**< Starting point for Initialisation Vector or Counter,
@@ -1407,7 +1407,7 @@ typedef int (*cryptodev_sym_raw_operation_done_t)(void *qp, uint8_t *drv_ctx,
* @param user_data Dequeued user data.
* @return
* - The number of operations to be dequeued.
- **/
+ */
typedef uint32_t (*rte_cryptodev_raw_get_dequeue_count_t)(void *user_data);
/**
@@ -1417,7 +1417,7 @@ typedef uint32_t (*rte_cryptodev_raw_get_dequeue_count_t)(void *user_data);
* @param user_data Dequeued user data.
* @param index Index number of the processed descriptor.
* @param is_op_success Operation status provided by the driver.
- **/
+ */
typedef void (*rte_cryptodev_raw_post_dequeue_t)(void *user_data,
uint32_t index, uint8_t is_op_success);
@@ -32,7 +32,7 @@ extern "C" {
* serialization of the bit set/clear and bitmap scan operations needs to be
* enforced by the caller, while the bit get operation does not require locking
* the bitmap.
- ***/
+ */
#include <string.h>
#include <rte_compat.h>
@@ -5,7 +5,7 @@
/**
* @file rte_keepalive.h
* DPDK RTE LCore Keepalive Monitor.
- **/
+ */
#ifndef _KEEPALIVE_H_
#define _KEEPALIVE_H_
@@ -99,14 +99,14 @@ struct vfio_group {
/* DMA mapping function prototype.
* Takes VFIO container fd as a parameter.
* Returns 0 on success, -1 on error.
- * */
+ */
typedef int (*vfio_dma_func_t)(int);
/* Custom memory region DMA mapping function prototype.
* Takes VFIO container fd, virtual address, physical address, length and
* operation type (0 to unmap 1 for map) as a parameters.
* Returns 0 on success, -1 on error.
- **/
+ */
typedef int (*vfio_dma_user_func_t)(int fd, uint64_t vaddr, uint64_t iova,
uint64_t len, int do_map);
@@ -4315,7 +4315,7 @@ enum rte_flow_conv_op {
* @code (const void *)enum rte_flow_item_type @endcode
* - @p dst type:
* @code char * @endcode
- **/
+ */
RTE_FLOW_CONV_OP_ITEM_NAME,
/**
@@ -4329,7 +4329,7 @@ enum rte_flow_conv_op {
* @code (const void *)enum rte_flow_action_type @endcode
* - @p dst type:
* @code char * @endcode
- **/
+ */
RTE_FLOW_CONV_OP_ACTION_NAME,
/**
@@ -18,14 +18,13 @@ extern "C" {
* 1. Single Rate Three Color Marker (srTCM): defined by IETF RFC 2697
* 2. Two Rate Three Color Marker (trTCM): defined by IETF RFC 2698
* 3. Two Rate Three Color Marker (trTCM): defined by IETF RFC 4115
- ***/
+ */
#include <stdint.h>
-
/*
* Application Programmer's Interface (API)
- ***/
+ */
/**
* Color
@@ -326,7 +325,7 @@ rte_meter_trtcm_rfc4115_color_aware_check(
/*
* Inline implementation of run-time methods
- ***/
+ */
struct rte_meter_srtcm_profile {
uint64_t cbs;
@@ -51,7 +51,7 @@ extern "C" {
* <B>Thread safety.</B> It is possible to have multiple pipelines running on
* the same CPU core, but it is not allowed (for thread safety reasons) to have
* multiple CPU cores running the same pipeline instance.
- ***/
+ */
#include <stdint.h>
@@ -1956,7 +1956,7 @@ pkt_work_sym_crypto(struct rte_mbuf *mbuf, struct sym_crypto_data *data,
/** For encryption, update the pkt iv field, otherwise
* update the iv_aad_field
- **/
+ */
if (data->direction == RTE_CRYPTO_CIPHER_OP_ENCRYPT)
rte_memcpy(pkt_iv, data->iv_aad_data,
data->cipher_auth.cipher_iv_update_len);
@@ -15,7 +15,7 @@ extern "C" {
*
* This tool is part of the DPDK Packet Framework tool suite and provides
* a standard interface to implement different types of packet ports.
- ***/
+ */
#include <stdint.h>
#include <rte_mbuf.h>
@@ -15,7 +15,7 @@ extern "C" {
*
* ethdev_reader: input port built on top of pre-initialized NIC RX queue
* ethdev_writer: output port built on top of pre-initialized NIC TX queue
- ***/
+ */
#include <stdint.h>
@@ -17,7 +17,7 @@ extern "C" {
* interface
* eventdev_writer: output port built on top of pre-initialized eventdev
* interface
-**/
+ */
#include <stdint.h>
#include <rte_eventdev.h>
@@ -15,7 +15,7 @@ extern "C" {
*
* fd_reader: input port built on top of valid non-blocking file descriptor
* fd_writer: output port built on top of valid non-blocking file descriptor
- ***/
+ */
#include <stdint.h>
@@ -24,7 +24,7 @@ extern "C" {
* packets read from the ring are all non-jumbo frames. The complete IP
* datagrams written to the ring are not changed. The jumbo frames are
* fragmented into several IP packets with length less or equal to MTU.
- ***/
+ */
#include <stdint.h>
@@ -16,11 +16,10 @@ extern "C" {
*
* kni_reader: input port built on top of pre-initialized KNI interface
* kni_writer: output port built on top of pre-initialized KNI interface
- ***/
+ */
#include <stdint.h>
-
#include "rte_port.h"
/** kni_reader port parameters */
@@ -25,11 +25,10 @@ extern "C" {
* The complete IP datagrams written to the ring are not changed. The IP
* fragments written to the ring are first reassembled and into complete IP
* datagrams or dropped on error or IP reassembly time-out.
- ***/
+ */
#include <stdint.h>
-
#include "rte_port.h"
/** ring_writer_ipv4_ras port parameters */
@@ -21,11 +21,10 @@ extern "C" {
* input port built on top of pre-initialized multi consumers ring
* ring_multi_writer:
* output port built on top of pre-initialized multi producers ring
- ***/
+ */
#include <stdint.h>
-
#include "rte_port.h"
/** ring_reader port parameters */
@@ -15,7 +15,7 @@ extern "C" {
*
* sched_reader: input port built on top of pre-initialized rte_sched_port
* sched_writer: output port built on top of pre-initialized rte_sched_port
- ***/
+ */
#include <stdint.h>
@@ -15,7 +15,7 @@ extern "C" {
*
* source: input port that can be used to generate packets
* sink: output port that drops all packets written to it
- ***/
+ */
#include "rte_port.h"
@@ -15,7 +15,7 @@ extern "C" {
*
* crypto_reader: input port built on top of pre-initialized crypto interface
* crypto_writer: output port built on top of pre-initialized crypto interface
- **/
+ */
#include <stdint.h>
@@ -12,10 +12,10 @@ extern "C" {
/**
* @file
* RTE SWX FD Input and Output Ports
- ***/
+ */
+
#include <stdint.h>
-
#include "rte_swx_port.h"
/** fd_reader port parameters */
@@ -12,11 +12,10 @@ extern "C" {
/**
* @file
* RTE SWX Ring Input and Output Ports
- ***/
+ */
#include <stdint.h>
-
#include "rte_swx_port.h"
/** Ring input port (reader) creation parameters. */
@@ -16,7 +16,7 @@ extern "C" {
* Given a rational number alpha with 0 < alpha < 1 and a precision d, the goal
* is to find positive integers p, q such that alpha - d < p/q < alpha + d, and
* q is minimal.
- ***/
+ */
#include <stdint.h>
@@ -12,7 +12,7 @@ extern "C" {
/**
* @file
* Proportional Integral controller Enhanced (PIE)
- **/
+ */
#include <stdint.h>
@@ -12,7 +12,7 @@ extern "C" {
/**
* @file
* RTE Random Early Detection (RED)
- ***/
+ */
#include <stdint.h>
#include <limits.h>
@@ -1226,7 +1226,7 @@ rte_sched_subport_config(struct rte_sched_port *port,
/** Memory is allocated only on first invocation of the api for a
* given subport. Subsequent invocation on same subport will just
* update subport bandwidth parameter.
- **/
+ */
if (port->subports[subport_id] == NULL) {
status = rte_sched_subport_check_params(params,
@@ -309,7 +309,7 @@ struct rte_sched_port_params {
/*
* Configuration
- ***/
+ */
/**
* Hierarchical scheduler port configuration
@@ -432,9 +432,10 @@ rte_sched_pipe_config(struct rte_sched_port *port,
uint32_t
rte_sched_port_get_memory_footprint(struct rte_sched_port_params *port_params,
struct rte_sched_subport_params **subport_params);
+
/*
* Statistics
- ***/
+ */
/**
* Hierarchical scheduler subport statistics read
@@ -22,7 +22,7 @@ extern "C" {
* use-case, the lookup key is an n-tuple of packet fields that uniquely
* identifies a traffic flow, while data represents actions and action
* meta-data associated with the same traffic flow.
- ***/
+ */
#include <stdint.h>
#include <rte_port.h>
@@ -17,7 +17,7 @@ extern "C" {
* associate data to lookup keys.
*
* Use-cases: Firewall rule database, etc.
- ***/
+ */
#include <stdint.h>
@@ -14,7 +14,7 @@ extern "C" {
* RTE Table Array
*
* Simple array indexing. Lookup key is the array entry index.
- ***/
+ */
#include <stdint.h>
@@ -46,7 +46,8 @@ extern "C" {
* 2. Key size:
* a. Configurable key size
* b. Single key size (8-byte, 16-byte or 32-byte key size)
- ***/
+ */
+
#include <stdint.h>
#include "rte_table.h"
@@ -12,7 +12,8 @@ extern "C" {
/**
* @file
* RTE Table Hash Cuckoo
- ***/
+ */
+
#include <stdint.h>
#include <rte_hash.h>
@@ -514,8 +514,7 @@ static int rte_table_hash_ext_lookup_unoptimized(
return 0;
}
-/***
- *
+/*
* mask = match bitmask
* match = at least one match
* match_many = more than one match
@@ -552,7 +551,7 @@ static int rte_table_hash_ext_lookup_unoptimized(
* match = 0xFFFELLU
* match_many = 0xFEE8LLU
* match_pos = 0x12131210LLU
- ***/
+ */
#define LUT_MATCH 0xFFFELLU
#define LUT_MATCH_MANY 0xFEE8LLU
@@ -829,7 +828,7 @@ static int rte_table_hash_ext_lookup_unoptimized(
pkts_mask_out |= match_keys; \
}
-/***
+/*
* The lookup function implements a 4-stage pipeline, with each stage processing
* two different packets. The purpose of pipelined implementation is to hide the
* latency of prefetching the data structures and loosen the data dependency
@@ -843,7 +842,7 @@ static int rte_table_hash_ext_lookup_unoptimized(
*
* The naming convention is:
* pXY = packet Y of stage X, X = 0 .. 3, Y = 0 .. 1
-***/
+*/
static int rte_table_hash_ext_lookup(
void *table,
struct rte_mbuf **pkts,
@@ -451,8 +451,7 @@ static int rte_table_hash_lru_lookup_unoptimized(
return 0;
}
-/***
-*
+/*
* mask = match bitmask
* match = at least one match
* match_many = more than one match
@@ -489,7 +488,7 @@ static int rte_table_hash_lru_lookup_unoptimized(
* match = 0xFFFELLU
* match_many = 0xFEE8LLU
* match_pos = 0x12131210LLU
-***/
+*/
#define LUT_MATCH 0xFFFELLU
#define LUT_MATCH_MANY 0xFEE8LLU
@@ -781,7 +780,7 @@ static int rte_table_hash_lru_lookup_unoptimized(
lru_update(bkt31, match_pos31); \
}
-/***
+/*
* The lookup function implements a 4-stage pipeline, with each stage processing
* two different packets. The purpose of pipelined implementation is to hide the
* latency of prefetching the data structures and loosen the data dependency
@@ -795,7 +794,7 @@ static int rte_table_hash_lru_lookup_unoptimized(
*
* The naming convention is:
* pXY = packet Y of stage X, X = 0 .. 3, Y = 0 .. 1
-***/
+*/
static int rte_table_hash_lru_lookup(
void *table,
struct rte_mbuf **pkts,
@@ -39,7 +39,7 @@ extern "C" {
* has to carefully manage the format of the LPM table entry (i.e. the next
* hop information) so that any next hop data that changes value during
* run-time (e.g. counters) is placed outside of this area.
- ***/
+ */
#include <stdint.h>
@@ -39,7 +39,7 @@ extern "C" {
* has to carefully manage the format of the LPM table entry (i.e. the next
* hop information) so that any next hop data that changes value during
* run-time (e.g. counters) is placed outside of this area.
- ***/
+ */
#include <stdint.h>
@@ -14,8 +14,7 @@ extern "C" {
* RTE Table Stub
*
* The stub table lookup operation produces lookup miss for all input packets.
- ***/
-
+ */
#include "rte_table.h"
@@ -30,7 +30,7 @@ extern "C" {
* The telemetry library provides a method to retrieve statistics from
* DPDK by sending a request message over a socket. DPDK will send
* a JSON encoded response containing telemetry data.
- ***/
+ */
/** opaque structure used internally for managing data from callbacks */
struct rte_tel_data;
@@ -14,7 +14,7 @@
*
* @file
* RTE Telemetry Legacy and internal definitions
- ***/
+ */
/**
* @internal
@@ -18,7 +18,7 @@
*
* This file contains small inline functions to make it easier for applications
* to build up valid JSON responses to telemetry requests.
- ***/
+ */
/**
* @internal