You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/09/06 06:32:19 UTC

[nuttx] 03/06: risc-v/mpfs: ihc: Increase RPMSG buffer size

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit cc5e8222b3ec430bc1ac294d2f6249e022e8d274
Author: Jani Paalijarvi <ja...@unikie.com>
AuthorDate: Wed Nov 30 10:13:50 2022 +0200

    risc-v/mpfs: ihc: Increase RPMSG buffer size
    
    Signed-off-by: Jani Paalijarvi <ja...@unikie.com>
---
 arch/risc-v/src/mpfs/mpfs_ihc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/risc-v/src/mpfs/mpfs_ihc.c b/arch/risc-v/src/mpfs/mpfs_ihc.c
index 00e10beb96..4066240827 100644
--- a/arch/risc-v/src/mpfs/mpfs_ihc.c
+++ b/arch/risc-v/src/mpfs/mpfs_ihc.c
@@ -86,7 +86,7 @@
 #define VRINGS                   0x02        /* Number of vrings          */
 #define VRING_ALIGN              0x1000      /* Vring alignment           */
 #define VRING_NR                 256         /* Number of descriptors     */
-#define VRING_SIZE               512         /* Size of one descriptor    */
+#define VRING_SIZE               612         /* Size of one descriptor    */
 
 #ifndef CONFIG_MPFS_IHC_RPMSG_CH2
 /* This is the RPMSG default channel used with only one RPMSG channel */