X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__app__frag_8c.html;fp=docs%2FAPI%2Fxran__app__frag_8c.html;h=0000000000000000000000000000000000000000;hb=bdbd414e8038630c154ee3c6b8bc9b3aeb954be6;hp=04321b3b2e690f2d313f387b0ed60f6aee677484;hpb=e9403c457453dba780e64af7de9462fad7217aa3;p=o-du%2Fphy.git diff --git a/docs/API/xran__app__frag_8c.html b/docs/API/xran__app__frag_8c.html deleted file mode 100644 index 04321b3..0000000 --- a/docs/API/xran__app__frag_8c.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - -o-du/phy: xran_app_frag.c File Reference - - - - - - - - - -
-
- - - - - - -
-
o-du/phy -
-
Intel O-RAN/X-RAN Generated Doxygen Documentation
-
-
- - - - - - - - -
-
- - -
- -
- - -
-
-
-Macros | -Functions
-
-
xran_app_frag.c File Reference
-
-
- -

xRAN application frgamentation for U-plane packets -More...

-
#include <stdio.h>
-#include <stddef.h>
-#include <errno.h>
-#include <rte_mbuf.h>
-#include <rte_memcpy.h>
-#include <rte_mempool.h>
-#include <rte_debug.h>
-#include "xran_app_frag.h"
-#include "xran_cp_api.h"
-#include "xran_pkt_up.h"
-#include "xran_printf.h"
-#include "xran_common.h"
-
-Include dependency graph for xran_app_frag.c:
-
-
- - - - - - - - - - - -
-
-

Go to the source code of this file.

- - - - -

-Macros

#define XRAN_PAYLOAD_RB_ALIGN   (N_SC_PER_PRB*(IQ_BITS/8)*2)
 
- - - -

-Functions

int32_t xran_app_fragment_packet (struct rte_mbuf *pkt_in, struct rte_mbuf **pkts_out, uint16_t nb_pkts_out, uint16_t mtu_size, struct rte_mempool *pool_direct, struct rte_mempool *pool_indirect, struct xran_section_info *sectinfo, uint8_t *seqid)
 
-

Detailed Description

-

xRAN application frgamentation for U-plane packets

-
Author
Intel Corporation
- -

Definition in file xran_app_frag.c.

-

Macro Definition Documentation

- -

◆ XRAN_PAYLOAD_RB_ALIGN

- -
-
- - - - -
#define XRAN_PAYLOAD_RB_ALIGN   (N_SC_PER_PRB*(IQ_BITS/8)*2)
-
-

at least 12*4=48 bytes per one RB

- -

Definition at line 43 of file xran_app_frag.c.

- -
-
-

Function Documentation

- -

◆ xran_app_fragment_packet()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int32_t xran_app_fragment_packet (struct rte_mbuf * pkt_in,
struct rte_mbuf ** pkts_out,
uint16_t nb_pkts_out,
uint16_t mtu_size,
struct rte_mempool * pool_direct,
struct rte_mempool * pool_indirect,
struct xran_section_infosectinfo,
uint8_t * seqid 
)
-
-

XRAN fragmentation.

-

This function implements the application fragmentation of XRAN packets.

-
Parameters
- - - - - - -
pkt_inThe input packet.
pkts_outArray storing the output fragments.
mtu_sizeSize in bytes of the Maximum Transfer Unit (MTU) for the outgoing XRAN datagrams. This value includes the size of the XRAN headers.
pool_directMBUF pool used for allocating direct buffers for the output fragments.
pool_indirectMBUF pool used for allocating indirect buffers for the output fragments.
-
-
-
Returns
Upon successful completion - number of output fragments placed in the pkts_out array. Otherwise - (-1) * <errno>.
- -

Definition at line 104 of file xran_app_frag.c.

- -
-
-
- - - -