Commit 7c0b658
committed
rpmsg_virtio: add new virtio feature bit
Introduce new feature bit that allows rpmsg buffer size via virtio
device config space. If the feature is available then, driver will set
single rpmsg buffer size from virtio device config space in the resource
table.
New virtio feature allows to configure rpmsg single buffer size via
virtio device config space. Hence, rx buffer size can be provided by
vdev device config space as well. If BUFSZ feature bit is set, then use
rx buffer size from the virtio config space in the resource table.
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>1 parent 6def535 commit 7c0b658
2 files changed
Lines changed: 35 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
62 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | | - | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
742 | 744 | | |
743 | 745 | | |
744 | 746 | | |
745 | | - | |
| 747 | + | |
| 748 | + | |
746 | 749 | | |
747 | 750 | | |
748 | 751 | | |
| |||
762 | 765 | | |
763 | 766 | | |
764 | 767 | | |
| 768 | + | |
| 769 | + | |
765 | 770 | | |
766 | | - | |
767 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
768 | 784 | | |
769 | 785 | | |
770 | 786 | | |
| |||
830 | 846 | | |
831 | 847 | | |
832 | 848 | | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
833 | 856 | | |
834 | 857 | | |
835 | 858 | | |
| |||
0 commit comments