Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmsg_virtio: fix the rpmsg_get_tx/rx_buffer() api
user tx/rx buffer size = orignal tx/rx buffer_size - sizeof(rpmsg_hdr) And use buffer size in config to calculate the user buffer size instead the buffer size from virtqueue, because there may be no buffer in virtqueeu. Signed-off-by: yintao <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
- Loading branch information