![]() |
axiethernet
Vitis Drivers API Documentation
|
#include "xaxiethernet_example.h"#include "xparameters.h"#include "xaxidma.h"#include "xil_cache.h"#include "xil_exception.h"#include "xinterrupt_wrap.h"Macros | |
| #define | XAXIETHERNET_BASEADDRESS XPAR_XAXIETHERNET_0_BASEADDR |
| AXI Ethernet base address. More... | |
| #define | RXBD_CNT 128 |
| Number of RxBDs to use. More... | |
| #define | TXBD_CNT 128 |
| Number of TxBDs to use. More... | |
| #define | BD_ALIGNMENT XAXIDMA_BD_MINIMUM_ALIGNMENT |
| Byte alignment of BDs. More... | |
| #define | PAYLOAD_SIZE 1000 |
| Payload size used in examples. More... | |
| #define | BD_VLAN_TPID_OFFSET 3 |
| AXI4-Stream status Word offset from the start of app user words in BD. More... | |
| #define | BD_VLAN_VID_OFFSET 4 |
| AXI4-Stream status word offset from the start of app user words in BD. More... | |
| #define | TPID_MASK 0xFFFF0000 |
| Mask to extract TPID from the AXI4 STream status word. More... | |
| #define | RXBD_SPACE_BYTES XAxiDma_BdRingMemCalc(BD_ALIGNMENT, RXBD_CNT) |
| RXBD SPACE BYTES. More... | |
| #define | TXBD_SPACE_BYTES XAxiDma_BdRingMemCalc(BD_ALIGNMENT, TXBD_CNT) |
| TXBD SPACE BYTES. More... | |
Functions | |
| int | AxiEthernetExtVlanExample (XAxiEthernet *AxiEthernetInstancePtr, XAxiDma *DmaInstancePtr, UINTPTR AxiEthernetBaseAddress) |
| Demonstrates the usage of the Axi Ethernet by sending. More... | |
| int | AxiEthernetSgDmaIntrExtVlanExample (XAxiEthernet *AxiEthernetInstancePtr, XAxiDma *DmaInstancePtr) |
| This example sends and receives a single packet in loopback mode with. More... | |
| int | main () |
| Main entry point for the AVB example. More... | |