[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: enet(4) problem? (Was: NFS client performance problems)
From:       mlelstv () serpens ! de (Michael van Elst)
Date:       2020-12-30 18:06:17
Message-ID: rsifio$hlt$1 () serpens ! de
[Download RAW message or body]

uwe@stderr.spb.ru (Valery Ushakov) writes:

>mlelstv@ pointed out that TXDESC_WRITEOUT and RXDESC_WRITEOUT use
>PREWRITE, not POSTWRITE, which seems suspicious.  Unfortunately
>changing them to POSTWRITE doesn't seem to help.

You probably need both READ and WRITE flags. The buffers are handed
over to the device, modified there, passed back and read by the
CPU. The WRITEOUT macros need both PRE operations, the READIN macros
need both POST operations.


-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic