Thread (4 messages) flat view 4 messages, 4 authors, 2012-09-07

RE: changing usbnet's API to better deal with cdc-ncm

From: Alexey ORISHKO <hidden>
Date: 2012-09-07 13:33:22

-----Original Message-----
From: Ming Lei [mailto:tom.leiming@gmail.com]
Sent: Friday, September 07, 2012 2:58 PM
quoted
Several issues need to be improved:
Tx path:
1. IP packets must be accumulated in one NTB. Currently it's done via
data copy.
quoted
Preferred way would be a possibility to have a list of skb-s in
resulting frame sent down.

Looks the copy is inevitable because the buffer length of each skb in
the list is not possible to be max endpoint packet aligned, so one
short packet may terminate the current tx urb transfer.
Zero or short packet shall not be added if resulting NTB is max negotiated size.
It's yet another problem with usbnet, where we had to add some workarounds
to avoid redundant short/zero packets.

Regards,
Alexey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help