Displaying 3 results from an estimated 3 matches for "virtio_net_ctrl_coal_rx".
2023 Mar 05
1
[PATCH net] virtio-net: unify notifications coalescing structs
Unify virtio_net_ctrl_coal_tx and virtio_net_ctrl_coal_rx structs into a
single struct, virtio_net_ctrl_coal, as they are identical.
This patch follows the VirtIO spec patch:
https://lists.oasis-open.org/archives/virtio-comment/202302/msg00431.html
Signed-off-by: Alvaro Karsz <alvaro.karsz at solid-run.com>
---
drivers/net/virtio_net.c | 1...
2023 Mar 06
1
[PATCH net] virtio-net: unify notifications coalescing structs
On Sun, Mar 5, 2023 at 11:49?PM Alvaro Karsz <alvaro.karsz at solid-run.com> wrote:
>
> Unify virtio_net_ctrl_coal_tx and virtio_net_ctrl_coal_rx structs into a
> single struct, virtio_net_ctrl_coal, as they are identical.
>
> This patch follows the VirtIO spec patch:
> https://lists.oasis-open.org/archives/virtio-comment/202302/msg00431.html
>
> Signed-off-by: Alvaro Karsz <alvaro.karsz at solid-run.com>
> ---
>...
2023 Jun 06
0
[PATCH net] virtio_net: use control_buf for coalesce params
...a1d270304..486b5849033d 100644
> --- a/drivers/net/virtio_net.c
> +++ b/drivers/net/virtio_net.c
> @@ -205,6 +205,8 @@ struct control_buf {
> __virtio16 vid;
> __virtio64 offloads;
> struct virtio_net_ctrl_rss rss;
> + struct virtio_net_ctrl_coal_tx coal_tx;
> + struct virtio_net_ctrl_coal_rx coal_rx;
> };
>
> struct virtnet_info {
> @@ -2934,12 +2936,10 @@ static int virtnet_send_notf_coal_cmds(struct virtnet_info *vi,
> struct ethtool_coalesce *ec)
> {
> struct scatterlist sgs_tx, sgs_rx;
> - struct virtio_net_ctrl_coal_tx coal_tx;
> - str...