Changes between Version 18 and Version 19 of Component/Vci Master Nic
- Timestamp:
- Jul 26, 2020, 2:13:48 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Master Nic
v18 v19 28 28 containing one single Ethernet packet. 29 29 30 The received packets (RX) and the sent packets (TX) are stored in two memory mapped software queues, called ''chained buffer'', and defined by the '''nic_chbuf_s'' C structure. Each slot in the queue is a ''container''. The number of containers, defining the queue depth, is a software defined parameter. 31 The physical addresses are used by the hardware NIC DMA engines. 32 The virtual addresses are used by the software NIC drivers. 30 The received packets (RX) and the sent packets (TX) are stored in two memory mapped software FIFO queues, called ''chained buffer'', and defined by the '''nic_chbuf_s''' C structure. Each slot in the queue is a ''container''. The number of containers, defining the FIFO depth, is a software defined parameter. 31 33 32 {{{ 34 33 struct nic_chbuf_s … … 40 39 } 41 40 }}} 41 42 The physical addresses are used by the hardware NIC DMA engines. 43 The virtual addresses are used by the software NIC drivers. 42 44 43 45 The '''nic_cont_s''' C structure contains a 2040 bytes data buffer, the actual ethernet packet length (in bytes), and the container state : full (owned by the reader) / empty (owned by the writer). … … 163 165 * '''p_rx_irq[k]''' : As many RX IRQ ports as the number of channels 164 166 * '''p_tx_irq[k]''' : As many TX IRQ ports as the number of channels 165