References: From: Jan Kiszka Message-ID: Date: Mon, 17 Sep 2018 07:03:22 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] NRT send/recv with rtpacket List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Edouard Tisserant , "Xenomai (xenomai@xenomai.org)" Hi Edouard, On 15.09.18 15:02, Edouard Tisserant wrote: > Hi all, > > When using EtherLAB-RTDM-Net adapter [1], EtherCAT master directly calls > RTDM RAW socket kernel API to send and receive Ethernet packets. > > Depending on operational state, EtherCAT master can be executed as a > real-time or non-real-time kernel thread. > > RTpacket did not support non-real-time sendmsg and recvmsg. Attached > patches fix this problem. > > 0004-xenomai_allow_nrt_operation_in_rtpacket.patch : >     patch against xenomai-3.0.6 - TESTED OK > > 0001-Add-non-RT-sendmsg-and-recvmsg-in-rtpacket.patch : >     same patch, "git-formated" against stable-3.0.x UNTESTED Can you send the patches as separate emails, inlined (git send-email)? This is not easily reviewable because... > > Regards, > > Edouard > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: 0004-xenomai_allow_nrt_operation_in_rtpacket.patch > Type: text/x-patch > Size: 2388 bytes > Desc: not available > URL: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: 0001-Add-non-RT-sendmsg-and-recvmsg-in-rtpacket.patch > Type: text/x-patch > Size: 2945 bytes > Desc: not available > URL: ...these attachments are not forwarded to the list. Also note that features should first be in next/master before we decide whether pushing them to stable as well is OK (generally, only fixes should go there). Patches should therefore target the next branch. Thanks, Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux