Displaying 8 results from an estimated 8 matches for "max_packet".
Did you mean:
max_packets
2023 Mar 05
1
[PATCH net] virtio-net: unify notifications coalescing structs
...irtnet_info *vi,
struct ethtool_coalesce *ec)
{
struct scatterlist sgs_tx, sgs_rx;
- struct virtio_net_ctrl_coal_tx coal_tx;
- struct virtio_net_ctrl_coal_rx coal_rx;
+ struct virtio_net_ctrl_coal coal_params;
- coal_tx.tx_usecs = cpu_to_le32(ec->tx_coalesce_usecs);
- coal_tx.tx_max_packets = cpu_to_le32(ec->tx_max_coalesced_frames);
- sg_init_one(&sgs_tx, &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(co...
2023 Mar 06
1
[PATCH net] virtio-net: unify notifications coalescing structs
...struct scatterlist sgs_tx, sgs_rx;
> - struct virtio_net_ctrl_coal_tx coal_tx;
> - struct virtio_net_ctrl_coal_rx coal_rx;
> + struct virtio_net_ctrl_coal coal_params;
>
> - coal_tx.tx_usecs = cpu_to_le32(ec->tx_coalesce_usecs);
> - coal_tx.tx_max_packets = cpu_to_le32(ec->tx_max_coalesced_frames);
> - sg_init_one(&sgs_tx, &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_...
2023 Jul 13
1
[PATCH net-next V1 0/4] virtio_net: add per queue interrupt coalescing support
...busy and another virtqueue is idle, then it will be very useful to
> control coalescing parameters at the virtqueue granularity.
series:
Acked-by: Michael S. Tsirkin <mst at redhat.com>
> Example command:
> $ ethtool -Q eth5 queue_mask 0x1 --coalesce tx-packets 10
> Would set max_packets=10 to VQ 1.
> $ ethtool -Q eth5 queue_mask 0x1 --coalesce rx-packets 10
> Would set max_packets=10 to VQ 0.
> $ ethtool -Q eth5 queue_mask 0x1 --show-coalesce
> Queue: 0
> Adaptive RX: off TX: off
> stats-block-usecs: 0
> sample-interval: 0
> pkt-rate-low: 0
> pkt...
2023 Jul 14
1
[PATCH net-next V1 0/4] virtio_net: add per queue interrupt coalescing support
...;
> Acked-by: Michael S. Tsirkin <mst at redhat.com>
Why?
This series has the bug I reported.
Are you thinking that is ok? Or this is not a bug?
Thanks.
>
>
>
> > Example command:
> > $ ethtool -Q eth5 queue_mask 0x1 --coalesce tx-packets 10
> > Would set max_packets=10 to VQ 1.
> > $ ethtool -Q eth5 queue_mask 0x1 --coalesce rx-packets 10
> > Would set max_packets=10 to VQ 0.
> > $ ethtool -Q eth5 queue_mask 0x1 --show-coalesce
> > Queue: 0
> > Adaptive RX: off TX: off
> > stats-block-usecs: 0
> > sample-interval...
2015 Feb 23
1
[PATCH] opus_demo: remove unused but set values
...size = 960*6;
+ int max_frame_size = 48000*2;
int curr_read=0;
int sweep_bps = 0;
int random_framesize=0, newsize=0, delayed_celt=0;
@@ -336,15 +336,12 @@ int main(int argc, char *argv[])
/* defaults: */
use_vbr = 1;
- bandwidth = OPUS_AUTO;
max_payload_bytes = MAX_PACKET;
complexity = 10;
use_inbandfec = 0;
forcechannels = OPUS_AUTO;
use_dtx = 0;
packet_loss_perc = 0;
- max_frame_size = 2*48000;
- curr_read=0;
while( args < argc - 2 ) {
/* process command line options */
--
2.1.4
2016 Jan 07
2
Issue with decoding 8-bit PCM data
...utput is working. Both the 8 and 16 bit files are from the same source and
hence except for some loss of quality on 8 bit, they are identical in total
play back duration.
For both 8 and 16 bit data I have used the following parameters
ui32SamplingRate = 8000
ui32Channel = 1
FRAME_SIZE_IN_MS is 20
MAX_PACKET is 1500
ui8ScaleFactor = 1 for 8-bit and 2 for 16-bit data
ui32BitsPerSample = 8 for 8-bit data and 16 for 16-bit data
The code is as follows
sOpusDec = opus_decoder_create(ui32SamplingRate, ui32Channel, &i32error);
if (i32error != OPUS_OK)
{
return((int)i32error);
}
opus_decoder_ctl...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...OPNOTSUPP;
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index fe405cd38dbc..b46ef45c4d25 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1142,11 +1142,10 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
max_packets = MAX_PACKET(8);
break;
case USB_SPEED_WIRELESS:
xhci_dbg(xhci, "FIXME xHCI doesn't support wireless speeds\n");
return -EINVAL;
- break;
default:
/* Speed was set earlier, this shouldn't happen. */
return -EINVAL;
}
/* Find the root hub port this device i...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...OPNOTSUPP;
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index fe405cd38dbc..b46ef45c4d25 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1142,11 +1142,10 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
max_packets = MAX_PACKET(8);
break;
case USB_SPEED_WIRELESS:
xhci_dbg(xhci, "FIXME xHCI doesn't support wireless speeds\n");
return -EINVAL;
- break;
default:
/* Speed was set earlier, this shouldn't happen. */
return -EINVAL;
}
/* Find the root hub port this device i...