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

This file has all definitions for the Ethernet Data Interface Layer. -More...

-
#include <stdio.h>
-#include <string.h>
-#include <stdint.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/queue.h>
-#include <err.h>
-#include <assert.h>
-#include <linux/limits.h>
-#include <sys/types.h>
-#include <stdlib.h>
-#include <math.h>
-#include <rte_config.h>
-#include <rte_common.h>
-#include <rte_log.h>
-#include <rte_memory.h>
-#include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_launch.h>
-#include <rte_atomic.h>
-#include <rte_cycles.h>
-#include <rte_prefetch.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
-#include <rte_interrupts.h>
-#include <rte_pci.h>
-#include <rte_debug.h>
-#include <rte_ether.h>
-#include <rte_ethdev.h>
-#include <rte_ring.h>
-#include <rte_mempool.h>
-#include <rte_mbuf.h>
-#include <rte_errno.h>
-#include "ethernet.h"
-#include "ethdi.h"
-
-Include dependency graph for ethernet.c:
-
-
- - - - - -
-
-

Go to the source code of this file.

- - - - - - -

-Macros

#define RINGSIZE   sizeof(io_ring.buf)
 
#define RINGMASK   (RINGSIZE - 1)
 
- - - -

-Typedefs

typedef uint16_t ring_idx
 
- - - - - - - - - -

-Functions

int __xran_delayed_msg (const char *fmt,...)
 
void xran_init_mbuf_pool (void)
 
void xran_init_port (int p_id, struct ether_addr *p_lls_cu_addr)
 
void xran_add_eth_hdr_vlan (struct ether_addr *dst, uint16_t ethertype, struct rte_mbuf *mb, uint16_t vlan_tci)
 
- - - - - - - - - - - - - - - -

-Variables

struct rte_mempool * _eth_mbuf_pool = NULL
 
struct rte_mempool * _eth_mbuf_pool_inderect = NULL
 
struct rte_mempool * _eth_mbuf_pool_rx = NULL
 
struct rte_mempool * _eth_mbuf_pool_small = NULL
 
struct rte_mempool * _eth_mbuf_pool_big = NULL
 
struct rte_mempool * socket_direct_pool = NULL
 
struct rte_mempool * socket_indirect_pool = NULL
 
-

Detailed Description

-

This file has all definitions for the Ethernet Data Interface Layer.

-
Author
Intel Corporation
- -

Definition in file ethernet.c.

-

Macro Definition Documentation

- -

◆ RINGMASK

- -
-
- - - - -
#define RINGMASK   (RINGSIZE - 1)
-
- -

Definition at line 95 of file ethernet.c.

- -
-
- -

◆ RINGSIZE

- -
-
- - - - -
#define RINGSIZE   sizeof(io_ring.buf)
-
- -

Definition at line 94 of file ethernet.c.

- -
-
-

Typedef Documentation

- -

◆ ring_idx

- -
-
- - - - -
typedef uint16_t ring_idx
-
- -

Definition at line 86 of file ethernet.c.

- -
-
-

Function Documentation

- -

◆ __xran_delayed_msg()

- -
-
- - - - - - - - - - - - - - - - - - -
int __xran_delayed_msg (const char * fmt,
 ... 
)
-
- -

Definition at line 97 of file ethernet.c.

- -
-
- -

◆ xran_add_eth_hdr_vlan()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void xran_add_eth_hdr_vlan (struct ether_addr * dst,
uint16_t ethertype,
struct rte_mbuf * mb,
uint16_t vlan_tci 
)
-
- -

Definition at line 434 of file ethernet.c.

- -
-
- -

◆ xran_init_mbuf_pool()

- -
-
- - - - - - - - -
void xran_init_mbuf_pool (void )
-
- -

Definition at line 185 of file ethernet.c.

- -
-
- -

◆ xran_init_port()

- -
-
- - - - - - - - - - - - - - - - - - -
void xran_init_port (int p_id,
struct ether_addr * p_lls_cu_addr 
)
-
- -

Definition at line 229 of file ethernet.c.

- -
-
-

Variable Documentation

- -

◆ _eth_mbuf_pool

- -
-
- - - - -
struct rte_mempool* _eth_mbuf_pool = NULL
-
- -

Definition at line 70 of file ethernet.c.

- -
-
- -

◆ _eth_mbuf_pool_big

- -
-
- - - - -
struct rte_mempool* _eth_mbuf_pool_big = NULL
-
- -

Definition at line 74 of file ethernet.c.

- -
-
- -

◆ _eth_mbuf_pool_inderect

- -
-
- - - - -
struct rte_mempool* _eth_mbuf_pool_inderect = NULL
-
- -

Definition at line 71 of file ethernet.c.

- -
-
- -

◆ _eth_mbuf_pool_rx

- -
-
- - - - -
struct rte_mempool* _eth_mbuf_pool_rx = NULL
-
- -

Definition at line 72 of file ethernet.c.

- -
-
- -

◆ _eth_mbuf_pool_small

- -
-
- - - - -
struct rte_mempool* _eth_mbuf_pool_small = NULL
-
- -

Definition at line 73 of file ethernet.c.

- -
-
- -

◆ buf

- -
-
- - - - -
char buf[1024]
-
- -

Definition at line 91 of file ethernet.c.

- -
-
- -

◆ head

- -
-
- - - - -
ring_idx head
-
- -

Definition at line 88 of file ethernet.c.

- -
-
- -

◆ read_head

- -
-
- - - - -
ring_idx read_head
-
- -

Definition at line 89 of file ethernet.c.

- -
-
- -

◆ socket_direct_pool

- -
-
- - - - -
struct rte_mempool* socket_direct_pool = NULL
-
- -

Definition at line 76 of file ethernet.c.

- -
-
- -

◆ socket_indirect_pool

- -
-
- - - - -
struct rte_mempool* socket_indirect_pool = NULL
-
- -

Definition at line 77 of file ethernet.c.

- -
-
- -

◆ tail

- -
-
- - - - -
ring_idx tail
-
- -

Definition at line 90 of file ethernet.c.

- -
-
-
- - - -