commit | 8d956610f5e79bcc53a9f296ebecd53ee7c449ca | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Nov 11 18:49:56 2024 +0100 |
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Jan 13 17:16:03 2025 +0100 |
tree | fc39ac8c55fde2dcb06f2e4df1a6986acecd28ea | |
parent | fa3ca9aa1ceb9b762f4c7a51245226f247e35560 [diff] |
hw/net/xilinx_ethlite: Introduce txbuf_ptr() helper For a particular physical address within the EthLite MMIO range, addr_to_port_index() returns which port is accessed. txbuf_ptr() points to the beginning of a (RAM) TX buffer within the device state. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Message-Id: <20241112181044.92193-10-philmd@linaro.org>