Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] virtio: add VIRTIO_RING_NO_LEGACY"
2020 Apr 06
0
[PATCH v4 04/12] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2020 Apr 06
0
[PATCH v5 04/12] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2020 Apr 06
0
[PATCH v6 04/12] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2020 Apr 07
0
[PATCH v7 04/19] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2020 Apr 07
0
[PATCH v8 04/19] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2020 Apr 06
0
[PATCH v4 04/12] virtio: add VIRTIO_RING_NO_LEGACY
From: Matej Genci <matej.genci at nutanix.com>
Add macro to disable legacy vring functions.
Signed-off-by: Matej Genci <matej.genci at nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci at nutanix.com
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_pci_modern.c | 1 +
include/uapi/linux/virtio_ring.h | 4 ++++
2
2019 Sep 11
0
[PATCH v2] virtio: add VIRTIO_RING_NO_LEGACY
On Tue, Sep 10, 2019 at 05:53:44PM +0000, Matej Genci wrote:
> Add macro to disable legacy functions vring_init and vring_size.
>
> Signed-off-by: Matej Genci <matej.genci at nutanix.com>
> ---
>
> V2: Put all legacy APIs inside guards.
>
> ---
> include/uapi/linux/virtio_ring.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git
2019 Sep 11
0
[PATCH v2] virtio: add VIRTIO_RING_NO_LEGACY
On Tue, Sep 10, 2019 at 05:53:44PM +0000, Matej Genci wrote:
> Add macro to disable legacy functions vring_init and vring_size.
>
> Signed-off-by: Matej Genci <matej.genci at nutanix.com>
And I guess we should be able to define this macro in
drivers/virtio/virtio_pci_modern.c
?
Will be handy to make sure we don't mask too much.
> ---
>
> V2: Put all legacy APIs
2019 Sep 03
0
[PATCH] virtio: Change typecasts in vring_init()
On Mon, Sep 02, 2019 at 09:56:42AM +0000, Matej Genci wrote:
> On 8/31/2019 6:43 PM, Michael S. Tsirkin wrote:
> > On Fri, Aug 30, 2019 at 05:58:23PM +0000, Matej Genci wrote:
> >> On 8/30/2019 3:02 PM, Michael S. Tsirkin wrote:
> >>> On Tue, Aug 27, 2019 at 03:20:57PM +0000, Matej Genci wrote:
> >>>> Compilers such as g++ 7.3 complain about assigning
2018 Dec 07
1
[RFC 2/3] virtio_ring: add VIRTIO_RING_NO_LEGACY
On Fri, Dec 07, 2018 at 04:48:41PM +0800, Tiwei Bie wrote:
> Introduce VIRTIO_RING_NO_LEGACY to support disabling legacy
> macros and layout definitions.
>
> Suggested-by: Michael S. Tsirkin <mst at redhat.com>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
> VRING_AVAIL_ALIGN_SIZE, VRING_USED_ALIGN_SIZE and VRING_DESC_ALIGN_SIZE
> are not pre-virtio
2018 Dec 07
0
[RFC 2/3] virtio_ring: add VIRTIO_RING_NO_LEGACY
Introduce VIRTIO_RING_NO_LEGACY to support disabling legacy
macros and layout definitions.
Suggested-by: Michael S. Tsirkin <mst at redhat.com>
Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
---
VRING_AVAIL_ALIGN_SIZE, VRING_USED_ALIGN_SIZE and VRING_DESC_ALIGN_SIZE
are not pre-virtio 1.0, but can also be disabled by VIRTIO_RING_NO_LEGACY
in this patch, because their names are not
2020 Sep 08
2
[PATCH] Rescan the entire target on transport reset when LUN is 0
On 28/08/20 14:21, Matej Genci wrote:
> VirtIO 1.0 spec says
> The removed and rescan events ... when sent for LUN 0, they MAY
> apply to the entire target so the driver can ask the initiator
> to rescan the target to detect this.
>
> This change introduces the behaviour described above by scanning the
> entire scsi target when LUN is set to 0. This is both a
2020 Sep 08
2
[PATCH] Rescan the entire target on transport reset when LUN is 0
On 28/08/20 14:21, Matej Genci wrote:
> VirtIO 1.0 spec says
> The removed and rescan events ... when sent for LUN 0, they MAY
> apply to the entire target so the driver can ask the initiator
> to rescan the target to detect this.
>
> This change introduces the behaviour described above by scanning the
> entire scsi target when LUN is set to 0. This is both a
2020 Sep 08
0
[PATCH] Rescan the entire target on transport reset when LUN is 0
On Fri, Aug 28, 2020 at 12:21:35PM +0000, Matej Genci wrote:
> VirtIO 1.0 spec says
> The removed and rescan events ... when sent for LUN 0, they MAY
> apply to the entire target so the driver can ask the initiator
> to rescan the target to detect this.
>
> This change introduces the behaviour described above by scanning the
> entire scsi target when LUN is set to
2020 Sep 08
0
[PATCH] Rescan the entire target on transport reset when LUN is 0
> On Sep 8, 2020, at 3:22 PM, Paolo Bonzini <pbonzini at redhat.com> wrote:
>
> On 28/08/20 14:21, Matej Genci wrote:
>> VirtIO 1.0 spec says
>> The removed and rescan events ... when sent for LUN 0, they MAY
>> apply to the entire target so the driver can ask the initiator
>> to rescan the target to detect this.
>>
>> This change
2014 Nov 27
0
[PATCH v5 07/45] virtio: memory access APIs
virtio 1.0 makes all memory structures LE, so
we need APIs to conditionally do a byteswap on BE
architectures.
To make it easier to check code statically,
add virtio specific types for multi-byte integers
in memory.
Add low level wrappers that do a byteswap conditionally, these will be
useful e.g. for vhost. Add high level wrappers that
query device endian-ness and act accordingly.
2014 Nov 27
0
[PATCH v6 08/46] virtio: memory access APIs
virtio 1.0 makes all memory structures LE, so
we need APIs to conditionally do a byteswap on BE
architectures.
To make it easier to check code statically,
add virtio specific types for multi-byte integers
in memory.
Add low level wrappers that do a byteswap conditionally, these will be
useful e.g. for vhost. Add high level wrappers that
query device endian-ness and act accordingly.
2014 Nov 27
0
[PATCH v5 07/45] virtio: memory access APIs
virtio 1.0 makes all memory structures LE, so
we need APIs to conditionally do a byteswap on BE
architectures.
To make it easier to check code statically,
add virtio specific types for multi-byte integers
in memory.
Add low level wrappers that do a byteswap conditionally, these will be
useful e.g. for vhost. Add high level wrappers that
query device endian-ness and act accordingly.
2014 Nov 27
0
[PATCH v6 08/46] virtio: memory access APIs
virtio 1.0 makes all memory structures LE, so
we need APIs to conditionally do a byteswap on BE
architectures.
To make it easier to check code statically,
add virtio specific types for multi-byte integers
in memory.
Add low level wrappers that do a byteswap conditionally, these will be
useful e.g. for vhost. Add high level wrappers that
query device endian-ness and act accordingly.
2014 Oct 23
0
[PATCH RFC v4 01/17] virtio: memory access APIs
virtio 1.0 makes all memory structures LE, so
we need APIs to conditionally do a byteswap on BE
architectures.
To make it easier to check code statically,
add virtio specific types for multi-byte integers
in memory.
Add low level wrappers that do a byteswap conditionally, these will be
useful e.g. for vhost. Add high level wrappers that will (in the
future) query device endian-ness and act