vduse: Support specifying bounce buffer size via sysfs
authorXie Yongji <xieyongji@bytedance.com>
Thu, 23 Mar 2023 05:30:43 +0000 (13:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 21 Apr 2023 07:02:32 +0000 (03:02 -0400)
commitb774f93d87e198481680873b22c2a443e10c3f93
tree1f31b126eecb92c1cb4efacb7f6e38dd5992bb58
parentd4438d23eeeef8bb1b3a8abe418abffd60bb544a
vduse: Support specifying bounce buffer size via sysfs

As discussed in [1], this adds sysfs interface to support
specifying bounce buffer size in virtio-vdpa case. It would
be a performance tuning parameter for high throughput workloads.

[1] https://lore.kernel.org/netdev/e8f25a35-9d45-69f9-795d-bdbbb90337a3@redhat.com/

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230323053043.35-12-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_user/vduse_dev.c