Comments

From: Erwan Yvin <erwan.yvin@stericsson.com>
Add the CAIF Virtio shared memory driver for talking
to a modem.
This CAIF Link layer communicates to the modem over
shared memory. It is implemented as a virtio_driver.
The underlying virtio device is managed by the remoteproc
framework. The Virtio queue is used for transmitting data
to the modem, and the new vringh is used for receiving data.
Genalloc is used for managing the shared memory used for TX
data. The default dma-alloc-coherent allocator can only
allocate whole pages, and this wastes too much shared memory.
Flow control is implemented by stopping the TX-queues if the
virtio queues go full or we run out of memory. Queued are
reopened when queues are below the watermark.
NAPI is used in RX path, and a dedicated tasklet is used
for releasing TX buffers.
Signed-off-by: Erwan Yvin <erwan.yvin@stericsson.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
---
caif-virtio is going to replace caif-shm.
This patch should be merged in rusty's tree. (vringh)
because there is a dependency with vringh wrapper.
Best Regards
drivers/net/caif/Kconfig | 13 +
drivers/net/caif/Makefile | 3 +
drivers/net/caif/caif_virtio.c | 786 +++++++++++++++++++++++++++++++++++++++
include/linux/virtio_caif.h | 24 ++
include/uapi/linux/virtio_ids.h | 1 +
5 files changed, 827 insertions(+)
create mode 100644 drivers/net/caif/caif_virtio.c
create mode 100644 include/linux/virtio_caif.h

From: Erwan Yvin <erwan.yvin@stericsson.com>
Date: Fri, 15 Mar 2013 10:42:17 +0100
> caif-virtio is going to replace caif-shm.> This patch should be merged in rusty's tree. (vringh)> because there is a dependency with vringh wrapper.
Feel free to add my:
Acked-by: David S. Miller <davem@davemloft.net>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

David Miller <davem@davemloft.net> writes:
> From: Erwan Yvin <erwan.yvin@stericsson.com>> Date: Fri, 15 Mar 2013 10:42:17 +0100>>> caif-virtio is going to replace caif-shm.>> This patch should be merged in rusty's tree. (vringh)>> because there is a dependency with vringh wrapper.>> Feel free to add my:>> Acked-by: David S. Miller <davem@davemloft.net>
Thanks, applied to my vringh branch. I'll repost it all, to give you
and Sjur a chance to make sure I've integrated correctly.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html