The following patches put in place the infrastructure to receive a packet
directly into the buffer that will be enqueued for later transmission. This
is implemented for the UDP and Inifiniband drivers.
The Inifiniband implementation is completely untested due to lack of
hardware, so if someone with access to the appropriate hardware could give
it a spin and send me the inevitable stack traces, that would be much
appreciated ;). For everyone else: here be dragons.
The implementation for the UDPU driver should be not unidentical to the UDP
one, so I would prefer to get comments on this before copying the changes
over. The ultimate solution is to split the auth stuff out into a separate
file (I notice there is a TODO entry for this already).
cheers,
Zane.
---
Zane Bitter (4):
Add a new totemsrp_buffer_retain() function
Avoid malloc()s by keeping a list of free packet buffers
Avoid a copy on packet reception in the UDP driver
Avoid copying buffers where possible in the Infiniband driver
exec/Makefile.am | 2
exec/totembuf.c | 212 +++++++++++++++++++++++++++++
exec/totembuf.h | 46 ++++++
exec/totemiba.c | 389 ++++++++++++++++++++++++++++++------------------------
exec/totemiba.h | 2
exec/totemnet.c | 13 ++
exec/totemnet.h | 2
exec/totemrrp.c | 7 +
exec/totemrrp.h | 4 +
exec/totemsrp.c | 11 +-
exec/totemudp.c | 155 ++++++++++++----------
exec/totemudp.h | 2
exec/totemudpu.c | 9 +
exec/totemudpu.h | 2
14 files changed, 608 insertions(+), 248 deletions(-)
create mode 100644 exec/totembuf.c
create mode 100644 exec/totembuf.h
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais