Alvaro Karsz 699b045a8e net: virtio_net: notifications coalescing support
New VirtIO network feature: VIRTIO_NET_F_NOTF_COAL.

Control a Virtio network device notifications coalescing parameters
using the control virtqueue.

A device that supports this fetature can receive
VIRTIO_NET_CTRL_NOTF_COAL control commands.

- VIRTIO_NET_CTRL_NOTF_COAL_TX_SET:
  Ask the network device to change the following parameters:
  - tx_usecs: Maximum number of usecs to delay a TX notification.
  - tx_max_packets: Maximum number of packets to send before a
    TX notification.

- VIRTIO_NET_CTRL_NOTF_COAL_RX_SET:
  Ask the network device to change the following parameters:
  - rx_usecs: Maximum number of usecs to delay a RX notification.
  - rx_max_packets: Maximum number of packets to receive before a
    RX notification.

VirtIO spec. patch:
https://lists.oasis-open.org/archives/virtio-comment/202206/msg00100.html

Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20220718091102.498774-1-alvaro.karsz@solid-run.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
2022-08-11 04:26:07 -04:00
..
2022-02-21 19:33:05 +00:00
2021-01-25 18:44:44 +01:00
2020-05-28 11:22:14 +02:00
2022-04-19 13:13:47 +01:00
2021-11-01 13:36:08 +00:00
2022-06-03 20:09:27 +08:00
2020-08-12 10:58:00 -07:00
2019-03-07 18:32:01 -08:00
2020-10-09 12:47:02 -06:00
2019-10-09 22:31:14 -04:00
2019-09-25 17:51:39 -07:00
2021-11-26 16:48:59 +01:00
2019-08-02 14:44:02 +10:00
2022-06-03 20:09:27 +08:00
2020-07-19 19:20:22 -07:00
2022-04-04 08:55:23 +02:00
2020-05-14 16:44:25 +02:00
2019-03-27 13:30:07 -07:00
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2020-07-13 15:32:56 -07:00
2020-04-20 12:43:24 -07:00
2022-07-17 07:52:46 -07:00
2022-06-03 20:09:27 +08:00
2021-03-10 09:34:06 +01:00
2020-12-14 11:47:37 -08:00
2020-08-18 15:44:44 +02:00
2021-10-14 23:06:28 +02:00
2022-05-04 22:50:01 +02:00
2021-07-06 10:37:46 -05:00
2022-03-22 13:06:49 -07:00
2019-10-02 20:32:27 -06:00
2019-07-30 20:34:34 +02:00
2020-03-29 22:30:57 -07:00
2021-03-10 09:34:06 +01:00
2021-01-07 16:17:32 +01:00
2019-12-09 09:59:07 +01:00
2020-03-29 23:29:08 +02:00
2022-05-31 12:44:29 -04:00
2019-08-01 21:49:46 +02:00
2021-06-12 13:16:45 -07:00
2020-07-13 15:32:56 -07:00