]> git.baikalelectronics.ru Git - kernel.git/commit
rpmsg: core: add API to get MTU
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Fri, 15 Oct 2021 09:47:00 +0000 (11:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Oct 2021 10:35:35 +0000 (12:35 +0200)
commit864314b2f7cdf8f79d89374a4c8cfe72964b0e66
treedb22091c5a95e1cc5dd73752bb9a7786ca848e47
parent81ef3aa7e03ce9bdf8def681b2a39b6463a50fb8
rpmsg: core: add API to get MTU

Return the rpmsg buffer MTU for sending message, so rpmsg users
can split a long message in several sub rpmsg buffers.

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20211015094701.5732-2-arnaud.pouliquen@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rpmsg/rpmsg_core.c
drivers/rpmsg/rpmsg_internal.h
drivers/rpmsg/virtio_rpmsg_bus.c
include/linux/rpmsg.h