Re: [PATCH 1/3] virtio_ring: always warn when descriptor chain exceeds queue size

2021-03-22 Thread Jason Wang
在 2021/3/22 下午4:17, Michael S. Tsirkin 写道: On Mon, Mar 22, 2021 at 11:22:15AM +0800, Jason Wang wrote: 在 2021/3/18 下午9:52, Connor Kuehl 写道: From section 2.6.5.3.1 (Driver Requirements: Indirect Descriptors) of the virtio spec: "A driver MUST NOT create a descriptor chain longer than

Re: [PATCH 1/3] virtio_ring: always warn when descriptor chain exceeds queue size

2021-03-22 Thread Michael S. Tsirkin
On Mon, Mar 22, 2021 at 11:22:15AM +0800, Jason Wang wrote: > > 在 2021/3/18 下午9:52, Connor Kuehl 写道: > > From section 2.6.5.3.1 (Driver Requirements: Indirect Descriptors) > > of the virtio spec: > > > >"A driver MUST NOT create a descriptor chain longer than the Queue > >Size of the

Re: [PATCH 1/3] virtio_ring: always warn when descriptor chain exceeds queue size

2021-03-21 Thread Jason Wang
在 2021/3/18 下午9:52, Connor Kuehl 写道: From section 2.6.5.3.1 (Driver Requirements: Indirect Descriptors) of the virtio spec: "A driver MUST NOT create a descriptor chain longer than the Queue Size of the device." This text suggests that the warning should trigger even if indirect

[PATCH 1/3] virtio_ring: always warn when descriptor chain exceeds queue size

2021-03-18 Thread Connor Kuehl
>From section 2.6.5.3.1 (Driver Requirements: Indirect Descriptors) of the virtio spec: "A driver MUST NOT create a descriptor chain longer than the Queue Size of the device." This text suggests that the warning should trigger even if indirect descriptors are in use. Reported-by: Stefan