On Fri, Apr 16, 2021 at 11:24 AM Jason Wang wrote:
>
>
> 在 2021/3/31 下午4:05, Xie Yongji 写道:
> > + }
> > + case VDUSE_INJECT_VQ_IRQ:
> > + ret = -EINVAL;
> > + if (arg >= dev->vq_num)
> > + break;
> > +
> > + ret = 0;
> > +
在 2021/3/31 下午4:05, Xie Yongji 写道:
+ }
+ case VDUSE_INJECT_VQ_IRQ:
+ ret = -EINVAL;
+ if (arg >= dev->vq_num)
+ break;
+
+ ret = 0;
+ queue_work(vduse_irq_wq, &dev->vqs[arg].inject);
+ break;
在 2021/4/13 下午12:28, Yongji Xie 写道:
On Tue, Apr 13, 2021 at 11:35 AM Jason Wang wrote:
在 2021/4/12 下午5:59, Yongji Xie 写道:
On Mon, Apr 12, 2021 at 5:37 PM Jason Wang wrote:
在 2021/4/12 下午4:02, Yongji Xie 写道:
On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
在 2021/4/9 下午4:02, Yongji Xie
On Tue, Apr 13, 2021 at 11:35 AM Jason Wang wrote:
>
>
> 在 2021/4/12 下午5:59, Yongji Xie 写道:
> > On Mon, Apr 12, 2021 at 5:37 PM Jason Wang wrote:
> >>
> >> 在 2021/4/12 下午4:02, Yongji Xie 写道:
> >>> On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
> 在 2021/4/9 下午4:02, Yongji Xie 写道:
> >>
在 2021/4/12 下午5:59, Yongji Xie 写道:
On Mon, Apr 12, 2021 at 5:37 PM Jason Wang wrote:
在 2021/4/12 下午4:02, Yongji Xie 写道:
On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
在 2021/4/9 下午4:02, Yongji Xie 写道:
+};
+
+struct vduse_dev_config_data {
+ __u32 offset; /* offset from the beginni
On Mon, Apr 12, 2021 at 5:37 PM Jason Wang wrote:
>
>
> 在 2021/4/12 下午4:02, Yongji Xie 写道:
> > On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
> >>
> >> 在 2021/4/9 下午4:02, Yongji Xie 写道:
> >>> +};
> >>> +
> >>> +struct vduse_dev_config_data {
> >>> + __u32 offset; /* offset
在 2021/4/12 下午4:02, Yongji Xie 写道:
On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
在 2021/4/9 下午4:02, Yongji Xie 写道:
+};
+
+struct vduse_dev_config_data {
+ __u32 offset; /* offset from the beginning of config space */
+ __u32 len; /* the length to read/write */
+ __u8 data[VD
On Mon, Apr 12, 2021 at 3:16 PM Jason Wang wrote:
>
>
> 在 2021/4/9 下午4:02, Yongji Xie 写道:
> > +};
> > +
> > +struct vduse_dev_config_data {
> > + __u32 offset; /* offset from the beginning of config space */
> > + __u32 len; /* the length to read/write */
> > +
在 2021/4/9 下午4:02, Yongji Xie 写道:
+};
+
+struct vduse_dev_config_data {
+ __u32 offset; /* offset from the beginning of config space */
+ __u32 len; /* the length to read/write */
+ __u8 data[VDUSE_CONFIG_DATA_LEN]; /* data buffer used to read/write */
Note that since VDUSE_CONFIG_
On Fri, Apr 9, 2021 at 1:36 PM Jason Wang wrote:
>
>
> 在 2021/4/8 下午5:36, Yongji Xie 写道:
> > On Thu, Apr 8, 2021 at 2:57 PM Jason Wang wrote:
> >>
> >> 在 2021/3/31 下午4:05, Xie Yongji 写道:
> >>> This VDUSE driver enables implementing vDPA devices in userspace.
> >>> Both control path and data path
在 2021/4/8 下午5:36, Yongji Xie 写道:
On Thu, Apr 8, 2021 at 2:57 PM Jason Wang wrote:
在 2021/3/31 下午4:05, Xie Yongji 写道:
This VDUSE driver enables implementing vDPA devices in userspace.
Both control path and data path of vDPA devices will be able to
be handled in userspace.
In the control pa
On Thu, Apr 8, 2021 at 2:57 PM Jason Wang wrote:
>
>
> 在 2021/3/31 下午4:05, Xie Yongji 写道:
> > This VDUSE driver enables implementing vDPA devices in userspace.
> > Both control path and data path of vDPA devices will be able to
> > be handled in userspace.
> >
> > In the control path, the VDUSE dr
在 2021/3/31 下午4:05, Xie Yongji 写道:
This VDUSE driver enables implementing vDPA devices in userspace.
Both control path and data path of vDPA devices will be able to
be handled in userspace.
In the control path, the VDUSE driver will make use of message
mechnism to forward the config operation
This VDUSE driver enables implementing vDPA devices in userspace.
Both control path and data path of vDPA devices will be able to
be handled in userspace.
In the control path, the VDUSE driver will make use of message
mechnism to forward the config operation from vdpa bus driver
to userspace. User
14 matches
Mail list logo