summaryrefslogtreecommitdiff
path: root/drivers/vdpa/ifcvf/ifcvf_main.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-08-31 13:36:30 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-09-06 14:20:57 +0300
commit22af48cf91aae5f2fd32fe811d9be1c52d7a801b (patch)
treea6073f9bcdd78790114bf3b4be8aaf35acd46106 /drivers/vdpa/ifcvf/ifcvf_main.c
parentc10fb9454adc80c062151c6a436047e1fa59e99f (diff)
downloadlinux-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