search for: vring_used_delay

Displaying 14 results from an estimated 14 matches for "vring_used_delay".

2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...wanting exactly the same thing, which means we'd deprecate this in the next virtio standard. I think the right answer is to extend like we did with vring_used_event(), eg: 1) Add a new feature VIRTIO_F_RING_COALESCE. 2) Add another a 32-bit field after vring_used_event(), eg: #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) This loses the ability to coalesce by number of frames, but we can still do number of sg entries, as we do now with used_event, and we could change virtqueue_enable_cb_delayed() to take a precise number if we wanted. My feeling is that thi...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...wanting exactly the same thing, which means we'd deprecate this in the next virtio standard. I think the right answer is to extend like we did with vring_used_event(), eg: 1) Add a new feature VIRTIO_F_RING_COALESCE. 2) Add another a 32-bit field after vring_used_event(), eg: #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) This loses the ability to coalesce by number of frames, but we can still do number of sg entries, as we do now with used_event, and we could change virtqueue_enable_cb_delayed() to take a precise number if we wanted. My feeling is that thi...
2015 Feb 13
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...this in the next virtio standard. >> >> I think the right answer is to extend like we did with >> vring_used_event(), eg: >> >> 1) Add a new feature VIRTIO_F_RING_COALESCE. >> 2) Add another a 32-bit field after vring_used_event(), eg: >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) >> >> This loses the ability to coalesce by number of frames, but we can still >> do number of sg entries, as we do now with used_event, and we could >> change virtqueue_enable_cb_delayed() to take a precise number i...
2015 Feb 13
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...this in the next virtio standard. >> >> I think the right answer is to extend like we did with >> vring_used_event(), eg: >> >> 1) Add a new feature VIRTIO_F_RING_COALESCE. >> 2) Add another a 32-bit field after vring_used_event(), eg: >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) >> >> This loses the ability to coalesce by number of frames, but we can still >> do number of sg entries, as we do now with used_event, and we could >> change virtqueue_enable_cb_delayed() to take a precise number i...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ich means we'd deprecate this in the next virtio standard. > > I think the right answer is to extend like we did with > vring_used_event(), eg: > > 1) Add a new feature VIRTIO_F_RING_COALESCE. > 2) Add another a 32-bit field after vring_used_event(), eg: > #define vring_used_delay(vr) (*(u32 > *)((vr)->avail->ring[(vr)->num + 2])) Yes. This looks better and we don't even need device specific configuration method. > > This loses the ability to coalesce by number of frames, but we can > still > do number of sg entries, as we do now with used_e...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ich means we'd deprecate this in the next virtio standard. > > I think the right answer is to extend like we did with > vring_used_event(), eg: > > 1) Add a new feature VIRTIO_F_RING_COALESCE. > 2) Add another a 32-bit field after vring_used_event(), eg: > #define vring_used_delay(vr) (*(u32 > *)((vr)->avail->ring[(vr)->num + 2])) Yes. This looks better and we don't even need device specific configuration method. > > This loses the ability to coalesce by number of frames, but we can > still > do number of sg entries, as we do now with used_e...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...> >> > >> I think the right answer is to extend like we did with > >> vring_used_event(), eg: > >> > >> 1) Add a new feature VIRTIO_F_RING_COALESCE. > >> 2) Add another a 32-bit field after vring_used_event(), eg: > >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > >> > >> This loses the ability to coalesce by number of frames, but we can still > >> do number of sg entries, as we do now with used_event, and we could > >> change virtqueue_enable_cb_delayed() to tak...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...> >> > >> I think the right answer is to extend like we did with > >> vring_used_event(), eg: > >> > >> 1) Add a new feature VIRTIO_F_RING_COALESCE. > >> 2) Add another a 32-bit field after vring_used_event(), eg: > >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > >> > >> This loses the ability to coalesce by number of frames, but we can still > >> do number of sg entries, as we do now with used_event, and we could > >> change virtqueue_enable_cb_delayed() to tak...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...> >> > >> I think the right answer is to extend like we did with > >> vring_used_event(), eg: > >> > >> 1) Add a new feature VIRTIO_F_RING_COALESCE. > >> 2) Add another a 32-bit field after vring_used_event(), eg: > >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > >> > >> This loses the ability to coalesce by number of frames, but we can still > >> do number of sg entries, as we do now with used_event, and we could > >> change virtqueue_enable_cb_delayed() to tak...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...> >> > >> I think the right answer is to extend like we did with > >> vring_used_event(), eg: > >> > >> 1) Add a new feature VIRTIO_F_RING_COALESCE. > >> 2) Add another a 32-bit field after vring_used_event(), eg: > >> #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > >> > >> This loses the ability to coalesce by number of frames, but we can still > >> do number of sg entries, as we do now with used_event, and we could > >> change virtqueue_enable_cb_delayed() to tak...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ich means we'd deprecate this in the next virtio standard. > > I think the right answer is to extend like we did with > vring_used_event(), eg: > > 1) Add a new feature VIRTIO_F_RING_COALESCE. > 2) Add another a 32-bit field after vring_used_event(), eg: > #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > > This loses the ability to coalesce by number of frames, but we can still > do number of sg entries, as we do now with used_event, and we could > change virtqueue_enable_cb_delayed() to take a precise number if we > wanted...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ich means we'd deprecate this in the next virtio standard. > > I think the right answer is to extend like we did with > vring_used_event(), eg: > > 1) Add a new feature VIRTIO_F_RING_COALESCE. > 2) Add another a 32-bit field after vring_used_event(), eg: > #define vring_used_delay(vr) (*(u32 *)((vr)->avail->ring[(vr)->num + 2])) > > This loses the ability to coalesce by number of frames, but we can still > do number of sg entries, as we do now with used_event, and we could > change virtqueue_enable_cb_delayed() to take a precise number if we > wanted...
2015 Feb 09
10
[PATCH RFC v5 net-next 0/6] enable tx interrupts for virtio-net
Hi: This is a new version of trying to enable tx interrupts for virtio-net. We used to try to avoid tx interrupts and orphan packets before transmission for virtio-net. This breaks socket accounting and can lead serveral other side effects e.g: - Several other functions which depends on socket accounting can not work correctly (e.g TCP Small Queue) - No tx completion which make BQL or
2015 Feb 09
10
[PATCH RFC v5 net-next 0/6] enable tx interrupts for virtio-net
Hi: This is a new version of trying to enable tx interrupts for virtio-net. We used to try to avoid tx interrupts and orphan packets before transmission for virtio-net. This breaks socket accounting and can lead serveral other side effects e.g: - Several other functions which depends on socket accounting can not work correctly (e.g TCP Small Queue) - No tx completion which make BQL or