Hello, for one of our applications, we have (unfortunatly) a single ethernet connection for Realtime and Nonrealtime.
We solve this by sending timeslices with RT first, then filling up the remaining space. When stressing the limits (quite possibly beyond if accounting for bugs), the sendmmsg call over a raw socket returns ENOBUFS (even with a single small packet). I was expecting this call to just block until the resouces are available. Timeslices are 1 ms, so that could be around 12Kbyte total or ~190 60Byte packets (theoretical max). What variables are involved (whats the xenomai buffer limits, are they shared or per interface) and choices do I have? - I could send the packages nonblocking and wait or drop the remaining myself - I could deal with ENOBUFS the same way as EAGAIN (is there any difference actually) - I could raise the amount of internal buffer somehow Also while stresstesting I get these messages: [ 5572.044934] hard_start_xmit returned 16 [ 5572.054989] hard_start_xmit returned 16 [ 5572.064007] hard_start_xmit returned 16 [ 5572.067893] hard_start_xmit returned 16 [ 5572.071739] hard_start_xmit returned 16 [ 5572.075586] hard_start_xmit returned 16 [ 5575.096116] hard_start_xmit returned 16 [ 5579.377038] hard_start_xmit returned 16 Kind regards, Norbert ________________________________ This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. ANDRITZ HYDRO GmbH Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation Firmensitz/ Registered seat: Wien Firmenbuchgericht/ Court of registry: Handelsgericht Wien Firmenbuchnummer/ Company registration: FN 61833 g DVR: 0605077 UID-Nr.: ATU14756806 Thank You ________________________________