summaryrefslogtreecommitdiffstats
path: root/scripts/xz_wrap.sh
diff options
context:
space:
mode:
authorPaul Durrant <pdurrant@amazon.com>2019-12-11 15:29:55 +0000
committerJuergen Gross <jgross@suse.com>2019-12-20 13:44:42 +0100
commit1ee54195a305fae3955642af8528bdf67496d353 (patch)
treeadc856cbc0bd8f1778f74658178d38f4d6242595 /scripts/xz_wrap.sh
parent672b7763cb2c723fd6f92a3879cc60d2fb11e56a (diff)
downloadlinux-1ee54195a305fae3955642af8528bdf67496d353.tar.bz2
xen/interface: re-define FRONT/BACK_RING_ATTACH()
Currently these macros are defined to re-initialize a front/back ring (respectively) to values read from the shared ring in such a way that any requests/responses that are added to the shared ring whilst the front/back is detached will be skipped over. This, in general, is not a desirable semantic since most frontend implementations will eventually block waiting for a response which would either never appear or never be processed. Since the macros are currently unused, take this opportunity to re-define them to re-initialize a front/back ring using specified values. This also allows FRONT/BACK_RING_INIT() to be re-defined in terms of FRONT/BACK_RING_ATTACH() using a specified value of 0. NOTE: BACK_RING_ATTACH() will be used directly in a subsequent patch. Signed-off-by: Paul Durrant <pdurrant@amazon.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'scripts/xz_wrap.sh')
0 files changed, 0 insertions, 0 deletions