Displaying 3 results from an estimated 3 matches for "virtio_net_ctrl_notf_coal_tx_set".
2023 Mar 05
1
[PATCH net] virtio-net: unify notifications coalescing structs
...coal_tx, sizeof(coal_tx));
+ coal_params.max_usecs = cpu_to_le32(ec->tx_coalesce_usecs);
+ coal_params.max_packets = cpu_to_le32(ec->tx_max_coalesced_frames);
+ sg_init_one(&sgs_tx, &coal_params, sizeof(coal_params));
if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_NOTF_COAL,
VIRTIO_NET_CTRL_NOTF_COAL_TX_SET,
@@ -2899,9 +2898,9 @@ static int virtnet_send_notf_coal_cmds(struct virtnet_info *vi,
vi->tx_usecs = ec->tx_coalesce_usecs;
vi->tx_max_packets = ec->tx_max_coalesced_frames;
- coal_rx.rx_usecs = cpu_to_le32(ec->rx_coalesce_usecs);
- coal_rx.rx_max_packets = cpu_to_le32(ec->...
2023 Mar 06
1
[PATCH net] virtio-net: unify notifications coalescing structs
...>tx_coalesce_usecs);
> + coal_params.max_packets = cpu_to_le32(ec->tx_max_coalesced_frames);
> + sg_init_one(&sgs_tx, &coal_params, sizeof(coal_params));
>
> if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_NOTF_COAL,
> VIRTIO_NET_CTRL_NOTF_COAL_TX_SET,
> @@ -2899,9 +2898,9 @@ static int virtnet_send_notf_coal_cmds(struct virtnet_info *vi,
> vi->tx_usecs = ec->tx_coalesce_usecs;
> vi->tx_max_packets = ec->tx_max_coalesced_frames;
>
> - coal_rx.rx_usecs = cpu_to_le32(ec->rx_coalesce_usecs);
>...
2023 Jun 06
0
[PATCH net] virtio_net: use control_buf for coalesce params
...(ec->tx_coalesce_usecs);
> + vi->ctrl->coal_tx.tx_max_packets = cpu_to_le32(ec->tx_max_coalesced_frames);
> + sg_init_one(&sgs_tx, &vi->ctrl->coal_tx, sizeof(vi->ctrl->coal_tx));
>
> if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_NOTF_COAL,
> VIRTIO_NET_CTRL_NOTF_COAL_TX_SET,
> @@ -2950,9 +2950,9 @@ static int virtnet_send_notf_coal_cmds(struct virtnet_info *vi,
> vi->tx_usecs = ec->tx_coalesce_usecs;
> vi->tx_max_packets = ec->tx_max_coalesced_frames;
>
> - coal_rx.rx_usecs = cpu_to_le32(ec->rx_coalesce_usecs);
> - coal_rx.rx_max...