diff options
author | Lijian.Zhang <Lijian.Zhang@arm.com> | 2019-08-21 17:51:16 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-09-27 07:15:38 +0000 |
commit | c29681395ae2eff075f9c286ff5c6696a9df9453 (patch) | |
tree | 0f7eeda9c211b3896ebd70b5c8201f387704a6f4 /src/plugins/ct6/ct6.c | |
parent | 2160efbaf11b0675e30fc1f901e116f88c0302f5 (diff) |
tap: fix tap interface not working on Arm issue
The VPP code tries to set all userspace memory in the table via IOCTL
to VHOST_SET_MEM_TABLE. But on aarch64, the userspace address range is
larger (48 bits) than that on x86 (47 bits). Below is an segment from
/proc/[vpp]/maps.
fffb41200000-fffb43a00000 rw-s 00000000 00:0e 532232
/anon_hugepage (deleted)
Instead of setting all userspace memory space to vhost-net, will only set
the address space reserved by pmalloc module during initialization.
Type: fix
Change-Id: I91cb35e990869b42094cf2cd0512593733d33677
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Reviewed-by: Steve Capper <Steve.Capper@arm.com>
(cherry picked from commit ba0da570f264785f6b50eff7829f6653c0924069)
Diffstat (limited to 'src/plugins/ct6/ct6.c')
0 files changed, 0 insertions, 0 deletions