[Xorp-cvs] XORP cvs commit: xorp/libxipc
Andrea Bittau
abittau at icir.org
Tue Sep 23 12:57:55 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-09-23 19:57:55 UTC
XORP CVS repository
Modified files:
libxipc test_xrl_sender.cc test_xrl_sender.hh xrl_pf.hh
xrl_pf_stcp.cc xrl_pf_stcp.hh xrl_pf_stcp_ph.cc
xrl_pf_stcp_ph.hh xrl_router.cc xrl_router.hh
Log message:
Force commit to correct CVS log message. Message /tmp/log.r493 should read:
support for XRL batching across eventloop runs. You can now do:
xrl_router.batch_start("target name");
xrl_router.send()
xrl_router.send()
...
xrl_router.batch_end("target name");
This will batch all the sends in one single writev call. (Note that this is
currently limited to 16 by asyncio.cc's max_coalesce paramter - it should be
increased if there's no real reason for the 16.)
The only caveat in the current implementation is that you must send a "standard"
XRL [not batched] to the target before you can use batching for that target.
I've changed the XRL type field to 1 byte instead of 2. The other byte is now
"flags" and batching is an example of a flag.
Revision Changes Path
1.32 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/test_xrl_sender.cc
1.8 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/test_xrl_sender.hh
1.33 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_pf.hh
1.69 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_pf_stcp.cc
1.33 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_pf_stcp.hh
1.20 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_pf_stcp_ph.cc
1.18 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_pf_stcp_ph.hh
1.67 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_router.cc
1.46 +1 -1; commitid: 1fae48d94a4041a7; xorp/libxipc/xrl_router.hh
More information about the Xorp-cvs
mailing list