diff options
author | Marek Vasut <marex@denx.de> | 2022-10-09 17:51:45 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-28 10:25:17 -0500 |
commit | f94d008a9d8c3f5c0ef6a9863ae6590b3cbe48d5 (patch) | |
tree | ac16f81241825dafc73ccc185936a49fee9da13a /drivers/net/dwc_eth_qos.h | |
parent | 3167b4d72226ec4c65bc295c25893230608d2135 (diff) |
net: dwc_eth_qos: Split TX and RX DMA rings
Separate TX and RX DMA rings to make their handling slightly clearer.
This is a preparatory patch for bulk RX descriptor flushing.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.h')
-rw-r--r-- | drivers/net/dwc_eth_qos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h index b35e7742634..e3e43c86d11 100644 --- a/drivers/net/dwc_eth_qos.h +++ b/drivers/net/dwc_eth_qos.h @@ -264,7 +264,8 @@ struct eqos_priv { struct phy_device *phy; ofnode phy_of_node; u32 max_speed; - void *descs; + void *tx_descs; + void *rx_descs; int tx_desc_idx, rx_desc_idx; unsigned int desc_size; void *tx_dma_buf; |