diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-08-31 13:36:30 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-06 14:20:57 +0300 |
commit | 22af48cf91aae5f2fd32fe811d9be1c52d7a801b (patch) | |
tree | a6073f9bcdd78790114bf3b4be8aaf35acd46106 /drivers/vdpa/ifcvf/ifcvf_main.c | |
parent | c10fb9454adc80c062151c6a436047e1fa59e99f (diff) | |
download | linux-22af48cf91aae5f2fd32fe811d9be1c52d7a801b.tar.xz |
vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap()
The upcoming patch is going to support VA mapping/unmapping.
So let's factor out the logic of PA mapping/unmapping firstly
to make the code more readable.
Suggested-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210831103634.33-10-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/ifcvf/ifcvf_main.c')
0 files changed, 0 insertions, 0 deletions