hw/net: GMAC Tx Implementation
commit1c51c571998a669712235cb35093ae817e19b3ff
authorNabih Estefan Diaz <nabihestefan@google.com>
Wed, 31 Jan 2024 00:27:58 +0000 (31 00:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:59 +0000 (2 13:51 +0000)
tree70ab591a04dc611b4b9b81783d8b85372df58bdb
parenta4dd7a1dad1d3d0ca270a403212ea93c801927db
hw/net: GMAC Tx Implementation

- Implementation of Transmit function for packets
- Implementation for reading and writing from and to descriptors in
  memory for Tx

Added relevant trace-events

NOTE: This function implements the steps detailed in the datasheet for
transmitting messages from the GMAC.

Change-Id: Icf14f9fcc6cc7808a41acd872bca67c9832087e6
Signed-off-by: Nabih Estefan <nabihestefan@google.com>
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Message-id: 20240131002800.989285-6-nabihestefan@google.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/npcm_gmac.c
hw/net/trace-events