Change in osmo-e1d[master]: usb: Increase number of transfers from 2 to 4

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Dec 19 16:43:36 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/21807 )


Change subject: usb: Increase number of transfers from 2 to 4
......................................................................

usb: Increase number of transfers from 2 to 4

Experimentally this has shown a much lower probability of
USB related overruns/underruns, at least on my system.

Change-Id: I5c73b29462a4870d3c86fd7f46e1574daae6f93f
---
M src/usb.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/07/21807/1

diff --git a/src/usb.c b/src/usb.c
index 7f7f5c6..be4de44 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -365,8 +365,8 @@
 
 		line = e1_line_new(intf, line_data);
 
-		line_data->flow_in  = e1uf_create(line, e1_usb_xfer_in,  line_data->ep_in,  2, line_data->pkt_size, 4);
-		line_data->flow_out = e1uf_create(line, e1_usb_xfer_out, line_data->ep_out, 2, line_data->pkt_size, 4);
+		line_data->flow_in  = e1uf_create(line, e1_usb_xfer_in,  line_data->ep_in,  4, line_data->pkt_size, 4);
+		line_data->flow_out = e1uf_create(line, e1_usb_xfer_out, line_data->ep_out, 4, line_data->pkt_size, 4);
 		line_data->flow_fb  = e1uf_create(line, e1_usb_xfer_fb,  line_data->ep_fb,  2, 8, 1);
 
 		e1uf_start(line_data->flow_in);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/21807
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I5c73b29462a4870d3c86fd7f46e1574daae6f93f
Gerrit-Change-Number: 21807
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201219/465d6831/attachment.htm>


More information about the gerrit-log mailing list