-
Notifications
You must be signed in to change notification settings - Fork 291
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: Tao Yin <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters