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=7ebf18a7f47689291d087900b47af9606ffcd1a4;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/ethernet_8c.html b/docs/API/ethernet_8c.html new file mode 100644 index 0000000..7ebf18a --- /dev/null +++ b/docs/API/ethernet_8c.html @@ -0,0 +1,531 @@ + + +
+ + + + +
+ o-du/phy
+
+ Intel O-RAN/X-RAN Generated Doxygen Documentation
+ |
+
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"
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 |
This file has all definitions for the Ethernet Data Interface Layer.
+ + +Definition in file ethernet.c.
+#define RINGMASK (RINGSIZE - 1) | +
Definition at line 95 of file ethernet.c.
+ +#define RINGSIZE sizeof(io_ring.buf) | +
Definition at line 94 of file ethernet.c.
+ +typedef uint16_t ring_idx | +
Definition at line 86 of file ethernet.c.
+ +int __xran_delayed_msg | +( | +const char * | +fmt, | +
+ | + | + | ... | +
+ | ) | ++ |
Definition at line 97 of file ethernet.c.
+ +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.
+ +void xran_init_mbuf_pool | +( | +void | +) | ++ |
Definition at line 185 of file ethernet.c.
+ +void xran_init_port | +( | +int | +p_id, | +
+ | + | struct ether_addr * | +p_lls_cu_addr | +
+ | ) | ++ |
Definition at line 229 of file ethernet.c.
+ +struct rte_mempool* _eth_mbuf_pool = NULL | +
Definition at line 70 of file ethernet.c.
+ +struct rte_mempool* _eth_mbuf_pool_big = NULL | +
Definition at line 74 of file ethernet.c.
+ +struct rte_mempool* _eth_mbuf_pool_inderect = NULL | +
Definition at line 71 of file ethernet.c.
+ +struct rte_mempool* _eth_mbuf_pool_rx = NULL | +
Definition at line 72 of file ethernet.c.
+ +struct rte_mempool* _eth_mbuf_pool_small = NULL | +
Definition at line 73 of file ethernet.c.
+ +char buf[1024] | +
Definition at line 91 of file ethernet.c.
+ +ring_idx head | +
Definition at line 88 of file ethernet.c.
+ +ring_idx read_head | +
Definition at line 89 of file ethernet.c.
+ +struct rte_mempool* socket_direct_pool = NULL | +
Definition at line 76 of file ethernet.c.
+ +struct rte_mempool* socket_indirect_pool = NULL | +
Definition at line 77 of file ethernet.c.
+ +ring_idx tail | +
Definition at line 90 of file ethernet.c.
+ +