summaryrefslogtreecommitdiff
path: root/ct_server.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-04cpus: break out cpu related functions from xutilsDaniel Borkmann1-0/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+811
value='25'>25space:mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-08-26 12:55:47 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-26 13:21:13 +0200
commitd2dee94b66162d0839dcccee663c90400492fd1b (patch)
treee93dfbf1f6c6c99f2f09c354191c410d19350bf7 /drivers/staging/greybus
parent6ac9166d4e91a6dea03b64b64f128e0f927aa7ec (diff)
greybus: es2: implement flush callback
Implement the flush callback which is called as part of connection tear down to flush host-device queues and stop any ongoing transfers. Note that this should be considered an optimisation of sort since if the CPort is stuck waiting for credit, the CPort is likely still stuck when we try to send the cport_shutdown request over it after the callback returns. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/arpc.h4
-rw-r--r--drivers/staging/greybus/es2.c19
2 files changed, 23 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arpc.h b/drivers/staging/greybus/arpc.h