On 12/11/18 1:39 PM, Kurt Van Dijck wrote: > I'm interested to see how userspace is supposed to used it, and how > different it is from smaller packets. > If it deviates too much, it will probably never be used, I think. Use write()/send()/... as usual. You can send up to ETP max bytes with one call, resulting in a single huge ETP session. However, if you want to have a non blocking transfer, your total message size needs to be smaller than the configured send socket buffer. As noted my other mail, once this all is running we can look how to implement large non blocking transfers. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature