Displaying 14 results from an estimated 14 matches for "virtio_f_ring_coalesce".
2015 Feb 13
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>> coalescing. I can see other devices 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...
2015 Feb 13
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>> coalescing. I can see other devices 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...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...em is that there's nothing network specific about interrupt
coalescing. I can see other devices 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
chang...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...em is that there's nothing network specific about interrupt
coalescing. I can see other devices 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
chang...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ee other devices 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...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ee other devices 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...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ee other devices 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...
2015 Feb 13
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ee other devices 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...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ork specific about interrupt
> coalescing. I can see other devices 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_...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ork specific about interrupt
> coalescing. I can see other devices 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_...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ork specific about interrupt
> coalescing. I can see other devices 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]))
Yes. This looks better and we don't even need device specific
configuration method.
>
> This loses the ability to coa...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ork specific about interrupt
> coalescing. I can see other devices 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]))
Yes. This looks better and we don't even need device specific
configuration method.
>
> This loses the ability to coa...
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