diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2014-08-24 13:53:58 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-08-26 18:25:53 +0400 |
commit | bb3e68e6dcf266444d52acccfa68ef5cf98d2daf (patch) | |
tree | eba99ce96d4b3033b7be4885bad8dadb158d76ff /DEPENDENCIES | |
parent | c597a6036f3ae7b2d015332b76c4b03ad9dcd0d4 (diff) |
odp_packet_socket: add backwards compatible sendmmsg wrapper
RHEL / CentOS 6.2 and above have sendmmsg kernel support but
no libc support.
Also, it is quite easy to emulate sendmmsg on top of sendmsg.
The following patch provides a sendmmsg wrapper as a weak symbol
that provides both support to call the syscall even if libc support
is missing, as well as an emulation in case no kernel support is
there.
This lets us drop the dependency on kernel version 3.0.
Signed-off-by: Gilad Ben-Yossef <giladb@ezchip.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r-- | DEPENDENCIES | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES index d987782..9597511 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,8 +1,8 @@ Prerequisites for building the OpenDataPlane (ODP) API -1. Linux kernel >= 3.0 +1. Linux kernel >= 2.6.32 - Version 3.0+ needed for the sendmmsg() interface + Earlier versions may or may not work. 2. autotools |