Displaying 12 results from an estimated 12 matches for "virtio_net_ctrl_coalesce_rx_set".
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...x_coalesced_frames != ec->rx_max_coalesced_frames) {
> + c.coalesce_usecs = ec->rx_coalesce_usecs;
> + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
> + sg_init_one(&sg, &c, sizeof(c));
> + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
> + VIRTIO_NET_CTRL_COALESCE_RX_SET,
> + &sg)) {
> + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
> + return -EINVAL;
> + }
> + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
> + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;
> + }
> +
> + if...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...x_coalesced_frames != ec->rx_max_coalesced_frames) {
> + c.coalesce_usecs = ec->rx_coalesce_usecs;
> + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
> + sg_init_one(&sg, &c, sizeof(c));
> + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
> + VIRTIO_NET_CTRL_COALESCE_RX_SET,
> + &sg)) {
> + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
> + return -EINVAL;
> + }
> + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
> + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;
> + }
> +
> + if...
2015 Feb 09
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ecs ||
+ vi->rx_max_coalesced_frames != ec->rx_max_coalesced_frames) {
+ c.coalesce_usecs = ec->rx_coalesce_usecs;
+ c.max_coalesced_frames = ec->rx_max_coalesced_frames;
+ sg_init_one(&sg, &c, sizeof(c));
+ if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
+ VIRTIO_NET_CTRL_COALESCE_RX_SET,
+ &sg)) {
+ dev_warn(&dev->dev, "Fail to set rx coalescing\n");
+ return -EINVAL;
+ }
+ vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
+ vi->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;
+ }
+
+ if (vi->tx_coalesce_usecs != ec->tx_coales...
2015 Feb 09
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...ecs ||
+ vi->rx_max_coalesced_frames != ec->rx_max_coalesced_frames) {
+ c.coalesce_usecs = ec->rx_coalesce_usecs;
+ c.max_coalesced_frames = ec->rx_max_coalesced_frames;
+ sg_init_one(&sg, &c, sizeof(c));
+ if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
+ VIRTIO_NET_CTRL_COALESCE_RX_SET,
+ &sg)) {
+ dev_warn(&dev->dev, "Fail to set rx coalescing\n");
+ return -EINVAL;
+ }
+ vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
+ vi->rx_max_coalesced_frames = ec->rx_max_coalesced_frames;
+ }
+
+ if (vi->tx_coalesce_usecs != ec->tx_coales...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>rx_max_coalesced_frames) {
> > + c.coalesce_usecs = ec->rx_coalesce_usecs;
> > + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
> > + sg_init_one(&sg, &c, sizeof(c));
> > + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
> > + VIRTIO_NET_CTRL_COALESCE_RX_SET,
> > + &sg)) {
> > + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
> > + return -EINVAL;
> > + }
> > + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
> > + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_fram...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>rx_max_coalesced_frames) {
> > + c.coalesce_usecs = ec->rx_coalesce_usecs;
> > + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
> > + sg_init_one(&sg, &c, sizeof(c));
> > + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
> > + VIRTIO_NET_CTRL_COALESCE_RX_SET,
> > + &sg)) {
> > + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
> > + return -EINVAL;
> > + }
> > + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
> > + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_fram...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>rx_max_coalesced_frames) {
>> + c.coalesce_usecs = ec->rx_coalesce_usecs;
>> + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
>> + sg_init_one(&sg, &c, sizeof(c));
>> + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
>> + VIRTIO_NET_CTRL_COALESCE_RX_SET,
>> + &sg)) {
>> + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
>> + return -EINVAL;
>> + }
>> + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
>> + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_fram...
2015 Feb 10
0
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...>rx_max_coalesced_frames) {
>> + c.coalesce_usecs = ec->rx_coalesce_usecs;
>> + c.max_coalesced_frames = ec->rx_max_coalesced_frames;
>> + sg_init_one(&sg, &c, sizeof(c));
>> + if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_COALESCE,
>> + VIRTIO_NET_CTRL_COALESCE_RX_SET,
>> + &sg)) {
>> + dev_warn(&dev->dev, "Fail to set rx coalescing\n");
>> + return -EINVAL;
>> + }
>> + vi->rx_coalesce_usecs = ec->rx_coalesce_usecs;
>> + vi->rx_max_coalesced_frames = ec->rx_max_coalesced_fram...
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
2014 Dec 01
9
[PATCH RFC v4 net-next 0/5] virtio_net: enabling tx interrupts
Hello:
We used to orphan packets before transmission for virtio-net. This breaks
socket accounting and can lead serveral functions won't work, e.g:
- Byte Queue Limit depends on tx completion nofication to work.
- Packet Generator depends on tx completion nofication for the last
transmitted packet to complete.
- TCP Small Queue depends on proper accounting of sk_wmem_alloc to work.
This
2014 Dec 01
9
[PATCH RFC v4 net-next 0/5] virtio_net: enabling tx interrupts
Hello:
We used to orphan packets before transmission for virtio-net. This breaks
socket accounting and can lead serveral functions won't work, e.g:
- Byte Queue Limit depends on tx completion nofication to work.
- Packet Generator depends on tx completion nofication for the last
transmitted packet to complete.
- TCP Small Queue depends on proper accounting of sk_wmem_alloc to work.
This