summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorArseny Krasnov <arseny.krasnov@kaspersky.com>2021-09-03 14:32:35 +0200
committerMichael S. Tsirkin <mst@redhat.com>2021-09-05 22:23:09 +0200
commit1af7e55511fe194a07f3fa4e77b5b9d10bdd9208 (patch)
treec548575984c6d18f8645791daf335f1044dcf8ba /drivers/pwm
parentvirtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. (diff)
downloadlinux-1af7e55511fe194a07f3fa4e77b5b9d10bdd9208.tar.xz
linux-1af7e55511fe194a07f3fa4e77b5b9d10bdd9208.zip
vhost/vsock: support MSG_EOR bit processing
'MSG_EOR' handling has similar logic as 'MSG_EOM' - if bit present in packet's header, reset it to 0. Then restore it back if packet processing wasn't completed. Instead of bool variable for each flag, bit mask variable was added: it has logical OR of 'MSG_EOR' and 'MSG_EOM' if needed, to restore flags, this variable is ORed with flags field of packet. Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com> Link: https://lore.kernel.org/r/20210903123238.3273526-1-arseny.krasnov@kaspersky.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions