realtime pipes
Hello,
it is possible to access a real-time pipe /dev/rtpx within the kernel space of Linux? Since there is no open function?
Is it therefore possible to communicate between the Xenomai Kernel space and the Linux Kernel space?
Best regards
Jan
Quoted 5 lines · Jan-Erik Lange
Hello,
it is possible to access a real-time pipe
/dev/rtpxwithin the kernel space of Linux? Since there is no open function?
Real-time pipes are deprecated.
Quoted 3 lines
Is it therefore possible to communicate between the Xenomai Kernel space and the Linux Kernel space?
As mentioned several time, using anything else in kernel-space than the RTDM API is deprecated. If you are interested in the services the RTDM api offers, see:
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__driverapi.html
For instance, you can see a section named "non-real-time signalling services", which probably answers your question.
Signature · 1 line
Gilles.
A message that is not in the archive (sent off-list or not yet received): [email protected]
From: [email protected]
To: [email protected]
Subject: RE: [Xenomai-core] realtime pipes
Date: Sun, 15 Jan 2012 19:38:01 +0100
Quoted 6 lines
Date: Sun, 15 Jan 2012 18:37:23 +0100
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Xenomai-core] realtime pipes
Quoted 9 lines
Quoted 5 lines · Jan-Erik Lange
Hello,
it is possible to access a real-time pipe
/dev/rtpxwithin the kernel space of Linux? Since there is no open function?Real-time pipes are deprecated.
Are realtime pipes deprecated at all or only in kernel space?
And why is the documentation so obsolete? I didn't heard this information since yet..
Quoted 15 lines
Quoted 3 lines
Is it therefore possible to communicate between the Xenomai Kernel space and the Linux Kernel space?
As mentioned several time, using anything else in kernel-space than the RTDM API is deprecated. If you are interested in the services the RTDM api offers, see:
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__driverapi.html
For instance, you can see a section named "non-real-time signalling services", which probably answers your question.
Signature · 1 line
Gilles.
Hi,
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
2. Would like to understand the reason for deprecating the interface.
Thanks and Rgds,
Mak.
Quoted 1 line · Gilles Chanteperdrix
Real-time pipes are deprecated.
Signature · 7 lines
___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________
Quoted 8 lines · Makarand Pradhan
Hi,
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
Xenomai 3. Xenomai 2.x will keep them forever.
Quoted 2 lines
2. Would like to understand the reason for deprecating the interface.
- Because there is a better socket-based API implemented by the RTIPC driver w/ the XDDP protocol, which does not require running application level code in kernel space (RT_PIPE is definitely an application level API). This new interface is available since Xenomai 2.5.x. It is functionally 100% equivalent to the legacy RT_PIPE API.
- Because no support will be provided in Xenomai 3 for running application level code in kernel space, so RT_PIPE have to go from kernel space. However, RT_PIPE are still part of the user-space API of Xenomai 3, interfacing with XDDP endpoints in kernel space.
I'm really referring to application level code, by contrast to RTDM driver level code which will obviously remain a first-class citizen in kernel space.
See:
o http://www.xenomai.org/index.php/Xenomai:Roadmap
o http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.html
o examples/rtdm/profiles/ipc in the Xenomai distro
Quoted 8 lines
Thanks and Rgds,
Mak.Quoted 1 line · Gilles Chanteperdrix
Real-time pipes are deprecated.
Signature · 1 line
Philippe.
Thanks Philippe.
To ensure that I understand correctly, let me rephrase my understanding.
In 3.0, the rt_pipe_create and friends will cease to exist. We have to start using the sockets with domain AF_RTIPC and protocol IPCPROTO_XDDP instead.
Is that a correct statement?
Rgds,
Mak.
Quoted 45 lines · Philippe Gerum
Quoted 8 lines · Makarand Pradhan
Hi,
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
Xenomai 3. Xenomai 2.x will keep them forever.
Quoted 2 lines
2. Would like to understand the reason for deprecating the interface.
- Because there is a better socket-based API implemented by the RTIPC driver w/ the XDDP protocol, which does not require running application level code in kernel space (
RT_PIPEis definitely an application level API). This new interface is available since Xenomai 2.5.x. It is functionally 100% equivalent to the legacyRT_PIPEAPI.- Because no support will be provided in Xenomai 3 for running application level code in kernel space, so
RT_PIPEhave to go from kernel space. However,RT_PIPEare still part of the user-space API of Xenomai 3, interfacing with XDDP endpoints in kernel space.I'm really referring to application level code, by contrast to RTDM driver level code which will obviously remain a first-class citizen in kernel space.
See:
o http://www.xenomai.org/index.php/Xenomai:Roadmap
o
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.htmlo examples/rtdm/profiles/ipc in the Xenomai distro
Quoted 7 lines
Thanks and Rgds,
Mak.Quoted 1 line · Gilles Chanteperdrix
Real-time pipes are deprecated.
Signature · 7 lines
___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________
Quoted 9 lines · Makarand Pradhan
Thanks Philippe.
To ensure that I understand correctly, let me rephrase my understanding.
In 3.0, the
rt_pipe_createand friends will cease to exist. We have to start using the sockets with domainAF_RTIPCand protocolIPCPROTO_XDDPinstead.Is that a correct statement?
Basically, yes. In addition, X3 will keep the RT_PIPE interface for the -rt endpoint available on the application-side, by wrapping a XDDP socket to a RT_PIPE descriptor under the hood. In kernel space however, the RT_PIPE API to create -rt endpoints won't be available anymore, one will have to create them via the rtdm_socket/rt_dev_socket calls.
In any case, the API for the non-rt side does not change, i.e. POSIX file I/O calls will still be the way to interface with the -rt endpoint.
Quoted 53 lines
Rgds,
Mak.Quoted 46 lines · Philippe Gerum
Quoted 8 lines · Makarand Pradhan
Hi,
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
Xenomai 3. Xenomai 2.x will keep them forever.
Quoted 2 lines
2. Would like to understand the reason for deprecating the interface.
- Because there is a better socket-based API implemented by the RTIPC driver w/ the XDDP protocol, which does not require running application level code in kernel space (
RT_PIPEis definitely an application level API). This new interface is available since Xenomai 2.5.x. It is functionally 100% equivalent to the legacyRT_PIPEAPI.- Because no support will be provided in Xenomai 3 for running application level code in kernel space, so
RT_PIPEhave to go from kernel space. However,RT_PIPEare still part of the user-space API of Xenomai 3, interfacing with XDDP endpoints in kernel space.I'm really referring to application level code, by contrast to RTDM driver level code which will obviously remain a first-class citizen in kernel space.
See:
o http://www.xenomai.org/index.php/Xenomai:Roadmap
o
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.htmlo examples/rtdm/profiles/ipc in the Xenomai distro
Quoted 7 lines
Thanks and Rgds,
Mak.Quoted 1 line · Gilles Chanteperdrix
Real-time pipes are deprecated.
Signature · 1 line
Philippe.
Thanks.
Quoted 69 lines · Philippe Gerum
Quoted 9 lines · Makarand Pradhan
Thanks Philippe.
To ensure that I understand correctly, let me rephrase my understanding.
In 3.0, the
rt_pipe_createand friends will cease to exist. We have to start using the sockets with domainAF_RTIPCand protocolIPCPROTO_XDDPinstead.Is that a correct statement?
Basically, yes. In addition, X3 will keep the
RT_PIPEinterface for the -rt endpoint available on the application-side, by wrapping a XDDP socket to aRT_PIPEdescriptor under the hood. In kernel space however, theRT_PIPEAPI to create -rt endpoints won't be available anymore, one will have to create them via the rtdm_socket/rt_dev_socket calls.In any case, the API for the non-rt side does not change, i.e. POSIX file I/O calls will still be the way to interface with the -rt endpoint.
Quoted 49 lines
Rgds,
Mak.Quoted 44 lines · Philippe Gerum
Quoted 8 lines · Makarand Pradhan
Hi,
"Real-time pipes are deprecated."
We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following.
1. When will the rt pipe interface be removed? Any time frame?
Xenomai 3. Xenomai 2.x will keep them forever.
Quoted 2 lines
2. Would like to understand the reason for deprecating the interface.
- Because there is a better socket-based API implemented by the RTIPC driver w/ the XDDP protocol, which does not require running application level code in kernel space (
RT_PIPEis definitely an application level API). This new interface is available since Xenomai 2.5.x. It is functionally 100% equivalent to the legacyRT_PIPEAPI.- Because no support will be provided in Xenomai 3 for running application level code in kernel space, so
RT_PIPEhave to go from kernel space. However,RT_PIPEare still part of the user-space API of Xenomai 3, interfacing with XDDP endpoints in kernel space.I'm really referring to application level code, by contrast to RTDM driver level code which will obviously remain a first-class citizen in kernel space.
See:
o http://www.xenomai.org/index.php/Xenomai:Roadmap
o
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.htmlo examples/rtdm/profiles/ipc in the Xenomai distro
Quoted 6 lines
Thanks and Rgds,
Mak.Quoted 1 line · Gilles Chanteperdrix
Real-time pipes are deprecated.
Signature · 7 lines
___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________