hw/core: stream: Add an end-of-packet flag
commit51b19950ca62abce05b00eef30d9ebbfb8b15f46
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 6 May 2020 08:25:09 +0000 (6 10:25 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 14 May 2020 11:44:35 +0000 (14 13:44 +0200)
tree8df164e4d950c0e97fbc962087a05a4c20e6bebf
parente3a8926d0e91e6783157a9934bd6f59c7efaa992
hw/core: stream: Add an end-of-packet flag

Some stream clients stream an endless stream of data while
other clients stream data in packets. Stream interfaces
usually have a way to signal the end of a packet or the
last beat of a transfer.

This adds an end-of-packet flag to the push interface.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <20200506082513.18751-6-edgar.iglesias@gmail.com>
hw/core/stream.c
hw/dma/xilinx_axidma.c
hw/net/xilinx_axienet.c
hw/ssi/xilinx_spips.c
include/hw/stream.h