• Alessandro Rubini's avatar
    general: move buffers our of pp_instance, and make them smaller · d93b31c7
    Alessandro Rubini authored
    In order to fit all pp_instance items withing WRS shared memory,
    we need to make them a little smaller.  Thus, the tx and rx buffers
    are now allocated separately.  And, while I am at it, I make them
    smaller, because 128 bytes are more than enough for PTP with
    extensions (all frames are under 100 bytes). Given we are always
    showr of memory in wrpc-sw, this is benefical.
    
    As a side effect, clean up some out-of-memory exit paths, and fix a
    use-before-check buglet in arch-unix (no, we never go out of memory,
    but the check was wrong).
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    d93b31c7
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-sim Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
configs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
scripts Loading commit data...
time-bare Loading commit data...
time-sim Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...